Search

S3

static

Name : wsi-<비번호>-<4자리영문>-web-static

퍼블릭 액세스 차단 해제

속성 메뉴에서 정적 호스팅 편집

정적 웹 사이트 호스팅 활성화 후 index.html 입력

GetObject 권한 추가

{ "Version": "2012-10-17", "Id": "Policy1736122925192", "Statement": [ { "Sid": "Stmt1736122924616", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::<BUCKET_NAME>/*" } ] }
JSON
복사

배포파일 업로드

정적 호스팅 확인

artifactory

Name : wsi-<비번호>-<4자리영문>-artifactory

퍼블릭 액세스 차단 해제

배포파일 업로드

정책 생성

{ "Version": "2012-10-17", "Id": "Policy1729055362", "Statement": [ { "Sid": "StmtDenyPutObject", "Effect": "Deny", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::<BUCKET_NAME>/*" }, { "Sid": "StmtAllowGetObject", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::<BUCKET_NAME>/*" } ] }
JSON
복사