[AWS SAA-C03] Amazon S3 Versioning 알아보기 [GPT에게 물어보다]
Nowhere 와 Now here 의 차이

IT/Cloud

[AWS SAA-C03] Amazon S3 Versioning 알아보기 [GPT에게 물어보다]

TIENE 2023. 7. 25. 23:26
반응형

 

 

https://huggingface.co/spaces/stabilityai/stable-diffusion

목차

[Amazon S3 Versioning 알아보기]

1. Amazon S3 Versioning 이란?

2. Amazon S3 Versioning 특징


1. Amazon S3 Versioning 이란?

 

Amazon S3 Versioning is a feature provided by Amazon Simple Storage Service (S3) that allows you to keep multiple versions of an object (file) in a bucket over time. Each time you update an object, instead of replacing it, S3 stores a new version of the object, which allows you to preserve and retrieve all versions of the object from the past.

 

Amazon S3 Versioning은 bucket안에 시간이 지나면서 생성되는 다수의 버전의 object(file)을 보관할 수 있도록 Amazon S3가 제공하는 특징이다. 매번, object를 업데이트할 때마다, 교체하는 것 대신, S3는 새로운 버전의 object를 저장하는데, 이것은 과거부터 생성된 모든 버전의 object를 보존하고 다시 가져올 수 있도록 한다. 


Imagine you have a notebook where you write and erase things, but with S3 Versioning, you don't have to erase anything permanently. Instead, every time you make changes to the notebook, you keep the old version and save the new version with a label showing the update date.

 

당신에게 쓰고 지울 수 있는 공책이 있다고 해보자. S3 Versioning을 사용하면, 영원히 어느 것도 지울 필요가 없다. 대신에 매번 공책에 변화를 주면서, 업데이트 날짜가 보이는 라벨이 부착된 새로운 버전은 저장하고 오래된 버전은 보관한다.

 


Here's how S3 Versioning works:

1. **Creation of Objects:** When you upload an object (file) to an S3 bucket for the first time, it becomes the "current version" of that object.

 

Object 생성
- 처음으로 S3 bucket에 object(file)을 업로드할 때, 업로드하는 object이 현재 버전이 된다. 


2. **Updates and Deletes:** When you make changes to an existing object in the bucket or delete it, S3 keeps the previous version and marks it as an "older version." The updated object becomes the new "current version."

 

업데이트와 삭제
- bucket 안에 이미 존재하는 object에 변화를 주거나 삭제할 때, S3는 이전 버전은 보관하면서 "오래된 버전" 이라고 표시한다. 업데이트된 object는 새로운 "현재 버전"으로 변한다.


3. **Retrieval of Versions:** With versioning enabled, you can access any previous version of the object in addition to the current version. You can retrieve the specific version you need based on the version ID or timestamp.

 

버전 검색
- Versioning이 켜져있으면, 현재 버전와 함께 모든 이전 버전의 object에 접속할 수 있다. version ID나 타임스탬프에 근거하여 필요한 특정 버전을 검색할 수 있다. 


4. **MFA (Multi-Factor Authentication) Delete:** You can also enable MFA Delete on the bucket, which adds an extra layer of security. With MFA Delete enabled, you need to provide an additional authentication code (from a separate device) to permanently delete a version or disable versioning.

 

MFA 삭제
- 또한, bucket에서 MFA Delete 기능을 켤 수 있다. 기능을 켜면, 보안 계층이 추가된다. MFA Delete가 켜지면, 영구적으로 버전을 삭제하거나 versioning 기능을 끄기 위해서, 추가적인 인증 코드 제공이 필요하다.

2. Amazon S3 Versioning 특징

 

- **Accidental Deletion:** It helps protect against accidental deletions of objects since deleted objects are retained as older versions.

 

삭제 사고
- 삭제된 object는 오래된 버전으로 유지되었기 때문에 사고로 인한 삭제를 방지할 수 있다.

 

- **Data Recovery:** It allows you to recover data if it gets overwritten or deleted.

 

데이터 복구
- 데이터를 덮어쓰거나 삭제되면, 데이터를 복구한다.


- **Data History and Auditing:** You can keep a historical record of changes made to objects over time, which is useful for auditing purposes.

 

데이터 히스토리 및 감사
- 시간이 흐르면서 생성되는 object에 일어난 변화에 대해서 히스토리를 보관할 수 있으며, 감사에 유용하다.

 

- **Rollback and Rollforward:** You can easily revert to a previous version of an object or choose which version you want to use. 

 

롤백과 롤포워드
- object의 이전 버전으로 롤백하거나 사용하길 원하는 버전을 선택할 수 있다.


However, keep in mind that versioning does impact your storage costs, as each version of an object is billed separately. So, it's essential to manage your versioning strategy carefully based on your specific use case and retention needs.

 

명심할 것은 각 object의 버전은 각기 계산되기 때문에, versioning은 스토리지 요금에 영항을 줄 수 있다. 따라서, 특정한 용례에 따라서 세세한 versioning 관리 전략을 세우는 것이 필수적이다. 

반응형