{"id":19065,"date":"2015-10-01T15:28:20","date_gmt":"2015-10-01T14:28:20","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=19065"},"modified":"2016-02-17T15:45:03","modified_gmt":"2016-02-17T15:45:03","slug":"azure-virtual-machine-specs","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=19065","title":{"rendered":"Azure Virtual Machine Specs"},"content":{"rendered":"<p><em>This post is a part of a series:<\/em><\/p>\n<ul>\n<li><em><a href=\"https:\/\/aidanfinn.com\/?p=18999\" target=\"_blank\">Understanding Microsoft\u2019s Explanation of Azure VM Specs<\/a><\/em><\/li>\n<li><em><a href=\"https:\/\/aidanfinn.com\/?p=19048\" target=\"_blank\">The Different Azure Virtual Machine Types<\/a><\/em><\/li>\n<li><em><a href=\"https:\/\/aidanfinn.com\/?p=19035\" target=\"_blank\">Picking an Azure Virtual Machine Tier<\/a><\/em><\/li>\n<li><em>Azure Virtual Machine Specs (this post)<\/em><\/li>\n<\/ul>\n<p><em>Any prices shown are Euro for North Europe and were correct at the time of writing.<\/em><\/p>\n<h2>Pick a VM Type<\/h2>\n<p>Determine some of the <a href=\"https:\/\/aidanfinn.com\/?p=19048\" target=\"_blank\">hardware features<\/a> that you require from the VM. You\u2019re thinking about:<\/p>\n<ul>\n<li>Is it a normal VM or a machine with fast processors??<\/li>\n<li>Do you need fast paging or disk caching?<\/li>\n<li>Must data be on really fast shared storage?<\/li>\n<li>Do you need lots of RAM?<\/li>\n<li>Do you need Infiniband networking?<\/li>\n<li>Is Xeon enough, or do you need GPU computational power?<\/li>\n<\/ul>\n<h2>A-Series: Pick a Tier<\/h2>\n<p>If you opt for an A-Series VM then you need to <a href=\"https:\/\/aidanfinn.com\/?p=19035\" target=\"_blank\">pick a tier<\/a>. Here you\u2019re considering fabric-provided features such as:<\/p>\n<ul>\n<li>Load balancing<\/li>\n<li>Data disk IOPS<\/li>\n<li>Auto-scaling<\/li>\n<\/ul>\n<h2>CPU and RAM<\/h2>\n<p>Specifying a an Azure virtual machine is not much different to specifying a Hyper-V\/vSphere virtual machine or a physical server. You need to know a few basic bits of information:<\/p>\n<ul>\n<li>How many virtual CPUs do I require?<\/li>\n<li>How much RAM do I require?<\/li>\n<li>How much disk space is needed for data?<\/li>\n<\/ul>\n<p>With on-premises systems you might have asked for a machine with 4 cores, 16 GB RAM and 200 GB disk. You cannot do that in Azure. Azure, like many self-service clouds, implements the concept of a template. You can only deploy VMs using these templates which have an associated <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/virtual-machines\/\" target=\"_blank\">billing rate<\/a>. Those templates limit the <a href=\"https:\/\/aidanfinn.com\/?p=18999\" target=\"_blank\">hardware spec of the machine<\/a>. So let\u2019s say we need a 4 core machine with 16 GB RAM for a <a href=\"https:\/\/aidanfinn.com\/?p=19048\" target=\"_blank\">normal workload (A-Series)<\/a> with <a href=\"https:\/\/aidanfinn.com\/?p=19035\" target=\"_blank\">load balancing (Standard tier)<\/a>. If we peruse the <a href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/virtual-machines-size-specs\/\" target=\"_blank\">available specs<\/a> then we can see that we see the following Standard A-Series VMs:<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/10\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"float: none; margin-left: auto; display: block; margin-right: auto; border: 0px;\" title=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/10\/image_thumb.png\" alt=\"image\" width=\"550\" height=\"296\" border=\"0\" \/><\/a><\/p>\n<p>There is no 16 GB VM. You can\u2019t select a 14 GB RAM A5 and increase the RAM. Instead, your choice is a Standard A4 with 14 GB RAM, a Standard A5 with 14 GB RAM, or Standard A6 with 28 GB RAM. You need 4 cores, so that reduces the options to the A4 (8 cores) or the A6 (4 cores). The A4 <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/virtual-machines\/\" target=\"_blank\">costs<\/a> \u20ac0.6072\/hour to run, and the A6 costs \u20ac0.506\/hour to run. So, the VM with the higher model number (A6) offers the 16 GB RAM (actually 28 GB) and 4 cores.<\/p>\n<p>The above example teaches you to look beyond the apparent boundary. There\u2019s more \u2026 Look at the pricing of D-Series VMs. There are a few options there that might be applicable \u2026 note that these VMs run on higher spec host CPUs (Intel Xeon) and have SSD-based temporary drives and offer \u201c60% faster processors than the A-Series\u201d. The D12 has 4 cores and 28 GB RAM and <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/virtual-machines\/\" target=\"_blank\">costs<\/a> \u20ac0.506\/hour &#8211; the same as the A6! But if you were flexible with RAM, you could have the D3 (4 cores, 14 GB RAM) for \u20ac0.4352\/hour, saving around \u20ac53 per month.<\/p>\n<p>After that, you now add disks. Windows VMs from the Marketplace (template library) come with a 127 GB C: drive and you add multiple data disks (up to 1 TB each) to add data storage capacity and IOPS.<\/p>\n<h2>Born-in-the-Cloud<\/h2>\n<p>On more than one occasion I\u2019ve been asked to price up machines with 32 GB or 64 GB RAM in Azure. As you\u2019ve now learned, no such thing exists. And at the costs you\u2019ve seen, it would be hard to argue that the cloud is competitive with on-premises solutions where memory costs have been falling over the years &#8211; disk is usually the big bottleneck now, in my experience, because people are still hung up on ridiculously priced SANs.<\/p>\n<p>Whether you\u2019re in Azure, AWS, or Google, you should learn that the correct way forward is lots of smaller VMs working in unison. You don\u2019t spec up 2 big load balanced VMs; instead you deploy a bunch of load balanced Standard A-Series or D\/DS\/DV2 VMs with auto-scaling turned on &#8211; this powers up enough VMs to maintain HA and to service workloads at an acceptable rate, and powers down VMs where possible to save money (you pay for what is running).<\/p>\n<h2>Other Considerations<\/h2>\n<p>Keep in mind that the following are also controlled by the VM spec:<\/p>\n<ul>\n<li><a href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/virtual-machines-size-specs\/\" target=\"_blank\">Quantity of data disks<\/a><\/li>\n<li><a href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/virtual-networks-multiple-nics\/\" target=\"_blank\">Maximum number of NICs<\/a> (should normally only affect virtual network appliances)<\/li>\n<\/ul>\n<h2>Modifying Specs<\/h2>\n<p>We\u2019ll keep things simple: you can change the spec of a VM within it\u2019s \u201cfamily\u201d (what the host is capable of). So you can move from a Basic A1 to a Standard A7 with a few clicks and a VM reboot. But moving to a D-Series VM is trickier &#8211; you need to delete the VM while keeping the disks, and then create a new VM that is attached to the existing disks.<\/p>\n<p>EDIT:<\/p>\n<p>Make sure you read this detailed <a href=\"https:\/\/buildwindows.wordpress.com\/2015\/10\/11\/azure-virtual-machine-resizing-consideration\/\" target=\"_blank\">post <\/a>by Samir Farhat on resizing Azure VMs.<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:46da04f1-27ee-4a11-9962-2bd2fdde6664\" class=\"wlWriterEditableSmartContent\" style=\"float: none; margin: 0px; display: inline; padding: 0px;\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Azure\" rel=\"tag\">Azure<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Cloud\" rel=\"tag\">Cloud<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Cloud+Computing\" rel=\"tag\">Cloud Computing<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This post is a part of a series: Understanding Microsoft\u2019s Explanation of Azure VM Specs The Different Azure Virtual Machine Types Picking an Azure Virtual Machine Tier Azure Virtual Machine Specs (this post) Any prices shown are Euro for North Europe and were correct at the time of writing. Pick a VM Type Determine some &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=19065\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Azure Virtual Machine Specs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":19067,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[5],"tags":[170,172,59,195],"class_list":["post-19065","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","tag-azure","tag-cloud","tag-cloud-computing","tag-virtualisation"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/10\/microsoft-data-center-600x3751.jpg","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/19065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19065"}],"version-history":[{"count":4,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/19065\/revisions"}],"predecessor-version":[{"id":19422,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/19065\/revisions\/19422"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/media\/19067"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}