My company want to take daily snapshots of a windows in Amazon Web Service. We can take snapshot without any issue but when I try to create instance from snapshot, it always creates a linux ami. so when the server starts, it always fails the health check.
Is it possible to create a windows instance from a snapshot?
[Please note that I'm assuming you are using EBS-Backed EC2 instances; if not, please check Eric Hammond's explanation why You Should Use EBS Boot Instances on Amazon EC2.]
It sounds like there might be a misunderstanding regarding the related AWS concepts:
While Amazon EBS snapshots are indeed utilized for the creation of an Amazon Machine Images (AMI) under the hood, you do not explicitly interact with them for the use case at hand. Specifically, you don't want to use CreateSnapshot, which only Creates a snapshot of an Amazon EBS volume and stores it in Amazon S3, rather you want to simply create such an AMI via the dedicated action CreateImage, which Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped [emphasis mine]:
Once you have an image (AMI) generated like so in place, creating your Amazon EC2 instance from that AMI should work out as desired, be it a Windows or Unix one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With