As DevOps Engineer we all need few basic commands in AWS CLI for quick reference.
1. AWS Configure
- Configure aws :
aws configure
AWS Access Key ID [****************ABCD]:
AWS Secret Access Key [****************ABU5]:
Default region name [us-east-2]:
Default output format [json]:
2. AWS S3
- List s3 resources:
aws s3 ls
aws s3 ls
2023-09-27 14:28:56 config-bucket-917165987323
2. AWS EC2
- describe EC2 instances :
aws ec2 describe-instance
- terminate EC2 instances :
aws ec2 terminate-instances --instance-ids i-01f76eda46144449a
Top comments (0)