Difference between revisions of "AWS"
From Wasya Wiki
Line 28: | Line 28: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | == duplicate a bucket == | ||
+ | |||
+ | aws s3 sync s3://<from> s3://<to> --profile <profile> |
Revision as of 21:36, 2 March 2024
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": "*" } ] }
duplicate a bucket
aws s3 sync s3://<from> s3://<to> --profile <profile>