English Learning
AWS SAA 学习笔记
无麸质饮食记录
05-S3
type
status
date
slug
summary
tags
category
icon
password
S3
- S3: Simple Storage Service
- object storage
- can store file size up to 5T
- bucket
- name space is globally unique
- post to public
- permissions
- default block public access
- edit object ownership with acl(access control list)
- edit file to make public using acl
- two ways of access control
- acl: individual level
- bocket policy: entire bucket level
- host static website on S3
- open host website config
- upload files
- edit bucket policy to public
- versioning
- once you open it, it only can suspend but not close
- types
- s3 standard:
- s3 standard - infrequent access
- used for long-term storage / backups
- only store in one avaliablity zone
- s3 intelligenet-tiering
- support auto switch between frequent and infrequent access
- 3 glacier option
- glacier instant retrieval: once a year but need instantly access
- glacier flexible retrieval: minutes to 12 hours to retrieval: not prod databases
- glacier deep archive: up to 48 hours to retrieval: financial need
- life cycles
- auto switch the s3 types
- s3 object lock
- write once, read many
- prevent being deleted or modifiedd
- mode
- governance mode
- can still grant permissions to some users
- compliance mode
- can not modified by any user
- legal hold: prevent being modified without rentention period
- glacier vault lock
- easily deploy
- enforce compliance control
- encryption
- transit
- ssl / tls
- https
- server side
- SSE-S3: use AES
- SSE-KMS: key management service
- SSE-C: customer-provided keys
- client side
- encryption yourself
- use headers to enforce encryption in put object
- optimizing performance
- prefix: folder name
- spreading read across different prefixes
- use SSE—KMS to encrypt
- use KMS quota
- region specific
- cannot request a quota increase
- multipart upload
- should be use by file over 100MB
- must be use by file over 5g
- download
- byte-range fetches
- S3 replication
- replicate one bucket to another
- version must be enabled
- only the subsequent object will be replicated automatically
- delete markers are not replicated by default
Last update: 2024-04-04