{"id":2429,"date":"2017-05-25T08:04:35","date_gmt":"2017-05-25T14:04:35","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=2429"},"modified":"2017-05-25T08:04:35","modified_gmt":"2017-05-25T14:04:35","slug":"aws-questions-windows-servers","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/2429","title":{"rendered":"AWS Questions: Windows Servers"},"content":{"rendered":"<p>Windows servers are supported on AWS, but recently I had students ask a bevy of questions about them. \u00a0Here are some answers. \u00a0As a reminder, I speak solely for myself with these blog posts, not for AWS or any employer.<\/p>\n<ul>\n<li>What versions of Windows are supported?\n<ul>\n<li>Here&#8217;s a list of <a href=\"https:\/\/aws.amazon.com\/windows\/resources\/amis\/\">currently supported windows AMIs<\/a>.<\/li>\n<\/ul>\n<\/li>\n<li>Can I create an AMI from an EBS snapshot of a Windows root volume?\n<ul>\n<li>Unlike with <a href=\"http:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/UserGuide\/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot\">a linux EBS snapshot<\/a>, you cannot create an AMI from a root volume. \u00a0You can <a href=\"http:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/WindowsGuide\/Creating_EBSbacked_WinAMI.html\">create an AMI from a running instance<\/a>, however. \u00a0The reason for the limitation is that sysprep must be run on the Windows server, and you can&#8217;t run sysprep on a EBS volume that is not running.<\/li>\n<\/ul>\n<\/li>\n<li>In order to take an accurate snapshot, I need to quiesce the disk. \u00a0How can I do so?\n<ul>\n<li>This is a thorny problem and I don&#8217;t think there&#8217;s a great answer. You want to shut down as many apps as you can. You also may find the <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/bb968832(v=vs.85).aspx\">Volume Shadow Copy Service<\/a> useful. You may want to review the answers here on this <a href=\"https:\/\/www.reddit.com\/r\/aws\/comments\/4m6d9f\/ebs_snapshots_for_ms_sql_servers\/\">reddit thread<\/a>.<\/li>\n<\/ul>\n<\/li>\n<li>I have a Windows bastion host, and I want to allow more than two users to access this host at one time. \u00a0How can I do this?\n<ul>\n<li>You need to purchase additional Remote Desktop Services licenses. \u00a0From the <a href=\"https:\/\/aws.amazon.com\/windows\/faq\/\">FAQ<\/a>: &#8220;Amazon EC2 instances come with two Remote Desktop Services (aka Terminal Services) licenses for administration purposes. If additional Remote Desktop Services licenses are needed, they should be purchased from Microsoft or a Microsoft license reseller. Remote Desktop Services licenses purchased with Software Assurance have license mobility benefits and can be brought to AWS multi-tenant environments.&#8221;<\/li>\n<\/ul>\n<\/li>\n<li>Is powershell a first class citizen with the same functionality as the CLI or the supported SDKs?\n<ul>\n<li>Nope. \u00a0From the <a href=\"https:\/\/aws.amazon.com\/powershell\/\">Powershell<\/a> page: &#8220;The AWS Tools for Windows PowerShell lets you perform <strong>many<\/strong> of the same actions available in the AWS SDK for .NET. You can use it from the command line for quick tasks, like controlling your Amazon EC2 instances.&#8221; \u00a0(Emphasis added.)<\/li>\n<\/ul>\n<\/li>\n<li>Do you have any example userdata scripts for Windows AMIs?\n<ul>\n<li>There are <a href=\"https:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/WindowsGuide\/ec2-instance-metadata.html#user-data-execution\">some examples here<\/a>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Windows servers are supported on AWS, but recently I had students ask a bevy of questions about them. \u00a0Here are some answers. \u00a0As a reminder, I speak solely for myself [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-2429","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2429"}],"version-history":[{"count":2,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2429\/revisions"}],"predecessor-version":[{"id":2431,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2429\/revisions\/2431"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}