

# Amazon S3 Intelligent-Tiering을 사용한 스토리지 비용 관리
<a name="intelligent-tiering"></a>

S3 Intelligent-Tiering 스토리지 클래스는 액세스 패턴이 변경될 때 운영 오버헤드나 성능에 대한 영향 없이 데이터를 가장 비용 효율적인 액세스 계층으로 자동 이동하여 스토리지 비용을 최적화하도록 설계되었습니다. 약간의 월별 객체 모니터링 및 자동화 요금만 지불하면 S3 Intelligent-Tiering에서 액세스 패턴을 모니터링하고, 액세스되지 않은 객체를 저렴한 액세스 계층으로 자동으로 이동합니다.

S3 Intelligent-Tiering을 통해 대기 시간이 짧고 처리량이 높은 세 액세스 계층에서 스토리지 비용을 자동으로 절감할 수 있습니다. 비동기식으로 액세스할 수 있는 데이터의 경우 S3 Intelligent-Tiering 스토리지 클래스 내에서 자동 아카이브 기능을 활성화하도록 선택할 수 있습니다. S3 Intelligent-Tiering에는 검색 요금이 없습니다. 나중에 Infrequent Access 계층 또는 Archive Instant Access 계층의 객체에 액세스하면 이 객체는 자동으로 Frequent Access 계층으로 다시 이동합니다. 객체가 S3 Intelligent-Tiering 스토리지 클래스 내 액세스 계층 간에 이동될 때는 계층화 요금이 추가로 적용되지 않습니다.

S3 Intelligent-Tiering은 데이터 레이크, 데이터 분석 및 새 애플리케이션과 같이 객체 크기나 보존 기간에 관계없이 알 수 없거나 변경되거나 예측할 수 없는 액세스 패턴을 가진 데이터에 권장되는 스토리지 클래스입니다.

 S3 Intelligent-Tiering 스토리지 클래스는 다음을 포함한 모든 Amazon S3 기능을 지원합니다.
+ S3 인벤토리, 객체의 액세스 계층 확인용
+ S3 복제, 모든 AWS 리전에 데이터 복제용
+ S3 Storage Lens, 스토리지 사용량 및 활동 지표 보기용
+ 서버 측 암호화, 객체 데이터 보호용
+ S3 객체 잠금, 우발적인 데이터 삭제 방지용
+ AWS PrivateLink, Virtual Private Cloud(VPC)의 프라이빗 엔드포인트를 통한 Amazon S3 액세스용

S3 Intelligent-Tiering 사용에 대한 자세한 내용은 다음 섹션을 참조하세요.

**Topics**
+ [S3 Intelligent-Tiering 작동 방식](intelligent-tiering-overview.md)
+ [S3 Intelligent-Tiering 사용](using-intelligent-tiering.md)
+ [S3 Intelligent-Tiering 관리](intelligent-tiering-managing.md)

# S3 Intelligent-Tiering 작동 방식
<a name="intelligent-tiering-overview"></a>

Amazon S3 Intelligent-Tiering 스토리지 클래스는 3개의 액세스 계층에 객체를 자동으로 저장합니다. 한 계층은 빈도가 높은 액세스에 최적화되어 있고, 하나의 저렴한 계층은 빈도가 낮은 액세스에 최적화되어 있고, 또 다른 매우 저렴한 계층은 거의 액세스하지 않는 데이터에 최적화되어 있습니다. S3 Intelligent-Tiering은 저렴한 월별 객체 모니터링 및 자동화 요금으로 액세스 패턴을 모니터링하고 연속 30일 동안 액세스하지 않은 객체를 Infrequent Access 계층으로 자동 이동합니다. 90일 동안 액세스한 적이 없으면 성능 영향이나 운영 오버헤드 없이 객체가 Archive Instant Access 계층으로 이동됩니다.

