ssl
-
한 ec2 인스턴스로 여러 서비스 배포하기 - 2 (컨테이너 배포 이후의 프로세스)Infra/aws 2024. 7. 20. 14:11
지난 포스트에서 작성한 배포 프로세스에서는 한 ec2 인스턴스에 여러 컨테이너를 올리는 작업이었다. 그럼 이제 위의 그림에서 백엔드 파트의 ELB 설정 혹은 NGINX 를 사용한 리버스 프록시를 통해배포된 컨테이너로 DNS 주소를 라우팅하는 과정을 기록하려 한다. 먼저 ELB 는 뭘까? AWS ELB (Elastic Load Balancing)은 클라우드 환경에서 여러 대의 EC2 인스턴스나 다양한 서비스들 사이에 트래픽을 분산시켜주는 서비스다.ELB는 사용자의 요청을 여러 EC2 인스턴스로 자동으로 분배하여 각 인스턴스의 부하를 고르게 분산시켜서비스의 가용성과 신뢰성을 높이는 역할을 한다.ELB의 종류나는 Application LoadBalancer 를 사용했는데 주요 기능부하 분산: ELB는 트래..