?
사용자
AWS CLI로 S3 버킷 생성 및 객체 업로드, 권한 설정
AWS CLI를 사용하여 S3 버킷을 생성하고, 파일을 업로드하며, 공개 읽기 권한을 설정하는 실무 예제입니다. CI/CD 파이프라인이나 자동화 스크립트에서 활용하기 좋습니다.
#aws cli#s3#bucket#upload#permissions
recipe.md
aws s3 mb s3://my-unique-app-bucket-12345 && aws s3 cp ./app/index.html s3://my-unique-app-bucket-12345/index.html --acl public-read && aws s3api put-bucket-policy --bucket my-unique-app-bucket-12345 --policy '{"Version":"2012-10-17","Statement":[{"Sid":"PublicReadGetObject","Eff
0
스크랩
22
좋아요
0
댓글