1. S3 구축


1. Aws콘솔에서 S3구축

  1. S3 버킷이란?

image.png

  1. ACL(Access Control List) 개념
  2. ACL 활성화 vs 비활성화

image.png

ACL을 사용하여 퍼블릭으로 설정할 경우  객체URL로 열림

ACL을 사용하여 퍼블릭으로 설정할 경우 객체URL로 열림

2. CLI로 S3 구축

#버킷 생성
**aws s3 mb  s3://ce30-bucket-02 --region ap-northeast-2**

#로컬시스템 파일을 버킷에 업로드
**aws s3 cp index.html s3://ce00-bucket-02

#s3에서 파일 삭제**
aws s3 rm s3://**ce30-bucket-02**/index.html

#객체 ACL 설정
**aws s3api put-bucket-acl --bucket your-bucket-name --acl public-read**

image.png

image.png