Difference between revisions of "AWS"
From Wasya Wiki
(→cloud ami images) |
(→cloud ami images) |
||
Line 26: | Line 26: | ||
## ubuntu 22.04 us-east-1 | ## ubuntu 22.04 us-east-1 | ||
# ami-053053586808c3e70 | # ami-053053586808c3e70 | ||
+ | |||
+ | ## 22.04 us-east-2 amd64 | ||
+ | # ami-068cf3d51efeb20d6 | ||
## 22.04 us-east-2 amd64 | ## 22.04 us-east-2 amd64 |
Revision as of 05:45, 1 April 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 = <>
Develop
cloud ami images
## ubuntu 22.04 us-east-1 # ami-053053586808c3e70 ## 22.04 us-east-2 amd64 # ami-068cf3d51efeb20d6 ## 22.04 us-east-2 amd64 # ami-068cf3d51efeb20d6
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>