몇 분에서 몇 시간 내에 액세스할 수 있는 데이터에 대한 스토리지 비용을 최소화하려면 아카이빙 기능을 활성화하여 액세스 계층을 두 개 추가하세요. 객체의 계층을 Archive Access 계층, Deep Archive Access 계층 또는 둘 다로 낮출 수 있습니다. Archive Access를 사용하면 S3 Intelligent-Tiering이 최소 연속 90일 동안 액세스하지 않은 객체를 Archive Access 계층으로 옮깁니다. Archive Access를 사용하면 S3 Intelligent-Tiering이 최소 연속 180일 동안 액세스하지 않은 객체를 Deep Archive Access 계층으로 옮깁니다. 두 계층 모두에 대해 필요에 따라 액세스되지 않아야 하는 기간(일)을 구성할 수 있습니다.

다음 작업은 객체를 Archive Access 계층 또는 Deep Archive Access 계층으로 계층화하지 못하게 하는 액세스에 해당합니다.
+ Amazon S3 콘솔을 통해 객체 다운로드 또는 복사
+ [https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)를 호출하거나 S3 Batch Replication을 사용하여 객체 복제. 이러한 경우 복사 또는 복제 작업의 소스 객체가 계층화됩니다.
+ [https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) 또는 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_SelectObjectContent.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_SelectObjectContent.html) 호출

예를 들어, 지정한 일수(예: 180일)가 지나기 전에 `SelectObjectContent`를 통해 객체에 액세스하는 경우 해당 작업으로 타이머가 재설정됩니다. 마지막 `SelectObjectContent` 요청이 지정한 기간(일)에 도달할 때까지 객체는 Archive Access 계층 또는 Deep Archive Access 계층으로 이동하지 않습니다.

나중에 Infrequent Access 계층 또는 Archive Instant Access 계층의 객체에 액세스하면 이 객체는 자동으로 Frequent Access 계층으로 다시 이동합니다.

다음 작업은 Infrequent Access 계층 또는 Archive Instant Access 계층에서 Frequent Access 계층으로 객체를 자동으로 이동하는 액세스를 구성합니다.
+ Amazon S3 콘솔을 통해 객체 다운로드 또는 복사
+ [https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)를 호출하거나 Batch Replication을 사용하여 객체 복제. 이러한 경우 복사 또는 복제 작업의 소스 객체가 계층화됩니다.
+ [https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) 또는 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) 간접 호출

