-
- Amazon Elastic Container Registry
- Docker 컨테이너 이미지를 저장하고 관리하는 서비스
Amazon ECR 시작 방법
EC2 인스턴스 OR 로컬 환경 에서 도커 설치, 이미지 생성하고 → 이를 ECR에 push
그럼 컨테이너는 뭐지? → EC2 상에서 컨테이너 실행
📌EC2는 (그냥) 빈 컴퓨터임
📌EC2에서 도커를 실행시켜! → ECS TASK에서 설정할수 있음
(TASK의 정의: 어떤 이미지 파일에서, 포트는 뭘 열고, 환경변수는 뭐고, 이런것들이 정의된 것)
이걸 EC2에서는 할 수 없음
EC2 + 쿠버네티스 = EKS
더 상위 개념 : ECS- ECS와의 차이점은?
- 컨테이너 오케스트레이션 서비스
- EC2 등에서 Docker 컨테이너의 배포, 관리, 확장을 자동화함
- 도커를 사용해 애플리케이션을 컨테이너화, 해당 이미지를 ECR에 업로드
- ECS를 이용하여 이러한 이미지를 EC2 인스턴스 위에서 실행하도록 조정하고 관리
'MLOps > AWS' 카테고리의 다른 글
[Sagemaker] Introduction (0) 2024.05.19 SageMaker 사이클 및 SDK 2.x 사용법 (0) 2024.02.29 SageMaker를 활용한 빅데이터 처리 및 훈련, 배포, 추론 수행 (2) 2024.02.27 AWS CLI 사용 & 파이썬 SDK boto 설치 (0) 2024.02.27