S3 Replication (CRR & SRR)
Must enable versioning in source and destination
Cross Region Replication (CRR)
Same Region Replication (SRR)
Bucekts can be in different accounts
Copying is asynchronous
Must give proper IAM permissions to S3
CRR use cases: compliance, lower latency access, replication across accounts
SRR use cases: log aggregation, live replication between production and test accounts
소스 및 대상 버킷에 버저닝을 활성화 해야 한다.
CRR은 다른 리전에도 이동할 수 있는 것.
SRR은 같은 리전에서 이동할 수 있는 것.
버킷이 다른 AWS 계정에 있을 수도 있다.
복제는 비동기식으로 백그라운드에서 이루어진다.
S3에 적절한 IAM 권한을 제공해야 한다.
CRR 사용사례로 규정 준수 /액세스 시 지연시간 단축 / 계정 간 복제 등이 있다.
SRR 사용사례로 로그 집계 / 프로덕션 및 테스트 계정 간의 실시간 복제 또는 재해 복구
S3 Replication - Notes
After activating, only new objects are replicated
Optionally, you can replicate existing objects using S3 Batch Replication
-Replicates exising objects and objects that failed replication
For DELETE operations:
-can replicate delete markers from source to target (optional setting)
-Deletions with a version ID are not replicated (to avoid malicious deletes)
There is no "chaining" of replication
-If bucket 1 has replication in to bucket 2, which has replication into bucket 3
-Then objects created in bucket 1 are not replicated to bucket 3
S3 복제를 활성화하면
활성화한 뒤 새 개체만 복제됩니다.
선택적으로 S3 배치 복제를 사용하여 기존 개체를 복제할 수 있습니다.
- 복제에 실패한 기존 개체 및 개체를 복제합니다.
삭제 작업의 경우:
- 삭제 마커를 소스에서 대상으로 복제할 수 있습니다(옵션 설정).
- 버전 ID가 있는 삭제는 복제되지 않습니다(악의적인 삭제를 방지하기 위해).
Chainig 복제가 없다.
버킷 1을 버킷2에 복제했으면 버킷3에는 복제되지 않는다.
'Cloud > AWS' 카테고리의 다른 글
S3 Lifecycle Rules S3 수명 주기 규칙 / S3 Analytics - Storage Class Analysis (0) | 2022.11.20 |
---|---|
S3 Pre-Signed URLs (사전 서명된 URL) / S3 Storage class (0) | 2022.11.19 |
(AI스쿨 보안트랙)S3 MFA-Delete / S3 Default Encryption vs Bucket Policies / S3 Access Logs (0) | 2022.11.16 |
AWS EC2 Instance Metadata (EC2 인스턴스 메타데이터) (0) | 2022.11.13 |
AWS Certified Cloud Practitioner 합격 후기 (0) | 2022.11.13 |