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, 2019 in AWS by Laila
85 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, 2019 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
• 68,860 points
5,210 views
0 votes
1 answer
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
• 57,490 points
399 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
• 57,490 points
894 views