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
• 2,830 points
19 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,280 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
28 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
39 views
0 votes
2 answers
0 votes
2 answers

Receiving SMS from users and stores in AWS

As far as I know, receiving international ...READ MORE

answered Aug 21, 2018 in AWS by Priyaj
• 56,100 points
42 views
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,280 points
41 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.