- Install AWS CLI:
aws --version
- Configure AWS CLI:
aws configure
- AWS Access Key ID: (Enter your access key here)
- AWS Secret Access Key: (Enter your secret access key here)
- Default region name: (e.g.,
us-east-1
) - Default output format: (e.g.,
json
,text
,table
)
- Create Shell Script:
vi aws_resource.sh
- Change Permissions:
chmod 777 aws_resource.sh
- Execute Script:
./aws_resource.sh