<?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>storage Archives - Apostolidis Cloud Corner</title>
	<atom:link href="https://www.cloudcorner.gr/tag/storage/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloudcorner.gr/tag/storage/</link>
	<description>Remarks from a Cloud Architect encounters</description>
	<lastBuildDate>Fri, 02 Jul 2021 08:26:54 +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>storage Archives - Apostolidis Cloud Corner</title>
	<link>https://www.cloudcorner.gr/tag/storage/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Azure VM &#124; Add Multiple Data Disks v2</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Fri, 02 Jul 2021 08:26:54 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure vm]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[managed disks]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://ge08jfh8ds93sdf.azurewebsites.net/?p=3786</guid>

					<description><![CDATA[<p>This is a new version of my previous script Add multiple managed disks to Azure RM VM Changes: Shows the</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/">Azure VM | Add Multiple Data Disks v2</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is a new version of my previous script <a href="/microsoft/add-multiple-managed-disks-to-azure-rm-vm/">Add multiple managed disks to Azure RM VM</a></p>
<p>Changes:</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Shows the disk capacity of the VM and asks how many disks to add.</li>
<li>Prompts for the size of every disk</li>
<li>Checks for empty Luns to add the disks</li>
</ul>
</li>
</ul>
<pre class="EnlighterJSRAW" data-enlighter-language="powershell"># 1. You need to login to the Azure Rm Account

Login-AzAccount

# 2. The script will query the Subscriptions that the login account has access and will promt the user to select the target Subscription from the drop down list
 
$subscription = Get-AzSubscription | Out-GridView -Title "Select a Subscription" -PassThru
Select-AzSubscription -SubscriptionId $subscription.Id

# 3. The script will query the available VMs and promt to select the target VM from the VM list
 
$vm = Get-AzVM | Out-GridView -Title "Select the Virtual Machine to add Data Disks to" -PassThru

# 4. I set the storage type based on the OS disk. If you want to spesify somehting else you can cahnge this to: $storageType = StandardLRS or PremiumLRS etc.

$storageType = $VM.StorageProfile.OsDisk.ManagedDisk.StorageAccountType

# 5. Enter how many data disks you need to create

$VMdiskCapacity = ($VM.StorageProfile.DataDisks).Capacity
 
$diskquantity = Read-Host "How many disks you need to create? Max Capacity" $VMdiskCapacity "."

# 6. The script will promt for disk size, in GB

$diskSizeList = @()
for($i = 1; $i -le $diskquantity; $i++)
{
    $disk = (Read-Host "Disk " $i " Size")
    $diskSizeList += $disk
}
$diskSizeList

# 7. check for exisiting disks

$existinglun = @()
for($i = 0; $i -lt $VMdiskCapacity; $i++) {
    $existinglun += ($VM.StorageProfile.DataDisks)[$i].Lun
}

# 8. disks creation

for($i = 0; $i -lt $diskquantity; $i++)
{
$diskName = $vm.Name + "-DataDisk-" + $i.ToString()
$diskConfig = New-AzDiskConfig -AccountType $storageType -Location $vm.Location -CreateOption Empty -DiskSizeGB $diskSizeList[$i]
$DataDisk = New-AzDisk -DiskName $diskName -Disk $diskConfig -ResourceGroupName $vm.ResourceGroupName
for ($j = 0; $j -lt $VMdiskCapacity; $j++) {
    if ( $null -eq $existinglun[$j] ) {
        $nextLunIndex
        for ($k = 0; $k -lt $VMdiskCapacity; $k++ ) {
            $nextLunIndex = $k
            for ( $m = 0; $m -lt $VMdiskCapacity; $m++ ) {
                if ( $k -eq $existinglun[$m] ) {
                    $nextLunIndex = -1 
                    break 
                }
            }
            if ($nextLunIndex -ne -1 ) {
                break
            }
        }
        Add-AzVMDataDisk -VM $vm -Name $DiskName -CreateOption Attach -ManagedDiskId $DataDisk.Id -Lun $nextLunIndex
        $existinglun[$j] = $nextLunIndex
        break
    } 
}
}
Update-AzVM -VM $vm -ResourceGroupName $vm.ResourceGroupName</pre>
<p>You can download the script from: <a href="https://github.com/proximagr/automation/blob/master/Add-DataDisks-DIffSize_v3.ps1">https://github.com/proximagr/automation/blob/master/Add-DataDisks-DIffSize_v3.ps1</a></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img 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;&#111;&#120;&#105;&#109;ag&#114;&#064;ho&#116;mail.&#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%2Fazure-vm-add-multiple-data-disks-v2%2F&amp;linkname=Azure%20VM%20%7C%20Add%20Multiple%20Data%20Disks%20v2" 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-vm-add-multiple-data-disks-v2%2F&amp;linkname=Azure%20VM%20%7C%20Add%20Multiple%20Data%20Disks%20v2" 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-vm-add-multiple-data-disks-v2%2F&#038;title=Azure%20VM%20%7C%20Add%20Multiple%20Data%20Disks%20v2" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/" data-a2a-title="Azure VM | Add Multiple Data Disks v2"><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-vm-add-multiple-data-disks-v2/">Azure VM | Add Multiple Data Disks v2</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-vm-add-multiple-data-disks-v2/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Private Link &#124; Private connection to Azure PaaS</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-private-link-private-connection-to-azure-paas/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-private-link-private-connection-to-azure-paas/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 17 Sep 2019 21:36:51 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[azure private link]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[local access]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[paas]]></category>
		<category><![CDATA[private connection]]></category>
		<category><![CDATA[private endpoint]]></category>
		<category><![CDATA[private link]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql database]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[vpn]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=2823</guid>

					<description><![CDATA[<p>Azure Private Link &#124; Private connection to Azure PaaS &#160; Azure Private Link is a new service, currently in Preview,</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-private-link-private-connection-to-azure-paas/">Azure Private Link | Private connection to Azure PaaS</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Azure Private Link | Private connection to Azure PaaS</h1>
<p>&nbsp;</p>
<p>Azure Private Link is a new service, currently in Preview, that provides private connectivity from a virtual network or an on-premises network with Site-2-Site VPN to Azure platform as a service (PaaS) Microsoft services. Azure Private Link makes the networking a lot more simple improving the security and eliminating the need for public access.</p>
<p id="nAIxogs"><img fetchpriority="high" decoding="async" width="838" height="369" class="alignnone size-full wp-image-2844 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d8145c21e8f8.png" alt="" /></p>
<p>&nbsp;</p>
<p><span style="font-size: 12px;">image from: <a href="https://azure.microsoft.com/en-us/services/private-link/">https://azure.microsoft.com/en-us/services/private-link/</a></span></p>
<p>Azure Private Link is a Service mapped to Azure Virtual Networks through a private endpoint. This means that all traffic is routed internally, using private IPs and connectivity, eliminating the exposure to threats. Using Private Link helps an organization to meed the compliance standards.</p>
<p>Azure Private Link is a Global service. It does not have regional restrictions. You can connect privately services from all the Azure Regions around the globe.</p>
<h2>Lets Lab It!</h2>
<p>Let&#8217;s see in practice how we can connect from an Azure VM and from our on-premises computer using VPN to an Azure SQL Database using private IPs. For the Lab I already have a Virtual Machine running Windows Server 2019 and an Azure SQL Database. The SQL Database is not connected to any networks.</p>
<p>Open the Azure Portal, press New and search for &#8220;Private Link&#8221;, select it and press &#8220;Create&#8221;</p>
<p id="wWRgRfz"><img decoding="async" width="1146" height="418" class="alignnone size-full wp-image-2824 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d812bccdb08c.png" alt="" /></p>
<p>A nice &#8220;Getting started page&#8221; will open. Click the &#8220;Build a private connection to a service&#8221;</p>
<p id="YGbIKKC"><img loading="lazy" decoding="async" width="1253" height="769" class="alignnone size-full wp-image-2825 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d812c222bb50.png" alt="" /></p>
<p id="hySxSQb"><img loading="lazy" decoding="async" width="1151" height="172" class="alignnone size-full wp-image-2826 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d812c2e18651.png" alt="" /></p>
<p>The &#8220;Create a private endpoint&#8221; wizard will open. Select a name for the Private Link and a Region and press Next to go to the second step.</p>
<p><code></code></p>
<p id="vCwjsPb"><img loading="lazy" decoding="async" width="847" height="487" class="alignnone size-full wp-image-2832 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d8130185f27f.png" alt="" /></p>
<p>At the second step, select to connect to the azure resource in my directory, and select the subscription where the Azure SQL Database resides. Then select the SQL Server.</p>
<p id="qmxqrJF"><img loading="lazy" decoding="async" width="842" height="466" class="alignnone size-full wp-image-2833 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d81303297eff.png" alt="" /></p>
<p>At the third step, select the VIrtual Network that the Private Link will be created. I selected the network where my Virtual Machine resides. If you don&#8217;t have your own DNS server select Yes to create an Azure private DNS zone.</p>
<p id="nfoqivE"><img loading="lazy" decoding="async" width="854" height="588" class="alignnone size-full wp-image-2835 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d813077e1d38.png" alt="" /></p>
<p>At the final step, review the settings and create the Private Link</p>
<p id="lHsjjBi"><img loading="lazy" decoding="async" width="695" height="772" class="alignnone size-full wp-image-2836 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d81309adc037.png" alt="" /></p>
<p>After the resource creation, you can check the DNS for the Azure SQL Server Private IP Address!</p>
<p id="cSPyGGM"><img loading="lazy" decoding="async" width="925" height="302" class="alignnone size-full wp-image-2837 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d81317ff3814.png" alt="" /></p>
<p>And at the SQL Server, at the &#8220;Private endpoint connections&#8221; section you will see the new Private Link.</p>
<p id="YnyPGra"><img loading="lazy" decoding="async" width="1389" height="645" class="alignnone size-full wp-image-2839 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d8132886dbdc.png" alt="" /></p>
<p>Open a Remote Desktop Connection to the Azure VM, and run a nslookup for the SQL Server name. In my case the command is:</p>
<p>PS C:\&gt; nslookup plsqlsrv.database.windows.net<br />
Server: UnKnown<br />
Address: 168.63.129.16</p>
<p>Non-authoritative answer:<br />
Name: plsqlsrv.privatelink.database.windows.net<br />
Address: 10.0.2.5<br />
Aliases: plsqlsrv.database.windows.net</p>
<p id="zdWsPaP"><img loading="lazy" decoding="async" width="394" height="201" class="alignnone size-full wp-image-2838 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d8131e47f882.png" alt="" /></p>
<p>And it returned the Private IP address of the SQL Server.</p>
<p>From my computer, i tried to connect to the Azure SQL Server, using the name plsqlsrv.database.windows.net and the connection failed since my Public IP Address is not allowed to access the server.</p>
<p id="YMuBmUq"><img loading="lazy" decoding="async" width="564" height="437" class="alignnone size-full wp-image-2840 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d813f72173a6.png" alt="" /></p>
<p>From the Azure VM I managed to connect successfully and of course internally!</p>
<p id="nVbBsVv"><img loading="lazy" decoding="async" width="602" height="462" class="alignnone size-full wp-image-2841 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d813fab7a6a1.png" alt="" /></p>
<p>After that, I added a Virtual Network Gateway to the Network and created a Point to Site VPN connection from my local computer to Azure. You can check my guide on how to do this: <a href="https://www.e-apostolidis.gr/microsoft/azure-start-point-point-to-site-vpn/" target="_blank" rel="noopener noreferrer">https://www.e-apostolidis.gr/microsoft/azure/azure-start-point-point-to-site-vpn/</a></p>
<p>In order to connect to the Azure SQL you need to either use a local DNS server to map the SQl Server name to the Azure SQL IP or add an entry to the local host file for testing.</p>
<p id="VbhUQVD"><img loading="lazy" decoding="async" width="411" height="73" class="alignnone size-full wp-image-2849 " src="https://www.e-apostolidis.gr/wp-content/uploads/2019/09/img_5d8150b51c2d2.png" alt="" /></p>
<h2>Conclusion</h2>
<p>Azure Private Link is in Preview and currently supports Azure SQL Database and Storage accounts. Additional services coming in preview in next 3-6 months:</p>
<ul>
<li>· Cosmos DB</li>
<li>· App Service Vnet Integration + App Service Environment</li>
<li>· Azure Kubernetes Service</li>
<li>· Azure Key Vault</li>
<li>· PostgreSQL</li>
<li>· MySQL</li>
<li>· Maria DB</li>
</ul>
<p>&nbsp;</p>
<p>Source:</p>
<p><a href="https://azure.microsoft.com/en-us/services/private-link/">https://azure.microsoft.com/en-us/services/private-link/</a></p>
<p><a href="https://azure.microsoft.com/en-au/blog/announcing-azure-private-link/">https://azure.microsoft.com/en-au/blog/announcing-azure-private-link/</a></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:p&#114;&#111;&#120;&#105;&#109;&#097;gr&#064;&#104;o&#116;&#109;a&#105;&#108;&#046;&#099;om" 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-private-link-private-connection-to-azure-paas%2F&amp;linkname=Azure%20Private%20Link%20%7C%20Private%20connection%20to%20Azure%20PaaS" 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-private-link-private-connection-to-azure-paas%2F&amp;linkname=Azure%20Private%20Link%20%7C%20Private%20connection%20to%20Azure%20PaaS" 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-private-link-private-connection-to-azure-paas%2F&#038;title=Azure%20Private%20Link%20%7C%20Private%20connection%20to%20Azure%20PaaS" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-private-link-private-connection-to-azure-paas/" data-a2a-title="Azure Private Link | Private connection to Azure PaaS"><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-private-link-private-connection-to-azure-paas/">Azure Private Link | Private connection to Azure PaaS</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-private-link-private-connection-to-azure-paas/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Storage Advanced Thread Protection</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-storage-advanced-thread-protection/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-storage-advanced-thread-protection/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Wed, 10 Oct 2018 15:19:54 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[atp]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure rm]]></category>
		<category><![CDATA[azure security center]]></category>
		<category><![CDATA[security center]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[storage account]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=2211</guid>

					<description><![CDATA[<p>Azure Storage Advanced Thread Protection Azure Storage Advanced Threat Protection is a new security feature, currently in Preview. It monitors</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-storage-advanced-thread-protection/">Azure Storage Advanced Thread Protection</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Azure Storage Advanced Thread Protection</h1>
<p>Azure Storage Advanced Threat Protection is a new security feature, currently in Preview. It monitors the Azure Blob Storage accounts. It detects anomalies and uncommon access to the Storage Account and notifies the admins through email.</p>
<p>All the Azure Storage Advanced Threat Protection monitoring and logs are integrated to the Azure Security Center, including the well known ASC recommendations.</p>
<p>It&#8217;s so easy to enable, just go to the Azure Portal, navigate to your storage account&#8217;s Advanced Threat Protection setting and switch it ON!</p>
<p id="dHDHyIP"><img loading="lazy" decoding="async" width="833" height="323" class="alignnone size-full wp-image-2212 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/10/img_5bb66425ab817.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/10/img_5bb66425ab817.png 833w, https://www.cloudcorner.gr/wp-content/uploads/2018/10/img_5bb66425ab817-300x116.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/10/img_5bb66425ab817-768x298.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/10/img_5bb66425ab817-600x233.png 600w" sizes="auto, (max-width: 833px) 100vw, 833px" /></p>
<p>After that you can view the alerts at the Security Center, under Threat Protection&#8217;s Security Alerts.</p>
<p id="TEteTsS"><img loading="lazy" decoding="async" width="578" height="213" class="alignnone size-full wp-image-2216 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/10/img_5bbe162df0dbc.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/10/img_5bbe162df0dbc.png 578w, https://www.cloudcorner.gr/wp-content/uploads/2018/10/img_5bbe162df0dbc-300x111.png 300w" sizes="auto, (max-width: 578px) 100vw, 578px" /></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:&#112;ro&#120;&#105;&#109;ag&#114;&#064;h&#111;tm&#097;&#105;l&#046;com" 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-storage-advanced-thread-protection%2F&amp;linkname=Azure%20Storage%20Advanced%20Thread%20Protection" 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-storage-advanced-thread-protection%2F&amp;linkname=Azure%20Storage%20Advanced%20Thread%20Protection" 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-storage-advanced-thread-protection%2F&#038;title=Azure%20Storage%20Advanced%20Thread%20Protection" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-storage-advanced-thread-protection/" data-a2a-title="Azure Storage Advanced Thread Protection"><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-storage-advanced-thread-protection/">Azure Storage Advanced Thread Protection</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-storage-advanced-thread-protection/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Storage &#124; Static Web Site</title>
		<link>https://www.cloudcorner.gr/microsoft/azure-storage-static-web-site/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure-storage-static-web-site/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Sun, 08 Jul 2018 12:11:38 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ελληνικά]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[static web site]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[storage account]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=1952</guid>

					<description><![CDATA[<p>Azure Storage &#124; Static Web Site Το Microsoft Azure ανακοίνωσε την δυνατότητα να φιλοξενεί στατικές ιστοσελίδες απευθείας στο Blob Storage,</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure-storage-static-web-site/">Azure Storage | Static Web Site</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 Storage | Static Web Site</h1>
<p style="text-align: justify;">Το Microsoft Azure ανακοίνωσε την δυνατότητα να φιλοξενεί στατικές ιστοσελίδες απευθείας στο Blob Storage, με το κόστος του Blob Storage! Τι σημαίνει αυτό? Για 1 GB χώρο και 100000 views το κόστος είναι περίπου 0,05 ευρώ το μήνα!</p>
<p>Στις στατικές ιστοσελίδες μπορούμε επίσης εκτός από στατικό περιεχόμενο να έχουμε και CLient Side Scripting οπως JavaScript αλλά όχι Server Side Scripting. Επίσης μπορούμε να δώσουμε και μια Custom σελίδα που θα γυρίζει αντί για 404.</p>
<p style="text-align: justify;">Μπορείτε να υπολογίσετε το κόστος με το Azure Prising Calculator Στο link <a href="https://azure.microsoft.com/en-us/pricing/calculator/">https://azure.microsoft.com/en-us/pricing/calculator/</a></p>
<p id="lYqJvOX"><img loading="lazy" decoding="async" width="733" height="377" class="alignnone size-full wp-image-1979 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/07/img_5b4208b49665b.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b4208b49665b.png 733w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b4208b49665b-300x154.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b4208b49665b-600x309.png 600w" sizes="auto, (max-width: 733px) 100vw, 733px" /></p>
<p style="text-align: justify;">Τι χρειαζόμαστε? απλά ένα Storage Account V2.</p>
<p id="thftyOg"><img loading="lazy" decoding="async" width="290" height="460" class="alignnone size-full wp-image-1978 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/07/img_5b42082853329.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b42082853329.png 290w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b42082853329-189x300.png 189w" sizes="auto, (max-width: 290px) 100vw, 290px" /></p>
<p style="text-align: justify;">Μόλις δημιουργηθεί το Storage Account, πρώτα ενεργοποιούμε το Static website από τα Settings του Storage Account. Μόλις πατήσουμε Save θα δημιουργηθεί ένα Virtual Directory με το όνομα $web. Το πατάμε για να μπούμε μέσα στο Blob για να ανεβάσουμε το περιεχόμενο μας. Επίσης σημειώνουμε το Primary endpoint γιατί είναι και το URL του Site μας.</p>
<p id="WjefPbR"><img loading="lazy" decoding="async" width="842" height="405" class="alignnone size-full wp-image-1981 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/07/img_5b420ad1cdcbd.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ad1cdcbd.png 842w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ad1cdcbd-300x144.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ad1cdcbd-768x369.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ad1cdcbd-600x289.png 600w" sizes="auto, (max-width: 842px) 100vw, 842px" /></p>
<p id="pTnmBYi">Για να ανεβάσουμε content στο $web Blob μπορούμε να χρησιμοποιήσουμε τον Storage Explorer</p>
<p id="rucPEXQ"><img loading="lazy" decoding="async" width="1183" height="394" class="alignnone size-full wp-image-1983 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/07/img_5b420c8db6c62.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420c8db6c62.png 1183w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420c8db6c62-300x100.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420c8db6c62-768x256.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420c8db6c62-1024x341.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420c8db6c62-600x200.png 600w" sizes="auto, (max-width: 1183px) 100vw, 1183px" /></p>
<p>και είμαστε έτοιμοι. Κάνουμε Browse στο URL του Static website, στο παρδειγμά μου είναι το https://proximagr.z6.web.core.windows.net/</p>
<p id="vfTrYgm"><img loading="lazy" decoding="async" width="839" height="749" class="alignnone size-full wp-image-1984 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/07/img_5b420ce884e4d.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ce884e4d.png 839w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ce884e4d-300x268.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ce884e4d-768x686.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420ce884e4d-600x536.png 600w" sizes="auto, (max-width: 839px) 100vw, 839px" /></p>
<p>Φυσικά μπορούμε να βάλουμε το δικό μας Domain. Πρώτα φτιάχνουμε ένα CNAME που θα κάνει Point στο Endpoint και μετά πηγαίνουμε στο Custom Domain όπου δίνουμε το CNAME μας.</p>
<p id="lYhdqbN"><img loading="lazy" decoding="async" width="691" height="346" class="alignnone size-full wp-image-1985 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/07/img_5b420e069a35d.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420e069a35d.png 691w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420e069a35d-300x150.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420e069a35d-600x300.png 600w" sizes="auto, (max-width: 691px) 100vw, 691px" /></p>
<p>και το αποτέλεσμα:</p>
<p id="bMlIrLL"><img loading="lazy" decoding="async" width="864" height="516" class="alignnone size-full wp-image-1986 " src="https://www.e-apostolidis.gr/wp-content/uploads/2018/07/img_5b420e5c6a64e.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420e5c6a64e.png 864w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420e5c6a64e-300x179.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420e5c6a64e-768x459.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/07/img_5b420e5c6a64e-600x358.png 600w" sizes="auto, (max-width: 864px) 100vw, 864px" /></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:&#112;ro&#120;&#105;&#109;a&#103;r&#064;h&#111;tma&#105;l&#046;&#099;&#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-storage-static-web-site%2F&amp;linkname=Azure%20Storage%20%7C%20Static%20Web%20Site" 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-storage-static-web-site%2F&amp;linkname=Azure%20Storage%20%7C%20Static%20Web%20Site" 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-storage-static-web-site%2F&#038;title=Azure%20Storage%20%7C%20Static%20Web%20Site" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure-storage-static-web-site/" data-a2a-title="Azure Storage | Static Web Site"><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-storage-static-web-site/">Azure Storage | Static Web Site</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-storage-static-web-site/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Blob Storage&#8230; Recycle Bin!!!!!!!</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-blob-storage-recycle-bin/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-blob-storage-recycle-bin/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 07 May 2018 20:01:22 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure rm]]></category>
		<category><![CDATA[recycle bin]]></category>
		<category><![CDATA[soft delete]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[storage account]]></category>
		<category><![CDATA[undelete]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=1863</guid>

					<description><![CDATA[<p>Azure Blob Storage&#8230; Recycle Bin!!!!!!! Remember all that red alerts when comes to deleting blobs? Ah, forget them! Microsoft Azure</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-blob-storage-recycle-bin/">Azure Blob Storage&#8230; Recycle Bin!!!!!!!</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 Blob Storage&#8230; Recycle Bin!!!!!!!</h1>
<p style="text-align: justify;">Remember all that red alerts when comes to deleting blobs? Ah, forget them! Microsoft Azure brought the Windows Recycle Bin to Azure and named it Soft delete.</p>
<p style="text-align: justify;">The soft delete feature basically is similar to the Windows recycle bin. Deleting a file from the Windows explorer, the Operating System instead of actually removing the file it moves it to the recycle bin. The file stays there and it can be undeleted at any time. The soft delete feature in Microsoft Azure does the same thing for blob storage. When data is deleted or overwritten, the data is not actually gone. Instead, the data is soft deleted, thereby making it recoverable if necessary.</p>
<p style="text-align: justify;">It&#8217;s not enabled by default, but it&#8217;s very easy to enable it. Go to the Storage Account, scroll down to the Blob Service and select &#8220;Soft delete&#8221;. Select the Retention policy and Save, that&#8217;s all!</p>
<p id="ofnpqiF" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1865 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2018/05/img_5af0a7bff150a.png" alt="Soft delete" width="627" height="392" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0a7bff150a.png 627w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0a7bff150a-300x188.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0a7bff150a-600x375.png 600w" sizes="auto, (max-width: 627px) 100vw, 627px" /></p>
<p style="text-align: justify;">Let&#8217;s delete and test. Browse a container and click the &#8220;Show delete blobs&#8221;. The current blob will show as active.</p>
<p id="UsbHamQ" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1866 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2018/05/img_5af0aa531b9a9.png" alt="Soft delete" width="855" height="227" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aa531b9a9.png 855w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aa531b9a9-300x80.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aa531b9a9-768x204.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aa531b9a9-600x159.png 600w" sizes="auto, (max-width: 855px) 100vw, 855px" /></p>
<p style="text-align: justify;">deleting the blob it will change the status to &#8220;deleted&#8221;</p>
<p id="bxeFOSR" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1868 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2018/05/img_5af0aab928d5a.png" alt="Soft delete" width="812" height="230" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aab928d5a.png 812w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aab928d5a-300x85.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aab928d5a-768x218.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0aab928d5a-600x170.png 600w" sizes="auto, (max-width: 812px) 100vw, 812px" /></p>
<p style="text-align: justify;">Click the three little dots and you can undelete, the blob, in Azure!!!</p>
<p id="JeiqXOX" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1869 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2018/05/img_5af0ab41335b0.png" alt="Soft delete" width="797" height="173" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab41335b0.png 797w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab41335b0-300x65.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab41335b0-768x167.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab41335b0-600x130.png 600w" sizes="auto, (max-width: 797px) 100vw, 797px" /></p>
<p style="text-align: justify;">Active again!</p>
<p id="dnTVgEW" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1870 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2018/05/img_5af0ab959e5a9.png" alt="Soft delete" width="802" height="123" srcset="https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab959e5a9.png 802w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab959e5a9-300x46.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab959e5a9-768x118.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2018/05/img_5af0ab959e5a9-600x92.png 600w" sizes="auto, (max-width: 802px) 100vw, 802px" /></p>
<p style="text-align: justify;">Be careful, if you delete the whole container, the storage account or the Azure Subscription there is no return. The Soft delete feature is at blob level inside a container.</p>
<p style="text-align: justify;">For more deltails visit the docs: <a href="https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-soft-delete">https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-soft-delete</a></p>
<p id="cDzsrHD" 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;rox&#105;&#109;agr&#064;&#104;otm&#097;il&#046;c&#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-blob-storage-recycle-bin%2F&amp;linkname=Azure%20Blob%20Storage%E2%80%A6%20Recycle%20Bin%21%21%21%21%21%21%21" 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-blob-storage-recycle-bin%2F&amp;linkname=Azure%20Blob%20Storage%E2%80%A6%20Recycle%20Bin%21%21%21%21%21%21%21" 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-blob-storage-recycle-bin%2F&#038;title=Azure%20Blob%20Storage%E2%80%A6%20Recycle%20Bin%21%21%21%21%21%21%21" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-blob-storage-recycle-bin/" data-a2a-title="Azure Blob Storage… Recycle Bin!!!!!!!"><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-blob-storage-recycle-bin/">Azure Blob Storage&#8230; Recycle Bin!!!!!!!</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-blob-storage-recycle-bin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Add multiple managed disks to Azure RM VM</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Fri, 08 Sep 2017 14:29:54 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[managed disks]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=1484</guid>

					<description><![CDATA[<p>Add multiple managed disks to Azure RM VM In this post I have created a PowerShell script to help add</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/">Add multiple managed disks to Azure RM VM</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Add multiple managed disks to Azure RM VM</h1>
<p>In this post I have created a PowerShell script to help add multiple managed disks to an Azure RM Virtual Machine.</p>
<p>The script to add multiple managed disks will prompt you to login to an Azure RM account, then it will query the subscriptions and ask you to select the desired. After that it will query the available VMs and promt to select the target VM from the VM list.</p>
<p>At this point I am checking the OS disk and define the storage type of the data disk. If we need to change the storage type we can check the comments at step 4. e.g. If the OS disk is Premium and you want Standard data disks.</p>
<p>The next step is to ask for disk size. You can check the sizes and billing here: <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/windows/managed-disks-overview#pricing-and-billing">https://docs.microsoft.com/en-us/azure/virtual-machines/windows/managed-disks-overview#pricing-and-billing</a></p>
<p>Finally it will ask for the number of the disk we need to create. After this input the script will create the disks, attach them to the VM and update it.</p>
<h3>The Script:</h3>
<pre class="lang:ps decode:true "># 1. You need to login to the Azure Rm Account

Login-AzureRmAccount

# 2. The script will query the Subscriptions that the login account has access and will promt the user to select the target Subscription from the drop down list
 
$subscription = Get-AzureRmSubscription | Out-GridView -Title "Select a Subscription" -PassThru
Select-AzureRmSubscription -SubscriptionId $subscription.Id

# 3. The script will query the available VMs and promt to select the target VM from the VM list
 
$vm = Get-AzureRmVM | Out-GridView -Title "Select the Virtual Machine to add Data Disks to" -PassThru

# 4. I set the storage type based on the OS disk. If you want to spesify somehting else you can cahnge this to: $storageType = StandardLRS or PremiumLRS etc.

$storageType = $VM.StorageProfile.OsDisk.ManagedDisk.StorageAccountType

# 5. The script will promt for disk size, in GB

$diskSizeinGB = Read-Host "Enter Size for each Data Disk in GB"

$diskConfig = New-AzureRmDiskConfig -AccountType $storageType -Location $vm.Location -CreateOption Empty -DiskSizeGB $diskSizeinGB

# 6. Enter how many data disks you need to create
 
$diskquantity = Read-Host "How many disks you need to create?"

for($i = 1; $i -le $diskquantity; $i++)
{
$diskName = $vm.Name + "-DataDisk-" + $i.ToString()
$DataDisk = New-AzureRmDisk -DiskName $diskName -Disk $diskConfig -ResourceGroupName $vm.ResourceGroupName
$lun = $i - 1
Add-AzureRmVMDataDisk -VM $vm -Name $DiskName -CreateOption Attach -ManagedDiskId $DataDisk.Id -Lun $lun
}

Update-AzureRmVM -VM $vm -ResourceGroupName $vm.ResourceGroupName</pre>
<p>You can download the script from here: <a href="https://www.e-apostolidis.gr/wp-content/uploads/2017/09/AddManagedDisks.zip">AddManagedDisks</a></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;&#105;&#109;a&#103;&#114;&#064;&#104;&#111;&#116;m&#097;&#105;l.&#099;&#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%2Fadd-multiple-managed-disks-to-azure-rm-vm%2F&amp;linkname=Add%20multiple%20managed%20disks%20to%20Azure%20RM%20VM" 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%2Fadd-multiple-managed-disks-to-azure-rm-vm%2F&amp;linkname=Add%20multiple%20managed%20disks%20to%20Azure%20RM%20VM" 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%2Fadd-multiple-managed-disks-to-azure-rm-vm%2F&#038;title=Add%20multiple%20managed%20disks%20to%20Azure%20RM%20VM" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/" data-a2a-title="Add multiple managed disks to Azure RM VM"><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/add-multiple-managed-disks-to-azure-rm-vm/">Add multiple managed disks to Azure RM VM</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/add-multiple-managed-disks-to-azure-rm-vm/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Managed Disks &#124; Easy Scale, High Available, Secure</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-managed-disks-easy-scale-high-available-secure/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-managed-disks-easy-scale-high-available-secure/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Wed, 07 Jun 2017 20:52:02 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[export vhd]]></category>
		<category><![CDATA[managed disks]]></category>
		<category><![CDATA[snapshot]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[vhd]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1265</guid>

					<description><![CDATA[<p>Azure Managed Disks &#124; Easy Scale, High Available, Secure Azure Managed Disks is almost five months old, start using it,</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-managed-disks-easy-scale-high-available-secure/">Azure Managed Disks | Easy Scale, High Available, Secure</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 Managed Disks | Easy Scale, High Available, Secure</h1>
<p style="text-align: justify;">Azure Managed Disks is almost five months old, start using it, its simple, easy to scale, high available and secure. As Microsoft says, &#8220;Let Azure take care of your disks&#8221;.</p>
<p style="text-align: justify;">The idea is simple, choose the performance tier and the size you want. After that you are free to change your mind! You can change the performance tier (yes, switch between SSD &amp; HDD) and the size just with click.</p>
<p style="text-align: justify;">Lets get it started. First of all we need to enable the managed disks at the VM creation. Specifically at the third step select &#8220;Yes&#8221; at the &#8220;Use managed disks&#8221; setting. After that you don&#8217;t have to wary about storage account, Azure takes care of this.</p>
<p id="lHYgdLN" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1267 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5935be8776f91.png" alt="" width="735" height="436" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935be8776f91.png 772w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935be8776f91-300x178.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935be8776f91-768x456.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935be8776f91-600x356.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935be8776f91-660x392.png 660w" sizes="auto, (max-width: 735px) 100vw, 735px" /></p>
<p style="text-align: justify;">Once the VM is deployed, go to the VM&#8217;s blade and click &#8220;Disks&#8221; and &#8220;+ Add data disk&#8221;</p>
<p id="CUCxfOI" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1270 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5935c10c71c05.png" alt="" width="737" height="331" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c10c71c05.png 1107w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c10c71c05-300x135.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c10c71c05-768x345.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c10c71c05-1024x460.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c10c71c05-600x269.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c10c71c05-660x296.png 660w" sizes="auto, (max-width: 737px) 100vw, 737px" /></p>
<p style="text-align: justify;">After that, the &#8220;Create managed disk&#8221; blade opens and there are some interesting settings to choose. Lets have a closer look.</p>
<p id="LgKBmGW" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1271 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5935c1d6c62f5.png" alt="" width="742" height="427" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c1d6c62f5.png 1053w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c1d6c62f5-300x172.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c1d6c62f5-768x441.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c1d6c62f5-1024x588.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c1d6c62f5-600x345.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c1d6c62f5-660x379.png 660w" sizes="auto, (max-width: 742px) 100vw, 742px" /></p>
<p style="text-align: justify;">First choose a name for the Data Disk, choose a Resource Group and Account type. This is the performance tier, SSD or HDD.</p>
<p style="text-align: justify;">Next, at the Source type drop down menu, we can choose to create an empty disk, by selecting the None. Also, we can select to use a Snapshot that we have already created or a Storage blob to select a disk.</p>
<p id="djtsgND" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone wp-image-1272 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5935c2b02cbe1.png" alt="" width="739" height="52" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c2b02cbe1.png 1008w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c2b02cbe1-300x21.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c2b02cbe1-768x54.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c2b02cbe1-600x42.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c2b02cbe1-660x46.png 660w" sizes="auto, (max-width: 739px) 100vw, 739px" /></p>
<p style="text-align: justify;">After that it is the size. The Managed Disks have specific price, IOPS and price. Type the Size in Gigabytes and see the estimated performance instantly.</p>
<p style="text-align: justify;">You can find the details here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/</p>
<p style="text-align: justify;">Standard Managed Disks:</p>
<p id="oYONYoR"><img loading="lazy" decoding="async" class="alignnone wp-image-1275 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5935c58d2c7e0.png" alt="" width="735" height="99" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c58d2c7e0.png 1483w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c58d2c7e0-300x40.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c58d2c7e0-768x104.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c58d2c7e0-1024x138.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c58d2c7e0-600x81.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c58d2c7e0-660x89.png 660w" sizes="auto, (max-width: 735px) 100vw, 735px" /></p>
<p><span style="font-size: 10px;">All standard managed disks have 500 IOPS and 60MB/sec throughput</span></p>
<p>Premium Managed Disks:</p>
<p id="wrRoRbo"><img loading="lazy" decoding="async" class="alignnone wp-image-1276 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5935c5a165e36.png" alt="" width="730" height="151" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c5a165e36.png 1478w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c5a165e36-300x62.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c5a165e36-768x159.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c5a165e36-1024x212.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c5a165e36-600x124.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c5a165e36-660x137.png 660w" sizes="auto, (max-width: 730px) 100vw, 730px" /></p>
<p>And what happens with the existing VMs that have &#8220;classic&#8221; unmanaged disk? No worries, just a bit of PowerShell and you can convert that to managed disks.</p>
<p>How to do it? First Stop the VM, not just show down, we need to Stop (Deallocate it). Then run just this line of PowerShell code:</p>
<pre class="lang:ps decode:true ">ConvertTo-AzureRmVMManagedDisk -ResourceGroupName rgname -VMName vmname</pre>
<p>Now some magic. SSD to HDD to SSD to HDD and go on!</p>
<p>Lets say you have created a Standard disk, HDD, but now you need performance. Just go to the VM blade, first Stop the VM and then select the &#8220;Disks&#8221; find the disk and change the &#8220;Account type&#8221;</p>
<p id="HdzDryd"><img loading="lazy" decoding="async" class="alignnone wp-image-1277 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5935c9ddef070.png" alt="" width="713" height="408" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c9ddef070.png 912w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c9ddef070-300x172.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c9ddef070-768x440.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c9ddef070-600x343.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5935c9ddef070-660x378.png 660w" sizes="auto, (max-width: 713px) 100vw, 713px" /></p>
<p>Just save, and voila! you have SSD, from 500 IOPS to 5000 IOPS! Any time, you can Stop the VM and change the disk back to Standard (HDD)</p>
<p id="QWOQrTX"><img loading="lazy" decoding="async" class="alignnone wp-image-1279 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_59367e208005a.png" alt="" width="724" height="278" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59367e208005a.png 1289w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59367e208005a-300x115.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59367e208005a-768x295.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59367e208005a-1024x393.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59367e208005a-600x230.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59367e208005a-660x253.png 660w" sizes="auto, (max-width: 724px) 100vw, 724px" /></p>
<h2>Export</h2>
<p>Some more magic? Click &#8220;Export&#8221; at the disk properties, set an expiration time and Generate URL. You need to Stop the VM first.</p>
<p id="AIkGhZO"><img loading="lazy" decoding="async" class="alignnone wp-image-1282 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_593861c6523a3.png" alt="" width="582" height="293" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_593861c6523a3.png 677w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_593861c6523a3-300x151.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_593861c6523a3-600x302.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_593861c6523a3-660x332.png 660w" sizes="auto, (max-width: 582px) 100vw, 582px" /></p>
<p>A PUBLIC URL is generated. You can use it to download the VHD without having to login to the Portal.</p>
<p id="qRpMDmM"><img loading="lazy" decoding="async" class="alignnone wp-image-1283 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_59386208a94df.png" alt="" width="694" height="150" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386208a94df.png 1195w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386208a94df-300x65.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386208a94df-768x166.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386208a94df-1024x221.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386208a94df-600x130.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386208a94df-660x142.png 660w" sizes="auto, (max-width: 694px) 100vw, 694px" /></p>
<h2>Create snapshot</h2>
<p>At the disk properties click &#8220;Crete snapshot&#8221;</p>
<p id="mnhmTRz"><img loading="lazy" decoding="async" class="alignnone wp-image-1285 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5938635086f51.png" alt="" width="593" height="172" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5938635086f51.png 634w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5938635086f51-300x87.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5938635086f51-600x174.png 600w" sizes="auto, (max-width: 593px) 100vw, 593px" /></p>
<p>Enter a Name, select Resource group and Account type</p>
<p id="cVttWTU"><img loading="lazy" decoding="async" class="alignnone wp-image-1286 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_5938639b0ffd7.png" alt="" width="630" height="413" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5938639b0ffd7.png 726w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5938639b0ffd7-300x197.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5938639b0ffd7-600x393.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_5938639b0ffd7-660x433.png 660w" sizes="auto, (max-width: 630px) 100vw, 630px" /></p>
<p>Now, under the Resources of the Resource Group you will find the Snapshot</p>
<p id="lEocvYX"><img loading="lazy" decoding="async" class="alignnone wp-image-1287 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_59386471e209c.png" alt="" width="652" height="79" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386471e209c.png 891w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386471e209c-300x36.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386471e209c-768x93.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386471e209c-600x73.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_59386471e209c-660x80.png 660w" sizes="auto, (max-width: 652px) 100vw, 652px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2></h2>
<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;ma&#103;r&#064;&#104;o&#116;&#109;&#097;i&#108;&#046;co&#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%2Fazure-managed-disks-easy-scale-high-available-secure%2F&amp;linkname=Azure%20Managed%20Disks%20%7C%20Easy%20Scale%2C%20High%20Available%2C%20Secure" 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-managed-disks-easy-scale-high-available-secure%2F&amp;linkname=Azure%20Managed%20Disks%20%7C%20Easy%20Scale%2C%20High%20Available%2C%20Secure" 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-managed-disks-easy-scale-high-available-secure%2F&#038;title=Azure%20Managed%20Disks%20%7C%20Easy%20Scale%2C%20High%20Available%2C%20Secure" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-managed-disks-easy-scale-high-available-secure/" data-a2a-title="Azure Managed Disks | Easy Scale, High Available, Secure"><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-managed-disks-easy-scale-high-available-secure/">Azure Managed Disks | Easy Scale, High Available, Secure</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-managed-disks-easy-scale-high-available-secure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Microsoft SQL 2012 on Failover Cluster</title>
		<link>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/</link>
					<comments>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 22:30:52 +0000</pubDate>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ελληνικά]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[storage]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=894</guid>

					<description><![CDATA[<p>SQL Failover Cluster with AlwaysOn Availability Groups Αυτό είναι το δεύτερο Post της τριλογίας SQL Failover Cluster with AlwaysOn Availability Groups.</p>
<p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">SQL Failover Cluster with AlwaysOn Availability Groups</h1>
<p style="text-align: justify;">Αυτό είναι το δεύτερο Post της τριλογίας SQL Failover Cluster with AlwaysOn Availability Groups. Είναι η ώρα της SQL.</p>
<ol style="text-align: justify;">
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3</a></li>
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a></li>
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/">Add AlwaysOn AG to SQL Failover Cluster Instance</a></li>
</ol>
<h1 style="text-align: justify;">Microsoft SQL 2012 on Failover Cluster</h1>
<p style="text-align: justify;">Για το lab θα χρησιμοποιήσω τον Domain Administrator, αλλά δεν ενδείκνυται για παραγωγικό περιβάλλον!!!</p>
<p style="text-align: justify;">Βάζουμε το ISO της SQL 2012 SP2 και ξεκινάμε με “new SQL server failover cluster installation”</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-17.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-862" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-17.jpg" alt="SQLlab (17)" width="622" height="161" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-17.jpg 622w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-17-300x78.jpg 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /></a></p>
<p style="text-align: justify;">Αφού περάσει τα checks δίνουμε key, για το lab φυσικά επέλεξα evaluation,  και φτιάχνουμε στο install για να ξεκινήσουμε την εγκατάσταση.</p>
<p style="text-align: justify;">Αγνοούμε επιδεικτικά το MSDTC error (ήδη από τον 2008) και αν δεν έχουμε errors προχωράμε. Επιλέγουμε το SQL Feature installation και μετά επιλέγουμε μόνο Database Engine Services με τις υποκατηγορίες και το management tools</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-18.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-863" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-18.jpg" alt="SQLlab (18)" width="309" height="324" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-18.jpg 309w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-18-286x300.jpg 286w" sizes="auto, (max-width: 309px) 100vw, 309px" /></a></p>
<p style="text-align: justify;">Δίνουμε network name για το SQL Cluster και προχωράμε</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-19.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-864" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-19.jpg" alt="SQLlab (19)" width="805" height="602" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-19.jpg 805w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-19-300x224.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-19-624x467.jpg 624w" sizes="auto, (max-width: 805px) 100vw, 805px" /></a></p>
<p style="text-align: justify;">Δίνουμε όνομα για το cluster resource group ή αφήνουμε το default (όπως έκανα κι εγώ για το lab)</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-20.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-865" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-20.jpg" alt="SQLlab (20)" width="808" height="609" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-20.jpg 808w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-20-300x226.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-20-624x470.jpg 624w" sizes="auto, (max-width: 808px) 100vw, 808px" /></a></p>
<p style="text-align: justify;">Στο επόμενο βήμα μας ενημερώνει ότι δεν υπάρχει διαθέσιμος δίσκος για το SQL Cluster Disk, μιας και ο υπάρχον έγινε Cluster Quorum, οπότε πάμε να δώσουμε έναν ακόμη δίσκο στα Cluster Resources.</p>
<p style="text-align: justify;">Προσθέτουμε έναν ακόμα δίσκο στο FreeNAS μιας και ένας θα χρειαστεί για το Cluster Quorum και ο άλλος για SQL Cluster Disk. Αφού το δώσουμε στο VM πηγαίνουμε στο web interface του FreeNAS και πάμε στο Storage/Volume manager, διαλέγουμε τον δίσκο δίνουμε όνομα, έδωσα sql, και πατάμε add volume</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab2.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-895" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab2.jpg" alt="sqllab2" width="405" height="436" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab2.jpg 405w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab2-279x300.jpg 279w" sizes="auto, (max-width: 405px) 100vw, 405px" /></a></p>
<p style="text-align: justify;">Μετά πάμε στο view volumes, επιλέγουμε το sql και πατάμε το create zvol κουμπί, όπως φαίνεται και στην εικόνα</p>
<p style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-866" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-21.jpg" alt="SQLlab (21)" width="466" height="518" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-21.jpg 466w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-21-270x300.jpg 270w" sizes="auto, (max-width: 466px) 100vw, 466px" /></p>
<p style="text-align: justify;">Δίνουμε όνομα και size και πατάμε Add zvol</p>
<p style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-867" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-22.jpg" alt="SQLlab (22)" width="375" height="301" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-22.jpg 375w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-22-300x241.jpg 300w" sizes="auto, (max-width: 375px) 100vw, 375px" /></p>
<p style="text-align: justify;">Μετά πάμε στο Sharing/ISCSI/extents και πατάμε add extent, δίνουμε όνομα, επιλέγουμε device το zvol που φτιάξαμε, διαλέγουμε Logical Block Size, για SQL DBs ενδείκνυται το 512, και πατάμε ok</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-23.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-868" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-23.jpg" alt="SQLlab (23)" width="487" height="480" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-23.jpg 487w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-23-300x296.jpg 300w" sizes="auto, (max-width: 487px) 100vw, 487px" /></a></p>
<p style="text-align: justify;">Τέλος πάμε στο associated targets, πατάμε add target/extent και προσθέτουμε τον extent που φτιάξαμε.<br />
Τώρα αν πάμε στους servers στο disk management και κάνουμε refresh τους δίσκους βλέπουμε τον νέο δίσκο και τον κάνουμε online, initiate και format, μόνο προσοχή να δώσετε allocation unit 512 για να συμβαδίζει με του FreeNAS αλλιώς η SQL θα γκρινιάξει.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-24.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-869" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-24.jpg" alt="SQLlab (24)" width="390" height="306" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-24.jpg 390w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-24-300x235.jpg 300w" sizes="auto, (max-width: 390px) 100vw, 390px" /></a></p>
<p style="text-align: justify;">Ανοίγουμε το Failover Cluster Manager/Storage/Disks και πατάμε add Disk και προσθέτουμε τον νέο δίσκο.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-25.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-870" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-25.jpg" alt="SQLlab (25)" width="964" height="388" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-25.jpg 964w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-25-300x121.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-25-624x251.jpg 624w" sizes="auto, (max-width: 964px) 100vw, 964px" /></a></p>
<p style="text-align: justify;">Και έχουμε έναν διαθέσιμο δίσκο στο Cluster μας</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-26.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-871" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-26.jpg" alt="SQLlab (26)" width="825" height="267" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-26.jpg 825w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-26-300x97.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-26-624x202.jpg 624w" sizes="auto, (max-width: 825px) 100vw, 825px" /></a></p>
<p style="text-align: justify;">Πίσω τώρα στο SQL Setup, κάνουμε refresh και αυτόματα επιλέγει τον νέο δίσκο</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-27.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-872" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-27.jpg" alt="SQLlab (27)" width="592" height="414" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-27.jpg 592w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-27-300x210.jpg 300w" sizes="auto, (max-width: 592px) 100vw, 592px" /></a></p>
<p style="text-align: justify;">Στη συνέχεια δίνουμε στατική IP στο SQL Cluster Network, φυσικά από το Domain subnet</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-28.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-873" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-28.jpg" alt="SQLlab (28)" width="771" height="182" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-28.jpg 771w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-28-300x71.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-28-624x147.jpg 624w" sizes="auto, (max-width: 771px) 100vw, 771px" /></a></p>
<p style="text-align: justify;">Δίνουμε service accounts, για το Lab όπως είπα χρησιμοποιώ τον Domain Admin, αλλά ποτέ σε production.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-29.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-874" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-29.jpg" alt="SQLlab (29)" width="573" height="217" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-29.jpg 573w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-29-300x114.jpg 300w" sizes="auto, (max-width: 573px) 100vw, 573px" /></a></p>
<p style="text-align: justify;">Στο Server Configuration δίνουμε ποιοι θα έχουν admin rights στην SQL</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-30.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-875" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-30.jpg" alt="SQLlab (30)" width="666" height="555" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-30.jpg 666w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-30-300x250.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-30-624x520.jpg 624w" sizes="auto, (max-width: 666px) 100vw, 666px" /></a></p>
<p style="text-align: justify;">Και στο Data Directories tab βλέπουμε ότι ήδη έχει επιλέξει το SQL Cluster Disk. Σε παραγωγικό περιβάλλον φυσικά θα έχουμε περισσότερους δίσκους για κάθε βάση/log.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-31.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-876" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-31.jpg" alt="SQLlab (31)" width="537" height="319" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-31.jpg 537w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-31-300x178.jpg 300w" sizes="auto, (max-width: 537px) 100vw, 537px" /></a></p>
<p style="text-align: justify;">Μετά φτάνομε στο ready to install και πατάμε install. Περιμένουμε να γίνει η εγκατάσταση αργά και βασανιστικά μέχρι να δούμε το υπέροχο Completed successful.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-32.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-877" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-32.jpg" alt="SQLlab (32)" width="811" height="602" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-32.jpg 811w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-32-300x223.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-32-624x463.jpg 624w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a></p>
<p style="text-align: justify;">Και αν πάμε στο Failover Cluster Manager στους ρόλους θα δούμε το SQL Server</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-33.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-878" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-33.jpg" alt="SQLlab (33)" width="721" height="225" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-33.jpg 721w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-33-300x94.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-33-624x195.jpg 624w" sizes="auto, (max-width: 721px) 100vw, 721px" /></a></p>
<p style="text-align: justify;">Εδώ τελειώνει η εγκατάσταση του πρώτου Node. Κάνουμε Mount το ISO της SQL στο δεύτερο node και ξεκινάμε το Setup. Επιλέγουμε Add node to a SQL Server failover cluster</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-34.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-879" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-34.jpg" alt="SQLlab (34)" width="635" height="163" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-34.jpg 635w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-34-300x77.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-34-624x160.jpg 624w" sizes="auto, (max-width: 635px) 100vw, 635px" /></a></p>
<p style="text-align: justify;">Για το lab επιλέγω πάλι Evaluation, κάνω accept policies κλπ και πάμε για το installation.<br />
Στο Cluster Node Configuration ελέγχουμε ότι έχει βρει το SQL cluster που δημιουργήσαμε και πατάμε Next</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-35.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-880" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-35.jpg" alt="SQLlab (35)" width="801" height="307" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-35.jpg 801w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-35-300x115.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-35-624x239.jpg 624w" sizes="auto, (max-width: 801px) 100vw, 801px" /></a></p>
<p style="text-align: justify;">Στο Cluster Network Configuration ελέγχουμε ότι έχει βρει την IP του SQL Cluster και πατάμε next</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-36.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-881" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-36.jpg" alt="SQLlab (36)" width="784" height="215" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-36.jpg 784w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-36-300x82.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-36-624x171.jpg 624w" sizes="auto, (max-width: 784px) 100vw, 784px" /></a></p>
<p style="text-align: justify;">Στο Service Accounts δίνουμε το password του Account Που έχουμε ήδη δηλώσει για SQL Engine &amp; Agent</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-37.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-882" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-37.jpg" alt="SQLlab (37)" width="784" height="235" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-37.jpg 784w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-37-300x90.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-37-624x187.jpg 624w" sizes="auto, (max-width: 784px) 100vw, 784px" /></a></p>
<p style="text-align: justify;">Περνάμε τους ελέγχους και πατάμε install για να προσθέσει το Node στο Cluster και περιμένουμε μέχρι να να δούμε το Completed successful μήνυμα.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-38.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-883" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-38.jpg" alt="SQLlab (38)" width="808" height="604" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-38.jpg 808w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-38-300x224.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-38-624x466.jpg 624w" sizes="auto, (max-width: 808px) 100vw, 808px" /></a></p>
<p style="text-align: justify;">Πάμε τώρα να δοκιμάσουμε ότι το SQL Role Μπορεί να κάνει failover και στα δύο Nodes.<br />
Ανοίγουμε το Failover Cluster Manager πηγαίνουμε στο Roles, επιλέγουμε το “SQL Server …”, δεξί click / Move και πατάμε “Select Node…”</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-39.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-884" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-39.jpg" alt="SQLlab (39)" width="791" height="409" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-39.jpg 791w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-39-300x155.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-39-624x323.jpg 624w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></p>
<p style="text-align: justify;">Διαλέγουμε το δεύτερο Node και πατάμε OK</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-40.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-885" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-40.jpg" alt="SQLlab (40)" width="403" height="285" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-40.jpg 403w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-40-300x212.jpg 300w" sizes="auto, (max-width: 403px) 100vw, 403px" /></a></p>
<p style="text-align: justify;">Περιμένουμε στο Status να γίνει Pending και μετά Running. Πλέον στο “Owner Node” πρέπει να αναφέρει στο δεύτερο Node, στο Lab, Win2012R202</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-41.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-886" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-41.jpg" alt="SQLlab (41)" width="496" height="147" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-41.jpg 496w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-41-300x89.jpg 300w" sizes="auto, (max-width: 496px) 100vw, 496px" /></a></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:&#112;&#114;ox&#105;&#109;&#097;gr&#064;&#104;o&#116;&#109;&#097;&#105;&#108;.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%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fmicrosoft-sql-2012-on-failover-cluster%2F&amp;linkname=Microsoft%20SQL%202012%20on%20Failover%20Cluster" 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%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fmicrosoft-sql-2012-on-failover-cluster%2F&amp;linkname=Microsoft%20SQL%202012%20on%20Failover%20Cluster" 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%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fmicrosoft-sql-2012-on-failover-cluster%2F&#038;title=Microsoft%20SQL%202012%20on%20Failover%20Cluster" data-a2a-url="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/" data-a2a-title="Microsoft SQL 2012 on Failover Cluster"><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/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Failover Cluster with AlwaysOn Availability Groups</title>
		<link>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/</link>
					<comments>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 22:12:16 +0000</pubDate>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ελληνικά]]></category>
		<category><![CDATA[core]]></category>
		<category><![CDATA[failover cluster]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[storage]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=845</guid>

					<description><![CDATA[<p>SQL Failover Cluster with AlwaysOn Availability Groups Η ιδέα είναι να έχουμε ένα SQL Flailover Cluster στο Primary Site και στο υπάρχον</p>
<p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">SQL Failover Cluster with AlwaysOn Availability Groups</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">SQL Failover Cluster with AlwaysOn Availability Groups</h1>
<p style="text-align: justify;">Η ιδέα είναι να έχουμε ένα SQL Flailover Cluster στο Primary Site και στο υπάρχον Cluster να προσθέσουμε ένα AlwaysOn Availability group για το DR. Λόγο του μεγέθους της υλοποίησης θα γίνει τρία Posts. Ένα το Failover Cluster, ένα η εγκατάσταση της SQL σε Failover Clster και ένα η υλοποίηση του AlwaysON Availability Groups.</p>
<ol>
<li style="text-align: justify;"><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3</a></li>
<li style="text-align: justify;"><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a></li>
<li style="text-align: justify;"><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/">Add AlwaysOn AG to SQL Failover Cluster Instance</a></li>
</ol>
<h1 style="text-align: justify;">Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3</h1>
<p style="text-align: justify;">Ξεκίνησα φτιάχνοντας ένα VM FreeNAS για να μπορέσω να έχω με όσα λιγότερα resources ένα ISCSI Storage. Το FreeNAS θέλει 2GB Ram για την εγκατάσταση και το initial setup αλλά μετά το κατεβάζω σε 512MB Ram, έτσι κι αλλιώς οι απαιτήσεις μου θα είναι ελάχιστες. Δεν θα μείνω σε λεπτομέρειες για την εγκατάσταση του FreeNAS, κατεβάζουμε το ISO από το http://www.freenas.org/download/ και φτιάχνουμε ένα VM. Κάνουμε boot από το ISO και ακολουθούμε τον Wizard όπου διαλέγουμε δίσκο εγκατάστασης και δίνουμε root password. Τέλος αφού ανοίξει έχουμε 14 επιλογές, διαλέγουμε την 1 και ρυθμίζουμε το δίκτυο. Για το lab έδωσα 192.168.193.152/24<br />
Αφού ρυθμίσουμε το δίκτυο επιστρέφουμε στις επιλογές μόνο που πλέον μας ενημερώνει για την διεύθυνση του web interface, όπως στην εικόνα:</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-2.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-847 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-2.jpg" alt="SQLlab (2)" width="621" height="399" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-2.jpg 621w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-2-300x193.jpg 300w" sizes="auto, (max-width: 621px) 100vw, 621px" /></a></p>
<p style="text-align: justify;">Πριν κάνω login στο web interface έχω ήδη φτιάξει 2 δίσκους στο FreeNAS VM ώστε να αναλάβει ο wizard να φτιάξει volumes κλπ, αν και είναι πολύ απλό να τα κάνεις και manual στο FreNAS.<br />
Κάνω login στο FreeNAS web interface και ακολουθώ τον wizard. Δίνω pool name</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-4.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-849 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-4.jpg" alt="SQLlab (4)" width="564" height="305" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-4.jpg 564w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-4-300x162.jpg 300w" sizes="auto, (max-width: 564px) 100vw, 564px" /></a></p>
<p style="text-align: justify;">Δίνω share name και διαλέγω iSCSI</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-5.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-850 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-5.jpg" alt="SQLlab (5)" width="405" height="411" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-5.jpg 405w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-5-296x300.jpg 296w" sizes="auto, (max-width: 405px) 100vw, 405px" /></a></p>
<p style="text-align: justify;">Και αφού τελειώσει ο wizard έχουμε έτοιμο το iscsi target.</p>
<p style="text-align: justify;">Στη συνέχεια χρειαζόμαστε ένα Domain Controller. Μιας που μιλάμε για low resources lab, έφτιαξα ένα VM με 512 MB Ram και 1 CPU και έβαλα Windows Server 2012 r2 Core. Με sconfig.cmd ανοίγουμε τις επιλογές και δίνουμε computer name, IP κλπ</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab1.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-887 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab1.jpg" alt="sqllab1" width="609" height="293" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab1.jpg 609w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab1-300x144.jpg 300w" sizes="auto, (max-width: 609px) 100vw, 609px" /></a></p>
<p style="text-align: justify;">Και στη συνέχεια με powershell τον κάνουμε Domain Controller. Πρώτα βάζουμε domain services και management tools και στη συνέχεια τον προμοτάρουμε σε domain controller και DNS.</p>
<pre class="lang:ps decode:true ">Install-WindowsFeature AD-Domain-Services –IncludeManagementTools
Install-ADDSForest -DomainName "sqllab.int " -DomainNetbiosName "SQLLAB" -DomainMode Win2012R2 -ForestMode Win2012R2 -InstallDns –Force</pre>
<p style="text-align: justify;">Έτοιμος και ο Domain Contoller. Πάμε για τα Cluster Nodes. Έχω φτιάξει ένα VM με 2GB Ram, 2 CPUs, 2 NICs &amp; Windows Server 2012 R2. Sysprep και multiply και μπαμ έχουμε 3 όμορφα VMs.<br />
Μια λεπτομέρεια, επειδή θα χρειαστούμε σε όλα τα VMs Failover Cluster και επίσης η SQL 2012 θέλει .NetFramework 3.5, στο template VM βάζουμε και αυτά.</p>
<p style="text-align: justify;">Ξεκινάμε το Failover Cluster για να βάλουμε SQL.<br />
Ανοίγουμε το πρώτο VM, rename, στο lab το ονόμασα Win2012R201 (πρωτότυπο ε?) και κάνουμε join στο domain.<br />
Δίνουμε στην μια NIC μια IP που θα βλέπει το Domain και το FreeNAS και στην άλλη NIC ένα διαφορετικό subnet που θα βλέπει μόνο το άλλο Node. Για ευκολία έχω κάνει rename την μια κάρτα Domain με IP 192.168.193.153 και την άλλη Heartbeat με IP 172.16.5.1</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-1.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-846 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-1.jpg" alt="SQLlab (1)" width="569" height="173" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-1.jpg 569w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-1-300x91.jpg 300w" sizes="auto, (max-width: 569px) 100vw, 569px" /></a></p>
<p style="text-align: justify;">Στη συνέχεια ενεργοποιούμε το iscsi initiator από administrator tools και προσθέτουμε το iscsi target δίνοντας την IP του FreeNAS και πατώντας quick connect και μετά Connect και διαλέγουμε και το Multi path. Μετά στο Volumes and Devices tab πατάμε Auto Configure. Τέλος στο Device manager κάνουμε initialize τον δίσκο, format και του δίνουμε ένα γράμμα. Για test φτιάχνουμε ένα text αρχείο στο δίσκο.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-7.jpg"><img loading="lazy" decoding="async" class="wp-image-852 size-medium alignleft" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-7-274x300.jpg" alt="SQLlab (7)" width="274" height="300" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-7-274x300.jpg 274w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-7.jpg 493w" sizes="auto, (max-width: 274px) 100vw, 274px" /></a></p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-6.jpg"><img loading="lazy" decoding="async" class="wp-image-851 size-medium alignnone" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-6-300x163.jpg" alt="SQLlab (6)" width="300" height="163" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-6-300x163.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-6.jpg 567w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-8.jpg"><img loading="lazy" decoding="async" class="size-medium wp-image-853 alignnone" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-8-300x253.jpg" alt="SQLlab (8)" width="300" height="253" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-8-300x253.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-8.jpg 474w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p style="text-align: justify;">Το ίδιο κάνουμε και στο δεύτερο VM. Για να σιγουρευτούμε ότι και οι δύο μπορούν να γράψουν στον ίδιο δίσκο δημιουργούμε και εδώ ένα αρχείο. Σαν αποτέλεσμα πρέπει να έχουμε και τα 2 αρχεία.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-10.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-855 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-10.jpg" alt="SQLlab (10)" width="283" height="137" /></a></p>
<p style="text-align: justify;">Ανοίγουμε το Failover Cluster Manager από τα Administrative Tools και πρώτα τρέχουμε το Validate Configuration, διαλέγουμε και τους 2 member servers που ετοιμάσαμε με το iscsi και τρέχουμε το test.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-11.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-856 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-11.jpg" alt="SQLlab (11)" width="679" height="457" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-11.jpg 679w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-11-300x202.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-11-624x420.jpg 624w" sizes="auto, (max-width: 679px) 100vw, 679px" /></a></p>
<p style="text-align: justify;">Μόλις τελειώσει το validation κοιτάμε να μην έχει errors ή warnings και αν έχει τα διορθώνουμε και τον ξανατρέχουμε. Τέλος όταν έχει ολοκληρωθεί επιτυχώς, όπως στην εικόνα, το “create the cluster now using the validated nodes” είναι επιλεγμένο και πατώντας finish ανοίγει ο Create Cluster Wizard.<br />
Δίνουμε Cluster Name και IP</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-12.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-857 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-12.jpg" alt="SQLlab (12)" width="667" height="456" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-12.jpg 667w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-12-300x205.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-12-624x427.jpg 624w" sizes="auto, (max-width: 667px) 100vw, 667px" /></a></p>
<p style="text-align: justify;">Το αφήνουμε να προσθέσει όλο το διαθέσιμο storage και πατάμε next για να δημιουργηθεί το cluster</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-13.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-858 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-13.jpg" alt="SQLlab (13)" width="666" height="456" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-13.jpg 666w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-13-300x205.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-13-624x427.jpg 624w" sizes="auto, (max-width: 666px) 100vw, 666px" /></a></p>
<p>Αν ο cluster validator είχε τελειώσει επιτυχώς τότε και το cluster θα δημιουργηθεί επιτυχώς</p>
<p><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-15.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-860 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-15.jpg" alt="SQLlab (15)" width="679" height="444" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-15.jpg 679w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-15-300x196.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-15-624x408.jpg 624w" sizes="auto, (max-width: 679px) 100vw, 679px" /></a></p>
<p>Και voila έχουμε ένα όμορφο cluster</p>
<p><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-14.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-859 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-14.jpg" alt="SQLlab (14)" width="792" height="189" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-14.jpg 792w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-14-300x72.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-14-624x149.jpg 624w" sizes="auto, (max-width: 792px) 100vw, 792px" /></a></p>
<p>Μπορείτε να δείτε ότι το cluster network 1 είναι cluster only και έχει το subnet που δώσαμε για heartbeat και το cluster network 2 που είναι cluster and client έχει το domain subnet</p>
<p><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-16.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-861 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-16.jpg" alt="SQLlab (16)" width="484" height="273" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-16.jpg 484w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-16-300x169.jpg 300w" sizes="auto, (max-width: 484px) 100vw, 484px" /></a></p>
<p>Συνέχεια στο επόμενο post <a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a></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;x&#105;&#109;a&#103;&#114;&#064;h&#111;&#116;mail.&#099;&#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%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fsql-failover-cluster-with-alwayson-ag%2F&amp;linkname=SQL%20Failover%20Cluster%20with%20AlwaysOn%20Availability%20Groups" 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%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fsql-failover-cluster-with-alwayson-ag%2F&amp;linkname=SQL%20Failover%20Cluster%20with%20AlwaysOn%20Availability%20Groups" 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%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fsql-failover-cluster-with-alwayson-ag%2F&#038;title=SQL%20Failover%20Cluster%20with%20AlwaysOn%20Availability%20Groups" data-a2a-url="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/" data-a2a-title="SQL Failover Cluster with AlwaysOn Availability Groups"><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/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">SQL Failover Cluster with AlwaysOn Availability Groups</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Create a Disk in specific Storage Account and Attach it to a VM in Azure</title>
		<link>https://www.cloudcorner.gr/microsoft/create-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure/</link>
					<comments>https://www.cloudcorner.gr/microsoft/create-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 23 Sep 2014 09:13:17 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[storage]]></category>
		<guid isPermaLink="false">http://proximagr.wordpress.com/?p=187</guid>

					<description><![CDATA[<p>There are many reasons to have your Disks stored at separate Storage Accounts, per Cloud Service. One is that a Storage</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/create-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure/">Create a Disk in specific Storage Account and Attach it to a VM in Azure</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There are many reasons to have your Disks stored at separate Storage Accounts, per Cloud Service. One is that a Storage Account in Azure provides 20000 IOPS and every disk in Standard Tier 500 IOPS. Azure support suggests to don&#8217;t have more than 40 disks per Storage Account. Also you may want to have your disks lined (go to Azure, Cloud Services, selsect a Cloud Service and you can see the &#8220;Lined Resources&#8221; tab, there you can link storage accounts to the Cloud Service) to the same Cloud Services as their VMs. The problem is that if you have an Azure VM and you try to &#8220;attach an empty disk&#8221; you will realize that the disk will be created at the default Storage Account of the Subscription and there is no option to change this.</p>
<p>Here is a PowerShell command that creates a VHD at a specified Storage Account, creates a Disk and attaches it to a VM:</p>
<pre class="lang:ps decode:true ">Get-AzureVM "servicename -Name "vmname" | Add-AzureDataDisk -CreateNew -DiskSizeInGB XXX -DiskLabel "diskname" -MediaLocation "https://storageaccountname.blob.core.windows.net/vhds/vhdname.vhd" -LUN X | Update-AzureVM</pre>
<p>Some more info:</p>
<p>First of all you need to connect to your Azure Subscription, <a title="Connect powershell to Azure" href="http://proximagr.wordpress.com/2014/07/09/connect-powershell-to-azure/" target="_blank">you can follow this Post on how to do it.</a><br />
Then create a Storage Account using the GUI or PowerShell, here is the Microsoft&#8217;s link <a title="http://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account/" href="http://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account/" target="_blank">http://azure.microsoft.com/en-us/documentation/articles/storage-create-storage-account/</a><br />
Then you need to list the disks that are already connected to your VM in order to view the LUN number that you will use. The OS disk is not listed on this command. The first data disk consumes the LUN 0, the second the LUN 1 and so on.  The command is:</p>
<pre class="lang:ps decode:true "> Get-AzureVM -ServiceName "servicename" -Name "vmname" | Get-AzureDataDisk</pre>
<p>&nbsp;</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;&#105;&#109;&#097;&#103;r&#064;hot&#109;&#097;il&#046;&#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%2Fcreate-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure%2F&amp;linkname=Create%20a%20Disk%20in%20specific%20Storage%20Account%20and%20Attach%20it%20to%20a%20VM%20in%20Azure" 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%2Fcreate-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure%2F&amp;linkname=Create%20a%20Disk%20in%20specific%20Storage%20Account%20and%20Attach%20it%20to%20a%20VM%20in%20Azure" 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%2Fcreate-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure%2F&#038;title=Create%20a%20Disk%20in%20specific%20Storage%20Account%20and%20Attach%20it%20to%20a%20VM%20in%20Azure" data-a2a-url="https://www.cloudcorner.gr/microsoft/create-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure/" data-a2a-title="Create a Disk in specific Storage Account and Attach it to a VM in Azure"><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/create-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure/">Create a Disk in specific Storage Account and Attach it to a VM in Azure</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/create-a-disk-in-specific-storage-account-and-attach-it-to-a-vm-in-azure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
