Snapshot AMI in AWS

0 votes

I have launched a non-EBS instance of a server from an AMI and have done some configuration. I want to stop the server now, but I only see options to Reboot and Terminate. I understand that if I terminate everything is gone. I thought that I could make a "snapshot" of this configuration which could be stored in S3.

So, how do i actually stop the server?

Nov 21, 2018 in AWS by datageek
• 3,090 points

1 answer to this question.

0 votes

When you say, non-EBS, you mean EC2 instance store-backed machine. There is no direct menu option provided in AWS console to snapshot your instance store machine. 

Here is what you need to do:

  1. Create a bucket in S3.

  2. Get EC2-AMI-Tools, and also EC2-API-Tools on your machine/instance. export their bin folders to your $PATH

  3. Use ec2-bundle-volume to bundle up your instance into a AMI package. (this would not bundle up certain directories, e.g. /mnt, /dev,...)

  4. Upload your bundle to your bucket using ec2-upload-bundle command.

  5. Then you can register your AMI,using ec2-register command.

This AMI is now registered as your private AMI. You can see it in your AWS Web Console under AMIs. You can launch this AMI, and it will be in the same state as your instance was, when you created your AMI.

answered Nov 21, 2018 by Archana
• 5,640 points

Related Questions In AWS

0 votes
1 answer

Use external template to create AMI in AWS.

Hey @user, Amazon provides a feature called VM ...READ MORE

answered Dec 28, 2018 in AWS by Nabarupa
0 votes
1 answer

Launching an AMI in AWS

Both the process of creating an EC2 ...READ MORE

answered Jan 19, 2019 in AWS by Edureka
• 4,220 points
0 votes
2 answers

How to create an EC2 Snapshot in AWS Console?

To create a snapshot of your EC2 ...READ MORE

answered Feb 11, 2019 in AWS by Priyaj
• 58,090 points
+1 vote
1 answer

What is the difference between an Instance, AMI and Snaphots in AWS?

AMI is the Amazon Machine Image which provides ...READ MORE

answered May 24, 2019 in AWS by ArchanaNagur
• 2,360 points
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Updating an attribute in AWS DynamoDB

Unfortunately, it can't be achieved in a ...READ MORE

answered Nov 2, 2018 in AWS by Archana
• 5,640 points
0 votes
1 answer
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP