스터디/Architecting on AWS(12)
-
모듈 12 : 엣지 서비스
- AWS 엣지 컴퓨팅 서비스는 필요에 따라 엔드포인트에 가깝게 데이터 처리 및 분석 기능을 제공 # Route 53 - DNS, 도메인 이름 등록 및 상태 확인 기능 제공 - EC2, ELB, S3, CloudWatch 등과 효율적으로 연결 # Route53 라우팅 정책 - 단순 라우팅 정책 : 도메인 관련하여 특정 리소스 하나에 사용. 웹서버 등 이용 - 장애 조치 라우팅 정책 : 액티브-패시브 장애 조치 구성하는 경우 사용 - 지리적 위치 라우팅 정책 : 사용자 위치 기준으로 트래픽을 라우팅하는 경우 사용 - 지리 근접 라우팅 정책 : 리소스 위치를 기반으로 트래픽을 라우팅하고, 선택적으로 한 위치 리소스에서 다른 리소스로 트래픽을 이동하려는 경우 사용 - 지연 시간 라우팅 정책 : 여러 AWS 리..
2023.08.28 -
모듈 11 : 서버리스
# 서버리스 # API Gateway - 애플리케이션을 위한 진입점 생성 - 수천 건의 동시 API 호출 처리 - 인터넷 연결 또는 내부 트래픽만 선택 - API 생성, 게시, 유지 관리, 모니터링, 보호 가능 - AWS 서비스와 기타 퍼블릭 또는 프라이빗 서비스 연결 가능 - 모바일 또는 웹앱 AWS 서비스 및 호스팅, RESTful, HTTP API 지원 # SQS - 메시지 큐 - 수십억 건의 메시지 처리 - 여러 이중와 가용 영역 사용 - 애플리케이션 구성 요소 느슨하게 결합 가능 - 비동기식 처리에 사용 - 실패한 단계에 대한 내결합성 제공 - 급증하는 수요 처리 기능 # SQS 대기열 유형 - 표준 대기열 : 최소 1회 메시지 전송 지원, 최선 정렬, 일반적으로 수신된 순서와 동일한 순서이나,..
2023.08.28 -
모듈 10 : 네트워킹 2
# VPC 엔드포인트 - VPC 엔드포인트는 VPC와 지원되는 AWS 서비스 간의 신뢰할 수 있는 경로를 제공 - NAT, VPN, 인터넷 게이트웨이 등 연결이 필요하지 않음 - VPC 인스턴스는 서비스의 리소스와 통신하는 데 퍼블릭 IP 주소를 필요로 하지 않음 - VPC를 사용하지 않으면 VPC는 인터넷 게이트웨이 및 NAT, 퍼블릭 IP 주소가 있어야 VPC 외부에서 서버리스 서비스에 엑세스 가능 # 게이트웨이 및 인터페이스 VPC 엔드포인트 ## 게이트웨이 엔드포인트 - 라우팅 테이블에 있는 경로의 지원 대상. 고객이 지정하는 게이트웨이 - 라우팅 테이블은 경로를 사용하여 각 엔드포인트를 통해 요청 전송 - AWS 서비스로 전송되는 트래픽 대상 - S3, DynamoDB 지원 - 무료 ## 인터페..
2023.08.28 -
모듈 9 : 컨테이너
# AWS에서 컨테이너 실행 - 레지스트리 : 컨테이너화된 애플리케이션을 개발시 컨테이너를 실행하는 데 필요한 모든 항목이 포함된 컨테이너 이미지를 구축 - 오케스트레이션 도구 : 컨테이너화된 애플리케이션을 규모에 맞게 관리. 컨테니어 크기 조정, 네트워킹 및 유지 관리 작업 관리 -- EKS 는 K8s 컨테이너 오케스트레이션 SW 관리형 서비스 -- ECS 는 컨테이너 배포를 위한 관리된 모델 제공 - 컨테이너 호스팅 : 오케스트레이션 도구가 컨테이너를 호스트하는데 사용하는 컴퓨팅 리소스 -- EC2 : 비용 효율적, 효과적인 제어 가능 -- Fargate : 컨테이너를 지원하기 위해 CPU 및 메모리 리소스를 자동으로 할당하는 서버리스 호스팅 서비스. 기본 컴퓨팅 리소스를 프로비저닝하거나 관리한 필요..
2023.08.28 -
모듈 8 : 자동화
# 코드형 인프라 IaC - 클라우드 리소스를 간편하게 배포 가능. - 코드를 사용하여 인프라 정의, 배포, 구성, 업데이트, 제거 수행 - 템풀릿 : 배포할 리소스를 설명 및 정의하는 텍스트 파일 ### IaC 사용 시 이점 - 빠른 속도와 높은 안정성 - 재사용성 - 문서 및 버전 제어 - 유효성 검사 # CloudFormation - Aws에서 제공하는 IaC - Git 등 버전관리 툴을 사용하여 제어 가능 - Json, Yml로 작성 # 스택 - 단일 단위로 관리되는 AWS 리소스 모음 - 하나의 단위로 배포/삭제 가능 - 실행중의 수택에서 리소스 설정 및 업데이트 가능 - 계층형으로 중첩 관리 가능 # 인프라 도구 ## Elastic Beanstalk - 개발자 도구와 통합. - 애플리케이션 수..
2023.08.28 -
모듈 7 : 모니터링 및 크기 조정
# 모니터링 필요성 # CloudWatch - 지표 및 로그를 실시간으로 수집 - 모니터링 데이터를 한 위치에서 엑세스 - 경보 생성/ 알림 전송 - 규칙에 따라 리소스 용량 변경 - 대시보드 생성 # 로드 벨런싱 - Elactic Load Balancing (ELB) - 여러 대상에 자동으로 트래픽 분산 - 고가용성, 보안 기능, 상태 확인 제공 # ELB 유형 - Application Load Balancer(ALB) : 애플리케이션 계층에서 작동, 컨텐츠 기반 라우팅 - Network Load Balancer : 전송 계층 작동, 높은 처리량, 짧은 지연 시간 유지 - Gateway Load Balancer : 서드 파티 가상 어플라이언스를 배포, 크기조정, 관리 # ELB 구성 요소 - 여러 가용..
2023.08.28