How to create an AMI from the command line?

0 votes
I was able to create an AMI using the EC2 management console. Is it possible to use the AWS CLI (Command Line Interface) to do the same thing?
Aug 6 in AWS by Laila
30 views

1 answer to this question.

0 votes

Yes, the CLI can be used to create an AMI. Here are the steps:

- Install the AWS CLI as mentioned here
- Configure the AWS Credentials as mentioned here
- Use the ‘aws create-image’ command to create the new AMI.

answered Aug 13 by Praveen
• 700 points

Related Questions In AWS

+3 votes
5 answers

How to move files from amazon ec2 to s3 bucket using command line

Hey, 3 ways you can do this: To ...READ MORE

answered Oct 9, 2018 in AWS by Omkar
• 67,460 points
2,551 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,520 points
227 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 56,520 points
443 views