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,000 points
25 views

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,480 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
34 views
0 votes
1 answer

Launching an AMI in AWS

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

answered Jan 18 in AWS by Edureka
• 4,180 points
42 views
0 votes
2 answers
+1 vote
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,480 points
62 views
0 votes
1 answer