AWS
From Wasya Wiki
Install
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install
## ~/.aws/credentials [ish-ses] aws_access_key_id = <> aws_secret_access_key = <>
Permissions
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "ses:SendRawEmail", "Resource": "*" } ] }
s3
duplicate a bucket
aws s3 sync s3://<from> s3://<to> --profile <profile>
EC2
keypairs
## us-east-1 ## idrsa_ecs_key1 ## us-east-2 ## idrsa_ecs_key2 aws ec2 create-key-pair --key-name idrsa_ecs_key2 --query 'KeyMaterial' \ --output text --profile rds_driver_1 > idrsa_ecs_key2.pem aws ec2 describe-key-pairs --key-name idrsa_ecs_key2 --profile rds_driver_1