{"id":1306,"date":"2018-03-21T00:41:38","date_gmt":"2018-03-21T00:41:38","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=1306"},"modified":"2018-03-21T10:59:03","modified_gmt":"2018-03-21T10:59:03","slug":"azure-virtual-machines-scale-sets-and-containers","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=1306","title":{"rendered":"Azure Virtual Machines Scale Sets and Containers"},"content":{"rendered":"<p><a href=\"https:\/\/channel9.msdn.com\/Shows\/TechNet+Radio\/TNR1670\" target=\"_blank\" rel=\"noopener\">https:\/\/channel9.msdn.com\/Shows\/TechNet+Radio\/TNR1670<\/a><\/p>\n<p>Return to <a href=\"http:\/\/wiki.thomasandsofia.com\/2018\/01\/22\/azure-for-aws-professionals-menu\/\">Main Menu<\/a><\/p>\n<h2>VM Series Descriptions<\/h2>\n<ul>\n<li>A Series\n<ul>\n<li>Highest value vm sizes<\/li>\n<li>Basic and standard sizes<\/li>\n<li>General Purpose and High Memory\n<ul>\n<li>DNS, FTP<\/li>\n<\/ul>\n<\/li>\n<li>High Performance (A8\/A9) (RDMA Networking)<\/li>\n<\/ul>\n<\/li>\n<li>D Family\n<ul>\n<li>60% Faster CPU<\/li>\n<li>Up to 112GB Memory<\/li>\n<li>Local SSD storage (non-persistent)<\/li>\n<\/ul>\n<\/li>\n<li>G Series\n<ul>\n<li>Optimized for data workloads<\/li>\n<li>Up to 32 CPU cores, 448GB RAM, 6.5TB local SSD (non-persistent)<\/li>\n<li>Latest Gen Intel Processor<\/li>\n<\/ul>\n<\/li>\n<li>GS \/ DS\n<ul>\n<li>Allow Persistent SSD storage (Premium Storage): <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/windows\/premium-storage\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/windows\/premium-storage<\/a>\n<ul>\n<li>This is akin to Provisioned IOPs<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>Sizing Recommendations<\/h4>\n<ul>\n<li>Find out what the client is currently using<\/li>\n<li>When in doubt, start small and work your way up.<\/li>\n<\/ul>\n<h4>AWS vs Azure Instance Comparisons<\/h4>\n<p><a href=\"http:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/TNRAzureAWSPrt4_960.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1313\" src=\"http:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/TNRAzureAWSPrt4_960.jpg\" alt=\"\" width=\"960\" height=\"540\" srcset=\"https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/TNRAzureAWSPrt4_960.jpg 960w, https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/TNRAzureAWSPrt4_960-300x169.jpg 300w, https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/TNRAzureAWSPrt4_960-768x432.jpg 768w, https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/TNRAzureAWSPrt4_960-150x84.jpg 150w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<h4>Availability Sets vs Availability Zone<\/h4>\n<ul>\n<li>Availability Set\n<ul>\n<li>Different &#8216;Fault Domain&#8217;\n<ul>\n<li>Maintenance, hardware, etc.<\/li>\n<\/ul>\n<\/li>\n<li>VMs automatically deployed into different Fault Domains to improve overall uptime<\/li>\n<li>Uptime SLA 99.95 based on min. 2 VMs in an Availability Set. (lame&#8230;)<\/li>\n<\/ul>\n<\/li>\n<li>Availability Zone\n<ul>\n<li>Different building \/ datacenter<\/li>\n<li>Require unique subnets<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Anatomy of an Iaas v2 Deployment<\/h3>\n<p><a href=\"http:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/Anatomy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1314\" src=\"http:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/Anatomy.png\" alt=\"\" width=\"1069\" height=\"610\" srcset=\"https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/Anatomy.png 1069w, https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/Anatomy-300x171.png 300w, https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/Anatomy-768x438.png 768w, https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/Anatomy-1024x584.png 1024w, https:\/\/wiki.thomasandsofia.com\/wp-content\/uploads\/2018\/03\/Anatomy-150x86.png 150w\" sizes=\"auto, (max-width: 1069px) 100vw, 1069px\" \/><\/a><\/p>\n<h2>Lab: Creating an Azure Virtual Machine<\/h2>\n<ul>\n<li>Dashboard &gt; Virtual Machines &gt; [Create a virtual machine] &gt; Select Image\n<ul>\n<li>Select Deployment Model: Resource Manager<\/li>\n<li>[Create]<\/li>\n<\/ul>\n<\/li>\n<li>Basics\n<ul>\n<li>Name: VM Name, not your name \ud83d\ude42<\/li>\n<li>Username<\/li>\n<li>Authentication\n<ul>\n<li>Password or<\/li>\n<li>SSH public key (paste in)\n<ul>\n<li>ssh-rsa AAAAB3NzaC1yc&#8230;llT59o1ixbrt<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Building VMs from the CLI<\/h2>\n<h3>Basic Commands<\/h3>\n<h4>Switch Display modes<\/h4>\n<p>Azure Resource Manager<\/p>\n<pre>azure config mode arm<\/pre>\n<p>Azure Service Manager (Classic Mode)<\/p>\n<pre>azure config mode asm<\/pre>\n<p>Show current subscription<\/p>\n<pre>azure account show<\/pre>\n<p>Change Account<\/p>\n<pre>azure account set SubscriptionName<\/pre>\n<p>VM Help<\/p>\n<pre>azure vm --help<\/pre>\n<p>Show VMs<\/p>\n<pre>azure vm list<\/pre>\n<h4>Create a VM<\/h4>\n<pre>azure vm create --resource-group test --location centralus --os-type linux --image-urn UbuntuLTS --admin-username ubuntu --admin-password @asdDSA123$ --vm-size Standard_B1S --nic-name MyNic --name thomas-server-02 --public-ip-name mypublicip --public-ip-domain-name thomas-public-ip --vnet-name thomas-01 --vnet-subnet-name default<\/pre>\n<h3>Helpful Hints<\/h3>\n<pre>azure vm create --help<\/pre>\n<p>Show standard images aliases<\/p>\n<pre>azure vm image --help<\/pre>\n<pre>Commands to manage VM images\r\n\r\nLists virtual machines image publishers\r\n  vm image list-publishers [options] <location>\r\n\r\nLists virtual machines image offers by a publisher\r\n  vm image list-offers [options] <location> <publisher>\r\n\r\nLists virtual machines image skus for a specific offer from a publisher\r\n  vm image list-skus [options] <location> <publisher> <offer>\r\n\r\nLists the virtual machines images\r\n  vm image list [options] <location> <publisher> [offer] [sku]\r\n\r\nLists the virtual machines images\r\n  vm image show [options] <location> <publisher> <offer> <sku> <version>\r\n\r\nOptions:\r\n  -h, --help  output usage information\r\n\r\nCurrent Mode: arm (Azure Resource Management)\r\n\r\nConsider Azure CLI 2.0, the preferred choice for ARM - https:\/\/aka.ms\/move2cli2\r\n<\/pre>\n<pre>Win2012R2Datacenter = MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:latest\r\nWin2012Datacenter = MicrosoftWindowsServer:WindowsServer:2012-Datacenter:latest\r\nWin2008R2SP1 = MicrosoftWindowsServer:WindowsServer:2008-R2-SP1:latest\r\nCentOS = OpenLogic:CentOS:7.2:latest\r\nCoreOS = CoreOS:CoreOS:Stable:latest\r\nDebian = credativ:Debian:8:latest\r\nopenSUSE = SUSE:openSUSE:13.2:latest\r\nRHEL = RedHat:RHEL:7.2:latest\r\nSLES = SUSE:SLES:12-SP1:latest\r\nUbuntuLTS = Canonical:UbuntuServer:14.04.4-LTS:latest<\/pre>\n<p>Cleaner with json<\/p>\n<pre>azure vm image list-skus --location centralus --publisher Canonical --offer UbuntuServer --json<\/pre>\n<h4>Get VM Sizes<\/h4>\n<pre>azure vm sizes --location centralus<\/pre>\n<h4>List Locations<\/h4>\n<pre>azure location list<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/channel9.msdn.com\/Shows\/TechNet+Radio\/TNR1670 Return to Main Menu VM Series Descriptions A Series Highest value vm sizes Basic and standard sizes General Purpose and High Memory DNS, FTP High Performance (A8\/A9) (RDMA Networking) D Family 60% Faster CPU Up to 112GB Memory Local SSD storage (non-persistent) G Series Optimized for data workloads Up to 32 CPU cores, 448GB ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=1306\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1306","post","type-post","status-publish","format-standard","hentry","category-azure-for-aws-experts"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/1306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1306"}],"version-history":[{"count":13,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/1306\/revisions"}],"predecessor-version":[{"id":1324,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/1306\/revisions\/1324"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}