<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>azure file storage Archives - Apostolidis Cloud Corner</title>
	<atom:link href="https://www.cloudcorner.gr/tag/azure-file-storage/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloudcorner.gr/tag/azure-file-storage/</link>
	<description>Remarks from a Cloud Architect encounters</description>
	<lastBuildDate>Tue, 24 Oct 2023 08:40:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.cloudcorner.gr/wp-content/uploads/2021/04/cropped-cloudcorner2-32x32.png</url>
	<title>azure file storage Archives - Apostolidis Cloud Corner</title>
	<link>https://www.cloudcorner.gr/tag/azure-file-storage/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Azure File Sync &#038; DFS Namespace</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-file-sync-dfs-namespace/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-file-sync-dfs-namespace/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 12 Dec 2017 22:53:09 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure file storage]]></category>
		<category><![CDATA[azure file sync]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[dfs]]></category>
		<category><![CDATA[dfs namespace]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=1676</guid>

					<description><![CDATA[<p>Azure File Sync &#38; DFS Namespace Azure File Sync is a new Azure feature, still in preview, that allows to</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-file-sync-dfs-namespace/">Azure File Sync &#038; DFS Namespace</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">Azure File Sync &amp; DFS Namespace</h1>
<p style="text-align: justify;"><a href="https://azure.microsoft.com/en-us/blog/announcing-the-public-preview-for-azure-file-sync/">Azure File Sync</a> is a new Azure feature, still in preview, that allows to sync a folder between your local file server and <a href="https://docs.microsoft.com/en-us/azure/storage/files/storage-files-introduction">Azure Files</a>. This way your files are accessible both locally at your file server and publicly at Azure Files using an SMB 3.0 client. Also the files can be protected online using Azure Backup.</p>
<p style="text-align: justify;">The idea of this post is to have the files of two file servers to sync to Azure Files using Azure File Sync and in addition use the DFS Namespace feature to achieve common name and availability. This is not something officially supported, it is just an idea on using two different technologies to help for a service.</p>
<p style="text-align: justify;">The requirement before starting the Azure File Sync is to create an Azure File share. We have covered this at a previews post, check <a href="https://www.e-apostolidis.gr/microsoft/azure/web-farm-using-iis-azure-file-storage/#azurefiles">here</a></p>
<p style="text-align: justify;">Once the Azure Files share is ready, proceed with the Azure File Sync resource. At the Azure Portal press New and search for it and create it.</p>
<p id="XNcxIMj" style="text-align: justify;"><img fetchpriority="high" decoding="async" class="alignnone wp-image-1677 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a2f052c8a870.png" alt="azure file sync" width="751" height="273" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f052c8a870.png 751w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f052c8a870-300x109.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f052c8a870-600x218.png 600w" sizes="(max-width: 751px) 100vw, 751px" /></p>
<p style="text-align: justify;">At the Deploy Storage Sync blade select a name for the Resource, subscription, resource group and location.</p>
<p id="HjmBQtp" style="text-align: justify;"><img decoding="async" class="alignnone wp-image-1678 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a2f05d05003e.png" alt="afs" width="315" height="317" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f05d05003e.png 315w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f05d05003e-150x150.png 150w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f05d05003e-298x300.png 298w" sizes="(max-width: 315px) 100vw, 315px" /></p>
<p style="text-align: justify;">When the Azure File Sync is ready we need to create a Sync group. Sync group is something like the DFS Replication Group. It is a group that consists of an Azure File Share and many local file servers that syncs a folder.</p>
<p id="kwyEDBU" style="text-align: justify;"><img decoding="async" class="alignnone wp-image-1679 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a2f087513b0b.png" alt="sync group" width="1063" height="123" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f087513b0b.png 1063w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f087513b0b-300x35.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f087513b0b-768x89.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f087513b0b-1024x118.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f087513b0b-600x69.png 600w" sizes="(max-width: 1063px) 100vw, 1063px" /></p>
<p style="text-align: justify;">Press &#8220;+Sync group&#8221; it will open the new &#8220;Sync group&#8221; blade. There provide a name for the Sync group and select the storage account and the Azure File Share created before.</p>
<p id="pIhUQXS" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1684 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a2f9f89521ee.png" alt="sync grfoup" width="568" height="456" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f9f89521ee.png 568w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a2f9f89521ee-300x241.png 300w" sizes="auto, (max-width: 568px) 100vw, 568px" /></p>
<p style="text-align: justify;">The Sharegroup is ready with the cloud endpoint. The next step is to add the first local file server.</p>
<h2 style="text-align: justify;">Register the local servers</h2>
<p style="text-align: justify;">Navigate to <a href="https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-server-registration">https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-server-registration</a> for information on how to download the agent, install it and register the server. After that press &#8220;Add server endpoint&#8221;</p>
<p id="hNLIyvR" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1686 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a304e6c56d65.png" alt="azure file sync" width="1103" height="376" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a304e6c56d65.png 1103w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a304e6c56d65-300x102.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a304e6c56d65-768x262.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a304e6c56d65-1024x349.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a304e6c56d65-600x205.png 600w" sizes="auto, (max-width: 1103px) 100vw, 1103px" /></p>
<p style="text-align: justify;">At the &#8220;Add server endpoint&#8221; blade, select the registered server and add the path to the folder that has the data you want to sync. With Cloud Tiering you select a percent of the volume of the local server. When the capacity of the volume reaches this number then Azure File Share makes the files that are less frequently accessed cloud only. The file icon on the server get transparent and if anyone double clicks the file then it is downloaded instantly.</p>
<p id="YJVRPDl" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1688 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a304fc56f342.png" alt="azure file sync" width="415" height="492" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a304fc56f342.png 415w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a304fc56f342-253x300.png 253w" sizes="auto, (max-width: 415px) 100vw, 415px" /></p>
<p style="text-align: justify;">Register the second server the same way as the first and finally the share group will have two server endpoints. At my example the second server had no data, just the folder, and the Azure File Sync synced all files from server A.</p>
<p id="dAeXUfQ" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1689 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a30586f9e5fd.png" alt="azure file sync" width="985" height="467" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a30586f9e5fd.png 985w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a30586f9e5fd-300x142.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a30586f9e5fd-768x364.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a30586f9e5fd-600x284.png 600w" sizes="auto, (max-width: 985px) 100vw, 985px" /></p>
<h2 style="text-align: justify;">Create a DFS Namespace</h2>
<p style="text-align: justify;">The next step is to create a DFS Namespace, just the namespace with the two local servers. Add the folders of both servers and you are ready.</p>
<p id="UcUdJhU" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1691 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a305a788085a.png" alt="dfs" width="1167" height="577" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305a788085a.png 1167w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305a788085a-300x148.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305a788085a-768x380.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305a788085a-1024x506.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305a788085a-600x297.png 600w" sizes="auto, (max-width: 1167px) 100vw, 1167px" /></p>
<p style="text-align: justify;">Also if you browse the Azure File Share, all files are accessible</p>
<p id="PoZUJWi" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1692 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2017/12/img_5a305adb13710.png" alt="azure files" width="899" height="509" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305adb13710.png 899w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305adb13710-300x170.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305adb13710-768x435.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/12/img_5a305adb13710-600x340.png 600w" sizes="auto, (max-width: 899px) 100vw, 899px" /></p>
<p style="text-align: justify;">Notes from the field</p>
<p style="text-align: justify;">Adding or changing a file at the first server, almost instantly replicates to Azure File Share and to the second server.</p>
<p style="text-align: justify;">Altering a file at both servers instantly it will keep the last accessed by timestamp as is and the other file will be renamed by adding the server name at the file name, as the example &#8220;enaneoarxeio-AzureFS2.txt&#8221; where AzureFS2 is the server name.</p>
<p style="text-align: justify;">You can add an Azure Backup and have a Cloud Backup of all your files.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;&#111;&#120;&#105;&#109;&#097;&#103;r&#064;h&#111;t&#109;a&#105;l.&#099;&#111;m" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-file-sync-dfs-namespace%2F&amp;linkname=Azure%20File%20Sync%20%26%20DFS%20Namespace" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-file-sync-dfs-namespace%2F&amp;linkname=Azure%20File%20Sync%20%26%20DFS%20Namespace" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-file-sync-dfs-namespace%2F&#038;title=Azure%20File%20Sync%20%26%20DFS%20Namespace" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-file-sync-dfs-namespace/" data-a2a-title="Azure File Sync &amp; DFS Namespace"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-file-sync-dfs-namespace/">Azure File Sync &#038; DFS Namespace</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/azure-file-sync-dfs-namespace/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Create Azure File Shares at your ARM template using PowerShell</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/create-azure-file-shares-using-arm-template-powershell/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/create-azure-file-shares-using-arm-template-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Thu, 28 Sep 2017 13:51:43 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[IaC]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure file storage]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[template]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=1499</guid>

					<description><![CDATA[<p>Create Azure File Shares at your ARM template using PowerShell Using Azure Resource Manage template deployment, you can create a</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/create-azure-file-shares-using-arm-template-powershell/">Create Azure File Shares at your ARM template using PowerShell</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Create Azure File Shares at your ARM template using PowerShell</h2>
<p style="text-align: justify;">Using Azure Resource Manage template deployment, you can create a Storage account but you cannot create File Shares. Azure File Shares can be created using the Azure Portal, the Azure PowerShell or the Azure Cli.</p>
<p style="text-align: justify;">Mainly, the idea is to run a PowerShell script that will create the File Shares. This script will be invoked inside the ARM Template. In order to use a PowerShell script from a template, the script must be called from a URL. A good way to provide this is using the Git repository.  One major thing to consider is the Storage Account key must be provided to the PowerShell script securely, since the PowerShell script is at a public URL.</p>
<p style="text-align: justify;">The PowerShell script will run inside a Virtual Machine and we will use a CustomScriptExtension Extension to provide it. To use this, at the Virtual Machine Resource of the JSON file add a resources section.</p>
<p style="text-align: justify;">The Custom Script Exception is located at the Virtual Machine resource. Lets assume that the last part of the Virtual Machine resource is the &#8220;diagnosticsProfile&#8221; so after the closure of the &#8220;diagnosticsProfile&#8221; we can add the &#8220;resources&#8221;. Inside the &#8220;resources&#8221; add the &#8220;extensions&#8221; resource that will add the &#8220;CustomScriptExtension&#8221;, like below.</p>
<h3>The Template Part</h3>
<p>This will be the addition at the Virtual Machine resource:</p>
<pre class="theme:vs2012 lang:asp decode:true"> "diagnosticsProfile": {
          "bootDiagnostics": {
            "enabled": true,
            "storageUri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnosticStorageAccountName')), '2016-01-01').primaryEndpoints.blob)]"
          }
        }
        },
        "resources": [
          {
            "name": "AzureFileShares",
            "type": "extensions",
            "location": "[variables('location')]",
            "apiVersion": "2016-03-30",
            "dependsOn": [
              "[resourceId('Microsoft.Compute/virtualMachines', parameters('VMName'))]",
              "[variables('AzureFilesStorageId')]"
            ],
            "tags": {
              "displayName": "AzureFileShares"
            },
            "properties": {
              "publisher": "Microsoft.Compute",
              "type": "CustomScriptExtension",
              "typeHandlerVersion": "1.4",
              "autoUpgradeMinorVersion": true,
              "settings": {
                "fileUris": [
                  "https://raw.githubusercontent.com/######/#####/master/azurefiles.ps1"
                ]
              },
              "protectedSettings": {
               "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -File ','azurefiles.ps1 -SAName ',parameters('AzureFilesStorageName'),'  -SAKey ', listKeys(resourceId(variables('AzureFilesStorageAccountResourceGroup'),'Microsoft.Storage/storageAccounts', parameters('AzureFilesStorageName')), '2015-06-15').key1)]" 
             }
            }
          }
        ]
    },</pre>
<p style="text-align: justify;">The extension must be depended from the Virtual Machine that will run the script and the Storage Account that will bu used for the file shares.</p>
<p style="text-align: justify;">At the custom script properties add the public RAW url of the PowerShell script.</p>
<p style="text-align: justify;">Next lets see the Storage Account key and execution part. At the connandToExecute section, we will provide a variable that will pass the Storage Account key &amp; Name inside the script for execution. The variable will get the Storage Account key from the Storage Account using the permissions of the Account  running the Template Deployment.</p>
<p style="text-align: justify;">Of course to make the template more flexible I have added a variable for the Resource Group and a parameter for the AzureFilesStorageName, so the template will ask for the Storage Account name at the parameters.</p>
<h3>The PowerShell</h3>
<p>The PowerShell script is tested at Windows Server 2016 VM. You can find it below:</p>
<pre class="lang:ps decode:true ">Param (
  [Parameter()]
  [String]$SAKey,
  [String]$SAName
)
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module Azure -Confirm:$False
Import-Module Azure
$storageContext = New-AzureStorageContext -StorageAccountName $SAName -StorageAccountKey $SourceSAKey
$storageContext |  New-AzureStorageShare -Name #####</pre>
<p>&nbsp;</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:p&#114;ox&#105;&#109;ag&#114;&#064;h&#111;tma&#105;l&#046;c&#111;&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fcreate-azure-file-shares-using-arm-template-powershell%2F&amp;linkname=Create%20Azure%20File%20Shares%20at%20your%20ARM%20template%20using%20PowerShell" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fcreate-azure-file-shares-using-arm-template-powershell%2F&amp;linkname=Create%20Azure%20File%20Shares%20at%20your%20ARM%20template%20using%20PowerShell" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fcreate-azure-file-shares-using-arm-template-powershell%2F&#038;title=Create%20Azure%20File%20Shares%20at%20your%20ARM%20template%20using%20PowerShell" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/create-azure-file-shares-using-arm-template-powershell/" data-a2a-title="Create Azure File Shares at your ARM template using PowerShell"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/create-azure-file-shares-using-arm-template-powershell/">Create Azure File Shares at your ARM template using PowerShell</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/create-azure-file-shares-using-arm-template-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Web Farm using IIS &#038; Azure File storage</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/web-farm-using-iis-azure-file-storage/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/web-farm-using-iis-azure-file-storage/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Wed, 17 May 2017 19:17:21 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[arr]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure file storage]]></category>
		<category><![CDATA[azure load balancer]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[file storage]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[web farm]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1152</guid>

					<description><![CDATA[<p>Azure Web Farm using IIS &#38; Azure File storage This post is my view of a complete guide, from A to</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/web-farm-using-iis-azure-file-storage/">Azure Web Farm using IIS &#038; Azure File storage</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">Azure Web Farm using IIS &amp; Azure File storage</h1>
<p style="text-align: justify;">This post is my view of a complete guide, from A to Z, including both the Windows Server part and the Azure Portal part on how to build a Web Farm using IIS &amp; Azure File storage. Following this guide you will have a functional two server IIS Web Farm using Azure File storage.</p>
<p style="text-align: justify;">To create a Web Server Farm the mail requirement is a high available common storage. I see that when deploying on Azure, a lot of people are using DFSR for common storage. This solution has two major issues, the first is the cost, because you need at least two Windows Servers and second the replication speed that many times doesn&#8217;t cover the web servers needs.</p>
<p style="text-align: justify;">Azure File storage provides a very fast, high available and cheap solution to create a web server farm on Azure.</p>
<p style="text-align: justify;">Azure File storage supports both SMB 2.1 &amp; 3.0 protocol. Every share can be up to 5TB, storing unlimited number of files and each file can be up to 1TB. Of course we can create as many shares as needed up to 500TB that is the Storage Account limit. Also every share provided 1000 IOPS.</p>
<p style="text-align: justify;">For this guide I used one Windows Server 2016 for Domain Controller, two Windows Server 2016 for web servers and one Standard Storage Account for Azure Files. Of course you can create an IIS Web Farm with workgroup server, but I will cover this at an other post.</p>
<p style="text-align: justify;">I will skip the part of creating the Azure VMs, the domain and joining the servers on it, so I assume that there is a domain and the other two servers are member servers of the domain.</p>
<p style="text-align: justify;">Just a note, when creating the Azure VMs that will be part of the IIS Farm remember to add them to the same Availability Set. This will inform the Azure Fabric to have the VMs to different update &amp; fault domains</p>
<p id="EEDIHlg" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1161" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_5919862a0ed9a.png" alt="Availability Set" width="578" height="305" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919862a0ed9a.png 1329w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919862a0ed9a-300x158.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919862a0ed9a-768x406.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919862a0ed9a-1024x541.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919862a0ed9a-660x349.png 660w" sizes="auto, (max-width: 578px) 100vw, 578px" /></p>
<h3 style="text-align: justify;">Step 1. Add the Web Server role</h3>
<p style="text-align: justify;">From the Server Manager, click Add roles and features and add the &#8220;Web Server (IIS)&#8221; role and at the next screen add all the features your app needs.</p>
<p id="ZwZsifQ" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1156" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_59198373d83b3.png" alt="webserver role" width="539" height="454" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198373d83b3.png 860w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198373d83b3-300x253.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198373d83b3-768x647.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198373d83b3-660x556.png 660w" sizes="auto, (max-width: 539px) 100vw, 539px" /></p>
<h3 style="text-align: justify;">Step 2. Add <a href="https://www.iis.net/downloads/microsoft/application-request-routing">Application Request Routing</a></h3>
<p style="text-align: justify;">For more feature and control over the IIS load balance add the Application Request Routing (ARR) using the Web Platform Installer. The Web Platform Installer uses the Internet Explorer engine so I disable the &#8220;IE Enhanced Security Configuration&#8221; just for the installation and then enable it. You can do it from the Server Manager, at the Server section.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/3.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-1157 size-medium" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/3-300x84.jpg" alt="IE ESC" width="300" height="84" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/3-300x84.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/3.jpg 405w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p style="text-align: justify;">Next, open the IIS Manager and at the Actions Panel (on the right) click the &#8220;Get New Web Platform Components&#8221;</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/2.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-1158" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/2.jpg" alt="webplatform" width="276" height="295" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/2.jpg 342w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/2-281x300.jpg 281w" sizes="auto, (max-width: 276px) 100vw, 276px" /></a></p>
<p id="XOZnYkQ" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1173 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b4ea7165d6.png" alt="free download" width="329" height="132" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4ea7165d6.png 329w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4ea7165d6-300x120.png 300w" sizes="auto, (max-width: 329px) 100vw, 329px" /></p>
<p style="text-align: justify;">Search for &#8220;arr&#8221;, and add the Application request routing 3.0</p>
<p id="LEpfeRf" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1174" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b4ef391417.png" alt="arr" width="606" height="330" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4ef391417.png 1086w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4ef391417-300x163.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4ef391417-768x418.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4ef391417-1024x557.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4ef391417-660x359.png 660w" sizes="auto, (max-width: 606px) 100vw, 606px" /></p>
<h3 style="text-align: justify;"><a id="azurefiles"></a>Step 3. Create an Azure Storage Account for Azure File Storage</h3>
<p style="text-align: justify;">To create the Azure File storage shares, go to the Azure Portal, click the + button and create a Standard Storage account (you can just search for storage account)</p>
<p id="pAcDShx" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1164" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591987cb8312a.png" alt="storage account" width="428" height="201" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591987cb8312a.png 709w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591987cb8312a-300x141.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591987cb8312a-660x310.png 660w" sizes="auto, (max-width: 428px) 100vw, 428px" /></p>
<p style="text-align: justify;">Select General purpose and Standard performance (Premium does not support Azure Files)</p>
<p id="neACjas" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1163" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591987a6490d9.png" alt="storage account" width="256" height="467" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591987a6490d9.png 395w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591987a6490d9-164x300.png 164w" sizes="auto, (max-width: 256px) 100vw, 256px" /></p>
<p style="text-align: justify;">once the storage account is created, open it and click the &#8220;Files&#8221; button</p>
<p id="VcneuUT" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1165" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_5919885956a2f.png" alt="azure file storage" width="641" height="336" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919885956a2f.png 1042w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919885956a2f-300x157.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919885956a2f-768x402.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919885956a2f-1024x537.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_5919885956a2f-660x346.png 660w" sizes="auto, (max-width: 641px) 100vw, 641px" /></p>
<p style="text-align: justify;">Click the &#8220;+ File share&#8221; to add a file share</p>
<p id="ItqtUnS" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1166 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_5919889c1ca48.png" alt="azure file storage shares" width="279" height="202" /></p>
<p style="text-align: justify;">Give it a name and quota limit</p>
<p id="eEMREvU" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1167" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591988e4cf615.png" alt="quotas" width="367" height="187" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591988e4cf615.png 597w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591988e4cf615-300x153.png 300w" sizes="auto, (max-width: 367px) 100vw, 367px" /></p>
<p style="text-align: justify;">After clicking OK the share will be created and it will be listed at the shares blade.</p>
<p id="SsUEYDW" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1168" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_59198911a59ed.png" alt="ok" width="627" height="71" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198911a59ed.png 971w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198911a59ed-300x34.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198911a59ed-768x87.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_59198911a59ed-660x75.png 660w" sizes="auto, (max-width: 627px) 100vw, 627px" /></p>
<p style="text-align: justify;">Click on it to get the connection string and then click Connect to get the access key. At this point copy the &#8220;Connecting from Windows&#8221; command. We will use this to mount the share to the web servers.</p>
<p id="Nolrrpx" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1170" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591989ae5f796.png" alt="connection string" width="335" height="481" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591989ae5f796.png 512w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591989ae5f796-209x300.png 209w" sizes="auto, (max-width: 335px) 100vw, 335px" /></p>
<p style="text-align: justify;">Finally click the File Share and at the new blade press &#8220;+Add Directory&#8221; and create two directories, one Configuration and one Data</p>
<p id="oGghxuw" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1177" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b50d40d19b.png" alt="shares" width="337" height="296" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b50d40d19b.png 408w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b50d40d19b-300x263.png 300w" sizes="auto, (max-width: 337px) 100vw, 337px" /></p>
<h3 style="text-align: justify;">Step 4. Configure Windows Firewall &amp; NSG</h3>
<p style="text-align: justify;">Open the port 80 (and nay other requires ports) at the Windows firewall and at the NSGs</p>
<p style="text-align: justify;">for the windows firewall, go to the Servers&#8217;s control panel, Windows Firewall and click &#8220;Advanced Settings&#8221;</p>
<p id="fFxBFbA" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1198 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5da5b1691.png" alt="firewall" width="531" height="306" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5da5b1691.png 531w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5da5b1691-300x173.png 300w" sizes="auto, (max-width: 531px) 100vw, 531px" /></p>
<p style="text-align: justify;">go to the Inbound Rules, add New Rule and select Port</p>
<p id="sBWnlGI" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1199" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5de83ff5d.png" alt="firewall port" width="673" height="249" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5de83ff5d.png 870w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5de83ff5d-300x111.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5de83ff5d-768x284.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5de83ff5d-660x244.png 660w" sizes="auto, (max-width: 673px) 100vw, 673px" /></p>
<p style="text-align: justify;">Select TCP 80 (and any other needed for your application/site)</p>
<p id="lXtXMPz" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1200" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5e1b753db.png" alt="port 80" width="450" height="226" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5e1b753db.png 571w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5e1b753db-300x151.png 300w" sizes="auto, (max-width: 450px) 100vw, 450px" /></p>
<p style="text-align: justify;">Allow the rule for all profiles, provide a name and press finish to create the rule</p>
<p id="PNmejzz" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1201 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5e59d3973.png" alt="http" width="383" height="228" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5e59d3973.png 383w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5e59d3973-300x179.png 300w" sizes="auto, (max-width: 383px) 100vw, 383px" /></p>
<p style="text-align: justify;">For the NSGs , go to the Azure Portal, open the NSGs of the web servers and add an http allow rule like below</p>
<p id="YUGJoLV" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1202" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5ea22f64b.png" alt="nsg" width="868" height="376" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5ea22f64b.png 1409w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5ea22f64b-300x130.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5ea22f64b-768x332.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5ea22f64b-1024x443.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5ea22f64b-660x286.png 660w" sizes="auto, (max-width: 868px) 100vw, 868px" /></p>
<h3 style="text-align: justify;">Step 5. Create the IIS Shared Configuration</h3>
<p style="text-align: justify;">Go back to the first web server, open Computer Manager and add a new user with username and password the same as the connection string of the Azure Files share. You will need this for the IIS Service to access the Azure File storage share.</p>
<p id="UAwRtRJ" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1178" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b529c97218.png" alt="user" width="574" height="381" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b529c97218.png 674w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b529c97218-300x199.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b529c97218-660x438.png 660w" sizes="auto, (max-width: 574px) 100vw, 574px" /></p>
<p style="text-align: justify;">Add the user to the IIS_IUSRS group</p>
<p id="xhLDOUu" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1179 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b535548d11.png" alt="group" width="350" height="184" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b535548d11.png 350w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b535548d11-300x158.png 300w" sizes="auto, (max-width: 350px) 100vw, 350px" /></p>
<p style="text-align: justify;">Then open the IIS Manager and click the &#8220;Shared Configuration&#8221;</p>
<p id="CPNknsx" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1175" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b4f955e85e.png" alt="shared configuration" width="408" height="260" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4f955e85e.png 581w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b4f955e85e-300x191.png 300w" sizes="auto, (max-width: 408px) 100vw, 408px" /></p>
<p style="text-align: justify;">at the Action pane click &#8220;Export Configuration&#8221;</p>
<p id="dQqGRvm" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1180 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b53d251ec6.png" alt="export configuration" width="233" height="178" /></p>
<p style="text-align: justify;">add the Azure File storage Share UNC path and &#8220;Connect As&#8221; using the share&#8217;s credentials</p>
<p id="NXdAjvd" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1181" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b542255744.png" alt="credentials" width="363" height="308" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b542255744.png 478w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b542255744-300x255.png 300w" sizes="auto, (max-width: 363px) 100vw, 363px" /></p>
<p style="text-align: justify;">Enter a complex encryption key and press ok to export the configuration to the Azure File storage &#8220;configuration&#8221; share</p>
<p id="pKbbfVs" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1182" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b55073affc.png" alt="ok" width="358" height="294" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b55073affc.png 485w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b55073affc-300x246.png 300w" sizes="auto, (max-width: 358px) 100vw, 358px" /></p>
<p>EDIT: if you experience issues when trying to export the configuration directly to the shared location try to export the configuration to a local path and then copy the files to the shared location. This Microsoft support article describes the issue: <a href="https://support.microsoft.com/en-us/help/2511835/configuration-files-cannot-be-exported-to-a-dfs-share-through-the-inte">https://support.microsoft.com/en-us/help/2511835/configuration-files-cannot-be-exported-to-a-dfs-share-through-the-inte</a></p>
<p style="text-align: justify;">Now we can enable the Shared Configuration, add the Configuration Share path and the same credentials and click apply.</p>
<p id="KkqTjhI" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1183 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b556dbd9d9.png" alt="shared configuration" width="462" height="335" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b556dbd9d9.png 462w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b556dbd9d9-300x218.png 300w" sizes="auto, (max-width: 462px) 100vw, 462px" /></p>
<p style="text-align: justify;">it will ask for the encryption key and finally the Shared Configuration will be enabled. You will need to restart the IIS Manager console</p>
<p id="vawuasa" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1184" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b558979f19.png" alt="shared configruation" width="461" height="264" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b558979f19.png 678w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b558979f19-300x172.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b558979f19-660x378.png 660w" sizes="auto, (max-width: 461px) 100vw, 461px" /></p>
<p style="text-align: justify;">at this point we can change the path of application pools, ftp applications etc to the Data folder share of the Azure File storage. Just note that you will need to use the UNC path &#8220;\\azurefilesol.file.core.windows.net\iisfarm\Data&#8221; and not any mapped drive.</p>
<p style="text-align: justify;">Repeat the above steps to the second web server. At the Shared Configuration don&#8217;t export the configuration, just enable the Shared Configuration.</p>
<p style="text-align: justify;">Finally we can create the Farm, from the IIS Manager, right click at the &#8220;Server Farms&#8221; and click &#8220;Create Server Farm&#8230;&#8221;</p>
<p id="vMBXhVp" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1186 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b583fc16d3.png" alt="farm" width="325" height="191" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b583fc16d3.png 325w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b583fc16d3-300x176.png 300w" sizes="auto, (max-width: 325px) 100vw, 325px" /></p>
<p style="text-align: justify;">give a farm name,</p>
<p id="LRzpbFu" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1188" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b58ac59870.png" alt="myfarm" width="522" height="396" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b58ac59870.png 650w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b58ac59870-300x228.png 300w" sizes="auto, (max-width: 522px) 100vw, 522px" /></p>
<p style="text-align: justify;">add both servers and press Finish</p>
<p id="ssYaSFx" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1187 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5881715c7.png" alt="" width="525" height="391" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5881715c7.png 665w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5881715c7-300x223.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5881715c7-660x491.png 660w" sizes="auto, (max-width: 525px) 100vw, 525px" /></p>
<p style="text-align: justify;">Press NO at the URL rewrite rule auto creation</p>
<p id="FhsmdOI" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1208" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591c0a193aacf.png" alt="rules" width="502" height="201" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0a193aacf.png 594w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0a193aacf-300x120.png 300w" sizes="auto, (max-width: 502px) 100vw, 502px" /></p>
<p style="text-align: justify;">And the farm is ready</p>
<p id="oQQnPwi" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1191" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b59140676d.png" alt="rules" width="586" height="147" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b59140676d.png 754w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b59140676d-300x75.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b59140676d-660x165.png 660w" sizes="auto, (max-width: 586px) 100vw, 586px" /></p>
<p style="text-align: justify;">as mentioned before, deploy your Web Site, Web Application etc to the Data file share, always using the full UNC path &#8220;\\azurefilesol.file.core.windows.net\iisfarm\Data&#8221;. All the website data will reside at the Azure File storage.</p>
<p style="text-align: justify;">If you need more than 1000 IOPS create more Azure Files storage shares and divine your website/application data.</p>
<p style="text-align: justify;">Run the following command to allow access to the Azure File storage. Change the file://&#8221;path&#8221; as needed</p>
<p style="text-align: justify;">C:\Windows\Microsoft.NET\Framework64\v4.0.30319&gt;caspol -m -ag 1. -url file://azurefilesol.file.core.windows.net/iisfarm/* FullTrust</p>
<p style="text-align: justify;"><strong>Step 5. Azure Load Balancer</strong></p>
<p style="text-align: justify;">Finally, create a Load Balancer to distribute incomming traffic to the farm. For this guide I will create an External Load Balancer, but also an Internal Load Balancer is supported.</p>
<p style="text-align: justify;">First, find and create the Load Balancer from the Azure Portal</p>
<p id="ohTFghU" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1192" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5a9ca72e3.png" alt="load balacner" width="778" height="204" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5a9ca72e3.png 1290w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5a9ca72e3-300x79.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5a9ca72e3-768x201.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5a9ca72e3-1024x268.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5a9ca72e3-660x173.png 660w" sizes="auto, (max-width: 778px) 100vw, 778px" /></p>
<p style="text-align: justify;">provide a name, for external load balancer select Public, select Dynamic or Static IP, resource group, location and press Create</p>
<p id="SrjFXLg" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1193" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5adec0902.png" alt="load balancer" width="302" height="441" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5adec0902.png 382w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5adec0902-205x300.png 205w" sizes="auto, (max-width: 302px) 100vw, 302px" /></p>
<p style="text-align: justify;">Then go to the new load balancer and create a health probe</p>
<p id="khEnLgA" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1194" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5b6432e04.png" alt="load balancer" width="465" height="466" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5b6432e04.png 619w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5b6432e04-150x150.png 150w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5b6432e04-300x300.png 300w" sizes="auto, (max-width: 465px) 100vw, 465px" /></p>
<p style="text-align: justify;">create an http probe</p>
<p id="gkasEvs" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1195" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5b98baab3.png" alt="load balancer" width="213" height="329" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5b98baab3.png 330w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5b98baab3-194x300.png 194w" sizes="auto, (max-width: 213px) 100vw, 213px" /></p>
<p style="text-align: justify;">provide a name, select Availability Set for association and add both the Web Servers</p>
<p id="qDGgirb" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1196" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b5c05bf199.png" alt="load balancer" width="483" height="498" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5c05bf199.png 722w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5c05bf199-291x300.png 291w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b5c05bf199-660x681.png 660w" sizes="auto, (max-width: 483px) 100vw, 483px" /></p>
<p style="text-align: justify;">finally create a load balancing rule to load balance the TCP port 80 at the farm</p>
<p id="tEblDKx" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1204" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591b6071e664b.png" alt="load balancer" width="336" height="667" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b6071e664b.png 412w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591b6071e664b-151x300.png 151w" sizes="auto, (max-width: 336px) 100vw, 336px" /></p>
<p style="text-align: justify;">once the load balance rule is created you can browse the public ip / name of the load balancer</p>
<p id="ABaSkTp" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1211" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591c0ae26f95a.png" alt="load balancer" width="660" height="158" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0ae26f95a.png 1147w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0ae26f95a-300x72.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0ae26f95a-768x184.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0ae26f95a-1024x246.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0ae26f95a-660x158.png 660w" sizes="auto, (max-width: 660px) 100vw, 660px" /></p>
<p style="text-align: justify;">Now, browse to the load balancer&#8217;s IP and you are good to go!</p>
<p id="qzvFShJ"><img loading="lazy" decoding="async" class="alignnone wp-image-1212" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/05/img_591c0b079ade2.png" alt="load balancer" width="720" height="567" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0b079ade2.png 1095w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0b079ade2-300x236.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0b079ade2-768x605.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0b079ade2-1024x807.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/05/img_591c0b079ade2-660x520.png 660w" sizes="auto, (max-width: 720px) 100vw, 720px" /></p>
<p>&nbsp;</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:pr&#111;&#120;ima&#103;r&#064;&#104;o&#116;&#109;&#097;&#105;&#108;&#046;&#099;o&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fweb-farm-using-iis-azure-file-storage%2F&amp;linkname=Azure%20Web%20Farm%20using%20IIS%20%26%20Azure%20File%20storage" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fweb-farm-using-iis-azure-file-storage%2F&amp;linkname=Azure%20Web%20Farm%20using%20IIS%20%26%20Azure%20File%20storage" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fweb-farm-using-iis-azure-file-storage%2F&#038;title=Azure%20Web%20Farm%20using%20IIS%20%26%20Azure%20File%20storage" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/web-farm-using-iis-azure-file-storage/" data-a2a-title="Azure Web Farm using IIS &amp; Azure File storage"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/web-farm-using-iis-azure-file-storage/">Azure Web Farm using IIS &#038; Azure File storage</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/web-farm-using-iis-azure-file-storage/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
