Difference between revisions of "AWS"

From Wasya Wiki
Jump to: navigation, search
(EC2)
m (Piousbox moved page Aws to AWS)
(No difference)

Revision as of 20:23, 29 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": "*"
      }
    ]
  }

s3

duplicate a bucket

  aws s3 sync s3://<from> s3://<to> --profile <profile>