S3 Section

-Amazon S3 is one of the main building blocks of AWS

AWS에서 가장 중요한 구성 요소 중 하나이다.

-it's advertised as "infinitely scaling" storage 무한히 확장 가능한 스토리지로 광고되고 있다.

크기를 사전에 프로비저닝 힐 필요가 없음

-Many websites use Amazon S3 as as backbone 많은 웹사이트가 S3를 중추로 사용하고 있다.

S3 - Buckets

-S3 allows people to store objects(files) in 'buckets' (directories) 객체를 저장하게 해주는 시스템이자 서비스.

-Buckets must have a <globally unique name> 반드시 고유한 이름을 가져야 함

-Buckets are defined at the region level 버킷은 리전 레벨에서 정의됨 (S3는 전역 서비스이지만 버킷은 리전 리소스)

Naming convention 이름 규칙

-No uppercase 대문자 X

-No underscore 언더바 금지

-3-63 characters long 3~63자

-Not an IP IP주소 금지

-Must start with lowercase letter or number 소문자나 숫자로 시작할 것.

-Objects (files) have a key 객체는 (파일로) 키를 가진다.

-The key is the FULL path: 파일의 전체 경로이다.

-만약 버킷 이름이 my-bucket이며, 객체 이름이 myfile.txt라고 할 경우 s3://my-bucket/myfile.txt 키는 myfile.txt이다.

-만약 S3 버킷 내에 폴더 구조가 있다면 키는 전체 경로이다.

ex)s3://my-bucket/myFolder/anotherFolder/myfile.txt my폴더부터가 전체 경로 키이다.

-The key is composed of prefix + object name 키는 2개로 구성되며 접두어와 객체 이름이다.

-s3://my-bucket/myFolder/anotherFolder/myfile.txt myFolder~anotherFolder는 접두어, myfile.txt 는 객체이름이다.

-There's no concept of "directories" within buckets (although the UI will trick you to think otherwise)

버킷 내에는 디렉터리 개넘이 없다. UI가 디렉터리가 있다고 우릴 헷갈리게 할 것이다.

-Just keys with very long names that contain slashes / S3에서 가질 수 있는 것은 /를 가진 매우 긴 이름의 키뿐이다.

-Object values are the content of the body:

-Max object Size is 5TB (5000GB) 객체의 최대 크기는 5TB

-if uploading more than 5GB, must use "multi-part upload' 한 번에 5GB 이상 업로드할 수 없다.

즉 5GB 이상 객체를 업로드 할 경우 5GB미만으로 나누어서 각각 업로드 해야 한다. 이를 멀티파트 업로드라고 한다.

-Metadata (list of text key / value pairs - system of user metadata)

S3의 각 객체는 키 페어의 리스트인 메타데이터가 있다. 이는 시스템이나 사용자 메타데이터에서 사용된다.

객체에 정보와 태그를 추가할 때 사용한다.

-Tags (Unicode key / value pair - up to 10) - useful for security / lifecycle

객체나 수명 주기 정책 관련 보안이 없는 경우 유용한 키 값 페어와 태그를 가질 수 있다.

-Version ID (if versioning is enabled) S3 객체에 버전 ID가 있다.

+ Recent posts