생성한 EC2(Ubuntu Linux)에서 CLI 버전 2 설치 ( root, ubnutu or 개발자 계정 - 여기서는 ubuntu 로 진행

sudo apt-get update
sudo apt install unzip
sudo curl "[<https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip>](<https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip>)" -o "awscliv2.zip"
sudo unzip awscliv2.zip
sudo ./aws/install
sudo rm -rf aws (원본삭제)

# 설치후 버전확인
/usr/local/bin/aws --version
aws-cli/2.11.18 Python/3.11.3 Linux/5.15.0-1031-aws exe/x86_64.ubuntu.22 prompt/off

Lambda - 100만회 무료

DynamoDB - 30GB 무료

S3 정적 웹 서비스 구성 및 활용

Untitled

Untitled

aws s3 sync . s3://my-s3-kaispread

Untitled

# 업로드
aws s3 cp 1.log s3://my-s3-kaispread/logs/1.log
aws s3 cp s3://my-s3-kaispread/logs/1.log 3.log

# 
aws s3 cp s3://my-s3-kaispread/images/ imagebackup --recursive
aws s3 sync s3://my-s3-kaispread .