{"id":19243,"date":"2015-10-08T14:24:31","date_gmt":"2015-10-08T13:24:31","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=19243"},"modified":"2015-10-08T14:27:16","modified_gmt":"2015-10-08T13:27:16","slug":"understanding-pricing-azure-virtual-machine-backup","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=19243","title":{"rendered":"Understanding &amp; Pricing Azure Virtual Machine Backup"},"content":{"rendered":"<p>In this article I want to explain how you can backup Azure virtual machines using Azure Backup. I\u2019ll also describe how to price up this solution.<\/p>\n<h2>Backing up VMs<\/h2>\n<p>Believe it or not, up until a few weeks ago, there was no <em>supported<\/em> way to backup production virtual machines in Azure. That meant you had no way to protect data\/services that were running in Azure. There were work-arounds, some that were unsupported and some that were ineffective (both solution and cost-wise). Azure Backup for IaaS VMs was launched in preview, and even if it was slow, it worked (I relied on it once to restore the VM that hosts this site).<\/p>\n<p>The service is pretty simple:<\/p>\n<ol>\n<li>You create a backup vault in the same region as the virtual machines you want to protect.<\/li>\n<li>Set the storage vault to be <a href=\"https:\/\/aidanfinn.com\/?p=19076\" target=\"_blank\">LRS or GRS<\/a>. Note that Azure Backup uses the Block Blob service in storage accounts.<\/li>\n<li>Create a backup policy (there is a default one there already)<\/li>\n<li>Discover VMs in the region<\/li>\n<li>Register VMs and associate them with the backup policy<\/li>\n<\/ol>\n<p>Like with on-premises Azure Backup, you can retain up to 366 recovery points, and using an algorithm, retain X dailies, weeklies, monthlies and yearly backups up to 99 years. A policy will backup a VM to a selected storage account once per day.<\/p>\n<p>This solution creates consistent backups of your VMs, supporting Linux and Windows, without interrupting their execution:<\/p>\n<ul>\n<li><strong>Application consistency if VSS is available<\/strong>: Windows, if VSS is functioning.<\/li>\n<li><strong>File system consistency<\/strong>: Linux, and Windows if VSS is not functioning.<\/li>\n<\/ul>\n<p>The speed of the backup is approximately:<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/10\/image42.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/10\/image_thumb42.png\" alt=\"image\" width=\"550\" height=\"147\" border=\"0\" \/><\/a><\/p>\n<p>The above should give you an indication of how long a backup will take.<\/p>\n<h2>Pricing<\/h2>\n<p>There are two charges, a front-end charge and a back-end charge. Here is the North Europe pricing of the front-end charge in Euros:<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/10\/image43.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/10\/image_thumb43.png\" alt=\"image\" width=\"550\" height=\"112\" border=\"0\" \/><\/a><\/p>\n<p>The front-end charge is based on the total disk size of the VM. If a VM has a 127 GB C:, a 40 GB D: and a 100 GB E: then there are 267 GB. If we look at the above table we find that this VM falls into the 50-500 GB rate, so the privilege of backing up this VM will cost me \u20ac8.44 per month. If I deployed and backed up 10 of these VMs then the price would be \u20ac84.33 per month.<\/p>\n<p>Backup will consume storage. There\u2019s three aspects to this, and quite honestly, it\u2019s hard to price:<\/p>\n<ul>\n<li><strong>Initial backup<\/strong>: The files of the VM are compressed and stored in the backup vault.<\/li>\n<li><strong>Incremental backup<\/strong>: Each subsequent backup will retain differences.<\/li>\n<li><strong>Retention<\/strong>: How long will you keep data? This impacts pricing.<\/li>\n<\/ul>\n<p>Your storage costs are based on:<\/p>\n<ul>\n<li>How much spaces is consumed in the storage account.<\/li>\n<li>Whether you use <a href=\"https:\/\/aidanfinn.com\/?p=19076\" target=\"_blank\">LRS or GRS<\/a>.<\/li>\n<\/ul>\n<h2>Example<\/h2>\n<p>If have 5 VMs in North Europe, each with 127 GB C:, 70 GB D:, and 200 GB E:. I\u00a0 want to protect these VMs using Azure Backup, and I need to ensure that my backup has facility fault tolerance.<\/p>\n<p>Let\u2019s start with that last bit, the storage. Facility fault tolerance drives me to GRS. Each VM has 397 GB. There are 5 VMs so I will require at most \u20ac1985 for the initial backup. Let\u2019s assume that I\u2019ll require 5 TB including retention. If I search for <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/storage\/\" target=\"_blank\">storage pricing<\/a>, and look up Block Blob GRS, I\u2019ll see that I\u2019ll pay:<\/p>\n<ul>\n<li>\u20ac0.0405 per GB per month for 1 TB = 1024 * \u20ac0.0405 = \u20ac41.48<\/li>\n<li>\u20ac0.0399 per GB per month for the next 49 TB = 4096 * \u20ac0.0399 = \u20ac163.44<\/li>\n<\/ul>\n<p>For a total of \u20ac204.92 for 5 TB of geo-redundant backup storage.<\/p>\n<p>The VMs are between 50-500 GB each, so they fall into the \u20ac8.433 per protected instance bracket. That means the front-end cost will be \u20ac8.433 * 5 = \u20ac42.17.<\/p>\n<p>So my total cost, per month, to backup these VMs is estimated to be \u20ac42.17 + \u20ac204.92 = \u20ac247.09.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:cdd79354-b266-4c1e-801d-b4c9f739d269\" 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\/Azure+Backup\" rel=\"tag\">Azure Backup<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Backup\" rel=\"tag\">Backup<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Storage\" rel=\"tag\">Storage<\/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>In this article I want to explain how you can backup Azure virtual machines using Azure Backup. I\u2019ll also describe how to price up this solution. Backing up VMs Believe it or not, up until a few weeks ago, there was no supported way to backup production virtual machines in Azure. That meant you had &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=19243\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Understanding &amp; Pricing Azure Virtual Machine Backup&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":18448,"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,148,55,172,59,99,195],"class_list":["post-19243","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","tag-azure","tag-azure-backup","tag-backup","tag-cloud","tag-cloud-computing","tag-storage","tag-virtualisation"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/aidanfinn.com\/wp-content\/uploads\/2015\/06\/16846257921_bf407108d6_z.jpg","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/19243","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=19243"}],"version-history":[{"count":2,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/19243\/revisions"}],"predecessor-version":[{"id":19245,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/19243\/revisions\/19245"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/media\/18448"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}