> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ale.run/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS ECR 연동

> ale과 AWS ECR을 연동하는 가이드입니다.

***

## AWS ECR 주소 조회

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/setup/eks/images/05_01.png" />
</Frame>

> AWS ECR 콘솔에서 `Create repository` 클릭 후 Repository name 항목에서 다음과 같은 형태의 ECR 주소를 복사하세요.

* `[계정ID].dkr.ecr.[리전].amazonaws.com`

## 컨테이너 저장소 연결

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/ale-docs/setup/eks/images/05_02.png" />
</Frame>

> `ale` 운영 시스템의 **클러스터 > 설정 > 컨테이너 레지스트리 > 읽기/쓰기** 항목의 `컨테이너 저장소 연결하기`를 클릭하면 표시되는 **컨테이너 저장소 설정** 창에서 아래의 값들을 입력한 후 `연결하기`를 클릭하면 **ECR**이 연결됩니다.

* **저장소 제공자** : AWS Elastic Container Registry
* **접속 주소** : AWS ECR 리포지토리 이름의 `[ID].dkr.ecr.ap-northeast-2.amazonaws.com` 부분
* **aws access key ID** : [엑세스 키](/ko/registry/aws-ecr#2-access-key)
* **aws secret aceess key** : [비밀 엑세스 키](/ko/registry/aws-ecr#2-access-key)
* **region** : ECR이 위치한 리전 식별자 **(ex. ap-northeast-2)**