이외 작업은 Infrequent Access 계층 또는 Archive Instant Access 계층에서 Frequent Access 계층으로 객체를 자동으로 이동하는 액세스를 구성하지 **않습니다**. 다음은 이러한 작업의 전체 목록이 아니라 샘플입니다.
+ [https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html), [https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions) 및 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateObjectEncryption.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateObjectEncryption.html) 간접 호출.
+ [https://docs.aws.amazon.com/AmazonS3/latest/API/API_SelectObjectContent.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_SelectObjectContent.html)를 호출해도 객체를 자주 액세스 계층까지 계층화하는 액세스는 구성되지 않음. 또한 Frequent Access 계층에서 Infrequent Access 계층으로 이어서 Archive Instant Access 계층으로 객체를 계층화하지 못하도록 막지는 않습니다.

`PutObject`, `CopyObject` 또는 `CreateMultipartUpload` 작업을 직접적으로 호출할 때 [x-amz-storage-class 요청 헤더](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#AmazonS3-PutObject-request-header-StorageClass)에 `INTELLIGENT-TIERING`을 지정하여 새로 생성된 데이터에 대한 기본 스토리지 클래스로 S3 Intelligent-Tiering을 사용할 수 있습니다. S3 Intelligent-Tiering은 99.9% 의 가용성과 99.999999999%의 내구성을 제공하도록 설계되었습니다.

**참고**  
객체의 크기가 128KB 미만이면 자동 계층화를 모니터링 및 사용할 수 없습니다. 작은 객체는 항상 Frequent Access 계층에 저장됩니다.

## S3 Intelligent-Tiering 액세스 계층
<a name="intel-tiering-tier-definition"></a>

다음 섹션에서는 다양한 자동 및 선택적 액세스 계층에 대해 설명합니다. 객체가 액세스 계층 간에 이동할 때 스토리지 클래스는 동일하게 유지됩니다(S3 Intelligent-Tiering).

Frequent Access 계층(자동)  
S3 Intelligent-Tiering에서 생성하거나 전환한 객체가 수명 주기를 시작하는 기본 액세스 계층입니다. 객체가 액세스되는 동안 이 계층에 남아 있습니다. Frequent Access 계층은 짧은 지연 시간 및 높은 처리량 성능을 제공합니다.

Infrequent Access 계층(자동)  
30일 연속으로 객체에 액세스하지 않으면 객체가 Infrequent Access 계층으로 이동합니다. Infrequent Access 계층은 짧은 지연 시간 및 높은 처리량 성능을 제공합니다.

Archive Instant Access 계층(자동)  
90일 연속으로 객체에 액세스하지 않으면 객체가 Archive Instant Access 계층으로 이동합니다. Archive Instant Access 계층은 짧은 지연 시간과 높은 처리량 성능을 제공합니다.

Archive Access 계층(선택 사항)  
S3 Intelligent-Tiering은 비동기식으로 액세스할 수 있는 데이터에 대해 Archive Access 계층을 활성화하는 옵션을 제공합니다. 활성화 후 Archive Access 계층은 최소 연속 90일 동안 액세스하지 않은 객체를 자동으로 아카이브합니다. 아카이브에 대한 마지막 액세스 시간을 최대 730일로 연장할 수 있습니다. Archive Access 계층의 성능은 [S3 Glacier Flexible Retrieval](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-glacier) 스토리지 클래스와 동일합니다.  
이 액세스 계층의 표준 검색 시간은 3\$15시간입니다. S3 배치 작업을 사용하여 복원 요청을 시작하는 경우 몇 분 내에 복원이 시작됩니다. 검색 옵션 및 시간에 대한 자세한 내용은 [S3 Intelligent-Tiering Archive Access 및 Deep Archive Access 계층에서 객체 복원](intelligent-tiering-managing.md#restore-data-from-int-tier-archive) 섹션을 참조하세요.  
Archive Instant Access 계층을 우회하려는 경우에만 90일 동안 Archive Access 계층을 활성화합니다. Archive Access 계층은 몇 분에서 몇 시간의 검색 시간과 함께 약간 더 저렴한 스토리지 비용을 제공합니다. Archive Instant Access 계층은 밀리초 단위의 액세스와 높은 처리량 성능을 제공합니다.

Deep Archive Access 계층(선택 사항)  
S3 Intelligent-Tiering은 비동기식으로 액세스할 수 있는 데이터에 대해 Deep Archive Access 계층을 활성화하는 옵션을 제공합니다. 활성화 후 Deep Archive Access 계층은 최소 연속 180일 동안 액세스하지 않은 객체를 자동으로 아카이브합니다. 아카이브에 대한 마지막 액세스 시간을 최대 730일로 연장할 수 있습니다. Deep Archive Access 계층의 성능은 [S3 Glacier Deep Archive](https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-glacier) 스토리지 클래스와 동일합니다.  
이 액세스 계층에 있는 객체의 표준 검색은 12시간 이내에 발생합니다. S3 배치 작업을 사용하여 복원 요청을 시작하는 경우 9시간 내에 복원이 시작됩니다. 검색 옵션 및 시간에 대한 자세한 내용은 [S3 Intelligent-Tiering Archive Access 및 Deep Archive Access 계층에서 객체 복원](intelligent-tiering-managing.md#restore-data-from-int-tier-archive) 섹션을 참조하세요.

**참고**  
애플리케이션에서 객체에 비동기적으로 액세스할 수 있는 경우에만 Archive Access 및 Deep Archive Access 계층을 활성화합니다. 검색 중인 객체가 Archive Access 또는 Deep Archive Access 계층에 저장되어 있는 경우 먼저 `RestoreObject` 작업을 사용하여 객체를 복원해야 합니다.  
S3 Intelligent-Tiering Archive Access 및 S3 Intelligent-Tiering Deep Archive Access에서 AWS 리전 및 계정당 최대 1,000개의 초당 트랜잭션(TPS) 객체 복원 요청을 사용하여 아카이브된 객체를 복원할 수 있습니다.

# S3 Intelligent-Tiering 사용
<a name="using-intelligent-tiering"></a>

S3 Intelligent-Tiering 스토리지 클래스를 사용하여 스토리지 비용을 자동으로 최적화할 수 있습니다. S3 Intelligent-Tiering은 액세스 패턴이 변화할 때 액세스 계층 사이에서 세분화된 객체 수준으로 데이터를 이동하여 자동 비용 절감 효과를 제공합니다. 비동기식으로 액세스할 수 있는 데이터의 경우 AWS Management Console, AWS CLI 또는 Amazon S3 API를 사용하여 S3 Intelligent-Tiering 스토리지 클래스 내에서 자동 아카이브 기능을 사용 설정하도록 선택할 수 있습니다.

## S3 Intelligent-Tiering으로 데이터 이동
<a name="moving-data-to-int-tiering"></a>

S3 Intelligent-Tiering에는 두 가지의 데이터 이동 방법이 있습니다. 콘솔에서 S3 Intelligent-Tiering으로 객체를 직접 업로드하거나 `PUT` 작업을 사용하여 프로그래밍 방식으로 업로드할 수 있습니다. 자세한 내용은 [객체의 스토리지 클래스 설정](sc-howtoset.md) 섹션을 참조하세요. 또한, S3 수명 주기 구성을 구성하여 객체를 S3 Standard 또는 S3 Standard-Infrequent Access에서 S3 Intelligent-Tiering으로 이전할 수도 있습니다.

### Direct PUT을 사용하여 S3 Intelligent-Tiering에 데이터 업로드
<a name="moving-data-to-int-tiering-directPUT"></a>

[PUT](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) API 작업을 사용하여 S3 Intelligent-Tiering 스토리지 클래스에 객체를 업로드할 경우 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax) 요청 헤더에 S3 Intelligent-Tiering을 지정합니다.

다음 요청은 `myBucket` 버킷에 이미지 `my-image.jpg`를 저장합니다. 요청은 `x-amz-storage-class` 헤더를 사용하여 객체가 S3 Intelligent-Tiering 스토리지 클래스를 사용하여 저장되도록 요청합니다.

**Example**  

```
PUT /my-image.jpg HTTP/1.1
Host: myBucket.s3.<Region>.amazonaws.com (http://amazonaws.com/)
Date: Wed, 1 Sep 2021 17:50:00 GMT
Authorization: authorization string
Content-Type: image/jpeg
Content-Length: 11434
Expect: 100-continue
x-amz-storage-class: INTELLIGENT_TIERING
```

### S3 수명 주기를 사용하여 S3 Standard 또는 S3 Standard - Infrequent Access에서 S3 Intelligent-Tiering으로 데이터 전환
<a name="moving-data-to-int-tiering-lifecycle"></a>

S3 수명 주기 구성에 규칙을 추가하여 Amazon S3이 객체를 하나의 스토리지 클래스에서 다른 스토리지 클래스로 전환하도록 유도할 수 있습니다. 지원되는 전환 및 관련 제약 조건에 대한 자세한 내용은 [S3 수명 주기를 사용하여 객체 전환](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html)을 참조하세요.

버킷 또는 접두사 수준에서 S3 수명 주기 구성을 지정할 수 있습니다. 이 S3 수명 주기 구성 규칙에서 필터는 키 접두사(`documents/`)를 지정합니다. 따라서 이 규칙은 `documents/` 및 `documents/doc1.txt`와 같은 키 이름 접두사 `documents/doc2.txt`가 있는 객체에 적용됩니다. 이 규칙은 생성된 지 0일 후에 객체를 S3 Intelligent-Tiering 스토리지 클래스로 전환하도록 Amazon S3에 지시하는 `Transition` 작업을 지정합니다. 이 경우 객체는 생성 후 자정 UTC에 S3 Intelligent-Tiering으로 전환할 수 있습니다.

**Example**  

```
<LifecycleConfiguration>
  <Rule>
    <ID>ExampleRule</ID>
    <Filter>
       <Prefix>documents/</Prefix>
    </Filter>
    <Status>Enabled</Status>
    <Transition>
      <Days>0</Days>
      <StorageClass>INTELLIGENT_TIERING</StorageClass>
    </Transition>
 </Rule>
</LifecycleConfiguration>
```

버전 관리가 사용 설정된 버킷은 하나의 현재 객체 버전과 0개 이상의 최신이 아닌 객체 버전을 유지합니다. 최신 객체 버전과 최신이 아닌 객체 버전에 대해 별도의 수명 주기 규칙을 정의할 수 있습니다.

자세한 내용은 [수명 주기 구성의 요소](intro-lifecycle-rules.md) 섹션을 참조하세요.

## S3 Intelligent-Tiering Archive Access 및 Deep Archive Access 계층 사용
<a name="enable-auto-archiving-int-tiering"></a>

몇 분에서 몇 시간 내에 액세스할 수 있는 데이터에 대한 가장 낮은 스토리지 비용을 얻기 위해 AWS Management Console, AWS CLI 또는 Amazon S3 API로 버킷, 접두사 또는 객체 태그별 구성을 생성하여 Archive Access 계층을 하나 또는 둘 다 활성화할 수 있습니다.

### S3 콘솔 사용
<a name="enable-auto-archiving-int-tiering-console"></a>

**S3 Intelligent-Tiering 자동 아카이브 사용 설정**

1. AWS Management Console에 로그인한 후 [https://console.aws.amazon.com/s3/](https://console.aws.amazon.com/s3/)에서 Amazon S3 콘솔을 엽니다.

1. **버킷** 목록에서 원하는 버킷의 이름을 선택합니다.

1. [**속성(Properties)**]을 선택합니다.

1. **S3 Intelligent-Tiering 아카이브 구성(S3 Intelligent-Tiering Archive configurations)** 섹션으로 이동하여 **구성 생성(Create configuration)**을 선택합니다.

1. **아카이브 구성 설정(Archive configuration settings)** 섹션에서 S3 Intelligent-Tiering 아카이브 구성에 대해 설명하는 구성 이름을 지정합니다.

1. **구성 범위 선택(Choose a configuration scope)**에서 사용할 구성 범위를 선택합니다. 필요한 경우 공유 접두사, 객체 태그 또는 이 둘의 조합을 사용하여 버킷 내의 지정된 객체로 구성 범위를 제한할 수 있습니다.

   1. 구성 범위를 제한하려면 **하나 이상의 필터를 사용하여 이 구성 범위 제한(Limit the scope of this configuration using one or more filters)**을 선택합니다.

   1. 단일 접두사를 사용하여 구성의 범위를 제한하려면 **접두사(Prefix)** 아래에 접두사를 입력합니다.

   1. 객체 태그를 사용하여 구성의 범위를 제한하려면 **태그 추가(Add tag)**를 선택하고 키 값을 입력합니다.

1. **상태(Status)**에서 **사용(Enable)**을 선택합니다.

1. **아카이브 설정(Archive settings)** 섹션에서 사용 설정할 Archive Access 계층 중 하나 또는 둘 다를 선택합니다.

1. **생성(Create)**을 선택합니다.

### AWS CLI 사용
<a name="enable-auto-archiving-int-tiering-cli"></a>

다음 AWS CLI 명령을 사용하여 S3 Intelligent-Tiering 구성을 관리할 수 있습니다.
+ [https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-bucket-intelligent-tiering-configuration.html](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-bucket-intelligent-tiering-configuration.html)
+ [https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-intelligent-tiering-configuration.html](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-intelligent-tiering-configuration.html)
+ [https://docs.aws.amazon.com/cli/latest/reference/s3api/list-bucket-intelligent-tiering-configurations.html](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-bucket-intelligent-tiering-configurations.html)
+ [https://docs.aws.amazon.com/cli/latest/reference/s3api/put-bucket-intelligent-tiering-configuration.html](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-bucket-intelligent-tiering-configuration.html)

AWS CLI 설정에 대한 지침은 **Amazon S3 API 참조의 [AWS CLI를 사용하여 Amazon S3에서 개발](https://docs.aws.amazon.com/AmazonS3/latest/API/setup-aws-cli.html)을 참조하세요.

AWS CLI를 사용할 경우 구성을 XML 파일로 지정할 수 없습니다. 대신 JSON을 지정해야 합니다. 다음은 XML S3 Intelligent-Tiering 구성과 AWS CLI 명령에서 지정할 수 있는 그에 상당하는 JSON의 예입니다.

다음 예제에서는 지정된 버킷에 S3 Intelligent-Tiering 구성을 배치합니다.

**Example [https://docs.aws.amazon.com/cli/latest/reference/s3api/put-bucket-intelligent-tiering-configuration.html](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-bucket-intelligent-tiering-configuration.html)**  

```
{
  "Id": "string",
  "Filter": {
    "Prefix": "string",
    "Tag": {
      "Key": "string",
      "Value": "string"
    },
    "And": {
      "Prefix": "string",
      "Tags": [
        {
          "Key": "string",
          "Value": "string"
        }
        ...
      ]
    }
  },
  "Status": "Enabled"|"Disabled",
  "Tierings": [
    {
      "Days": integer,
      "AccessTier": "ARCHIVE_ACCESS"|"DEEP_ARCHIVE_ACCESS"
    }
    ...
  ]
}
```

```
PUT /?intelligent-tiering&id=Id HTTP/1.1
Host: Bucket.s3.amazonaws.com
<?xml version="1.0" encoding="UTF-8"?>
<IntelligentTieringConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
   <Id>string</Id>
   <Filter>
      <And>
         <Prefix>string</Prefix>
         <Tag>
            <Key>string</Key>
            <Value>string</Value>
         </Tag>
         ...
      </And>
      <Prefix>string</Prefix>
      <Tag>
         <Key>string</Key>
         <Value>string</Value>
      </Tag>
   </Filter>
   <Status>string</Status>
   <Tiering>
      <AccessTier>string</AccessTier>
      <Days>integer</Days>
   </Tiering>
   ...
</IntelligentTieringConfiguration>
```

### PUT API 작업 사용
<a name="enable-auto-archiving-int-tiering-api"></a>

지정된 버킷에 대해 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html) 작업을 사용하고 버킷당 최대 1,000개의 S3 Intelligent-Tiering 구성을 구성할 수 있습니다. 공유 접두사 또는 객체 태그를 사용하여 버킷 내 객체를 Archive Access 계층에 적합하게 정의할 수 있습니다. 공유 접두사 또는 객체 태그로 사용함으로써 특정한 비즈니스 애플리케이션, 워크플로우, 또는 내부 조직에 맞춰 적용할 수 있습니다. 또한 Archive Access 계층, Deep Archive Access 계층 또는 둘 다를 활성화할 수 있습니다.

## S3 Intelligent-Tiering 시작하기
<a name="intelligent-tiering-tutorial"></a>

S3 Intelligent-Tiering을 사용하는 방법에 대한 자세한 내용은 [자습서: S3 Intelligent-Tiering 사용 시작하기](https://aws.amazon.com/getting-started/hands-on/getting-started-using-amazon-s3-intelligent-tiering/?ref=docs_gateway/amazons3/using-intelligent-tiering.html)를 참조하세요.

# S3 Intelligent-Tiering 관리
<a name="intelligent-tiering-managing"></a>

S3 Intelligent-Tiering 스토리지 클래스를 통해 지연 시간이 짧고 처리량이 높은 세 액세스 계층에서 스토리지 비용을 자동으로 절감할 수 있습니다. 또한 선택적인 아카이브 기능을 제공하여 몇 분에서 몇 시간 내에 액세스할 수 있는 데이터에 대해 클라우드에서 스토리지 비용을 최소화할 수 있습니다.

## 저장되어 있는 S3 Intelligent-Tiering 액세스 계층 식별
<a name="identify-intelligent-tiering-access-tier"></a>

[Amazon S3 인벤토리](storage-inventory.md)를 사용하여 S3 Intelligent-Tiering 액세스 계층을 포함한 객체 및 해당 메타데이터의 목록을 얻을 수 있습니다. S3 인벤토리는 객체와 해당 메타데이터가 나열된 CSV, ORC 또는 Parquet 출력 파일을 제공합니다. Amazon S3 버킷 또는 공유 접두사에 대해 매일 또는 매주 이러한 인벤토리 보고서를 받을 수 있습니다. (*공유 접두사*는 이름이 공통 문자열로 시작하는 객체를 나타냅니다.) 

## S3 Intelligent-Tiering 내에서 객체의 아카이브 상태 보기
<a name="identify-archive-status"></a>

S3 Intelligent-Tiering 스토리지 클래스 내의 객체가 Archive Access 계층 또는 Deep Archive Access 계층으로 이동할 때 알림을 받도록 S3 이벤트 알림을 설정할 수 있습니다. 자세한 내용은 [이벤트 알림 사용](how-to-enable-disable-notification-intro.md)을 참조하세요.

Amazon S3는 Amazon Simple Notification Service(Amazon SNS) 주제, Amazon Simple Queue Service(Amazon SQS) 대기열 또는 AWS Lambda 함수에 이벤트 알림을 게시할 수 있습니다. 자세한 내용은 [Amazon S3 이벤트 알림](EventNotifications.md) 섹션을 참조하세요.

다음은 Amazon S3에서 `s3:IntelligentTiering` 이벤트를 게시하기 위해 전송하는 메시지의 예입니다. 자세한 내용은 [이벤트 메시지 구조](notification-content-structure.md) 섹션을 참조하세요.

```
 1. {  
 2.    "Records":[  
 3.       {  
 4.          "eventVersion":"2.3",
 5.          "eventSource":"aws:s3",
 6.          "awsRegion":"us-west-2",
 7.          "eventTime":"1970-01-01T00:00:00.000Z",
 8.          "eventName":"IntelligentTiering",
 9.          "userIdentity":{  
10.             "principalId":"s3.amazonaws.com"
11.          },
12.          "requestParameters":{  
13.             "sourceIPAddress":"s3.amazonaws.com"
14.          },
15.          "responseElements":{  
16.             "x-amz-request-id":"C3D13FE58DE4C810",
17.             "x-amz-id-2":"FMyUVURIY8/IgAtTv8xRjskZQpcIZ9KG4V5Wp6S7S/JRWeUWerMUE5JgHvANOjpD"
18.          },
19.          "s3":{  
20.             "s3SchemaVersion":"1.0",
21.             "configurationId":"testConfigRule",
22.             "bucket":{  
23.                "name":"amzn-s3-demo-bucket",
24.                "ownerIdentity":{  
25.                   "principalId":"A3NL1KOZZKExample"
26.                },
27.                "arn":"arn:aws:s3:::amzn-s3-demo-bucket"
28.             },
29.             "object":{  
30.                "key":"HappyFace.jpg",
31.                "size":1024,
32.                "eTag":"d41d8cd98f00b204e9800998ecf8427e",              
33.             }
34.          },
35.          "intelligentTieringEventData":{
36.             "destinationAccessTier": "ARCHIVE_ACCESS"
37.             }
38.       }
39.    ]
40. }
```

또한 [`HEAD` 객체 요청](https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html)을 사용하여 객체의 아카이브 상태를 볼 수 있습니다. 객체가 S3 Intelligent-Tiering 스토리지 클래스에 저장되고 아카이브 계층 중 하나에 있는 경우 `HEAD` 객체 응답에 현재 아카이브 계층이 표시됩니다. 아카이브 계층을 표시하기 위해 요청은 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseElements](https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseElements) 헤더를 사용합니다.

다음 `HEAD` 객체 요청은 객체의 메타데이터(이 예에서 `my-image.jpg`)를 반환합니다.

**Example**  

```
HEAD /my-image.jpg HTTP/1.1
Host: bucket.s3.region.amazonaws.com
Date: Wed, 28 Oct 2009 22:32:00 GMT
Authorization: AWS AKIAIOSFODNN7EXAMPLE:02236Q3V0RonhpaBX5sCYVf1bNRuU=
```

또한 `HEAD` 객체 요청을 사용하여 `restore-object` 요청의 상태를 모니터링할 수 있습니다. 아카이브 복원이 진행 중인 경우 `HEAD` 객체 응답에는 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseElements](https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseElements) 헤더가 포함됩니다.

다음 샘플 `HEAD` 객체 응답에서는 복원 요청이 진행 중인 S3 Intelligent-Tiering을 사용하여 아카이브된 객체를 보여줍니다.

**Example**  

```
HTTP/1.1 200 OK
x-amz-id-2: FSVaTMjrmBp3Izs1NnwBZeu7M19iI8UbxMbi0A8AirHANJBo+hEftBuiESACOMJp
x-amz-request-id: E5CEFCB143EB505A
Date: Fri, 13 Nov 2020 00:28:38 GMT
Last-Modified: Mon, 15 Oct 2012 21:58:07 GMT
ETag: "1accb31fcf202eba0c0f41fa2f09b4d7"
x-amz-storage-class: 'INTELLIGENT_TIERING'
x-amz-archive-status: 'ARCHIVE_ACCESS'
x-amz-restore: 'ongoing-request="true"'
x-amz-restore-request-date: 'Fri, 13 Nov 2020 00:20:00 GMT'
Accept-Ranges: bytes
Content-Type: binary/octet-stream
Content-Length: 300
Server: AmazonS3
```

## S3 Intelligent-Tiering Archive Access 및 Deep Archive Access 계층에서 객체 복원
<a name="restore-data-from-int-tier-archive"></a>

S3 Intelligent-Tiering Archive Access 및 Deep Archive Access 계층의 객체에 액세스하려면 [복원 요청](https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects.html)을 시작하고 객체가 Frequent Access 계층으로 이동할 때까지 기다려야 합니다. 아카이브된 객체에 대한 자세한 정보는 [아카이브된 객체 작업](archived-objects.md) 단원을 참조하세요.

Archive Access 계층 또는 Deep Archive Access 계층에서 객체를 복원하면 객체가 Frequent Access 계층으로 다시 전환됩니다. 이후 30일 연속으로 객체에 액세스하지 않으면 자동으로 Infrequent Access 계층으로 이동합니다. 액세스하지 않은 기간이 최소 연속 90일이 넘으면 Archive Access 계층으로 이동합니다. 액세스하지 않은 기간이 최소 연속 180일이 넘으면 Deep Archive Access 계층으로 이동합니다. 자세한 내용은 [S3 Intelligent-Tiering 작동 방식](intelligent-tiering-overview.md) 섹션을 참조하세요.

Amazon S3 콘솔, S3 배치 작업, Amazon S3 REST API, AWS SDK 또는 AWS Command Line Interface(AWS CLI)를 사용하여 아카이브된 객체를 복원할 수 있습니다. 자세한 내용은 [아카이브된 객체 작업](archived-objects.md) 섹션을 참조하세요.