스터디/AWS Study(13)
-
Auto Scaling Group
클라우드에서는 웹사이트나 애플리케이션을 로드하는 방법이 달라집니다. 서버를 생성하거나 삭제하는게 매우 빨라지죠 오토 스케일링 그룹의 목표는 다음과 같습니다 - 로드가 증가될 때 스케일 아웃(EC2 인스턴스 추가) - 로드가 감소할 때 스케일 인(EC2 인스턴스 삭제) - 가용할 수 있는 머신의 최대 최소 수 확인 - 로드밸런서에 새 인스턴스 자동 등록 오토 스케일링 그룹의 특징 a) AMI + Instance Type b) EC2 User Data c) EBS Volumes d) Security Groups e) SSH Key Pair - Min Size / Max Size / Initial Capacity - Network + Subnets Information - Load Balancer Inform..
2020.02.09 -
마이크로서비스란?
마이크로서비스는 소프트웨어가 잘 정의된 API를 통해 통신하는 소규모의 독립적인 서비스로 구성되어 있는 경우의 소프트웨어 개발을 위한 아키텍처 및 조직적 접근 방식이다. 마이크로서비스 아키텍처의 경우, 애플리케이션이 독립적인 구성 요소로 구축되어 각 애플리케이션 프로세스가 서비스로 실행된다. 이러한 서비스는 경량 API를 사용하여 잘 정의된 인터페이스를 통해 통신한다. 서비스는 비즈니스 기능을 위해 구축되며 서비스마다 한 가지 기능을 수행한다. 서비스가 독립적으로 실행되기 때문에 애플리케이션의 특정 기능에 대한 수요를 충족하도록 각각의 서비스를 업데이트, 배포 및 확장할 수 있다. 기존의 모놀리식 아키텍처의 경우는 모든 프로세스가 긴밀하게 결합되고 단일 서비스로 실행된다. 따라서 애플리케이션의 한 프로세..
2020.02.08 -
Load Balancers for Solutions Architect
Classic Load Balancers: questions on security groups, stickiness Application Load Balancer (Layer 7 of OSI): - Support routing based on hostname (users.example.com & payments.example.com) - Support routing based on path (example.com/users & example.com/payments) - Support redirects (from HTTP to HTTPS for example) - Support dynamic host port mapping with ECS NLB(Layer 4 of OSI) gets a static IP ..
2020.02.05 -
Load Balancer Stickiness
It is possible to implement stickiness so that the same client is always redirected to the same instance behind a load balancer This works for Classic Load Balancers & Application Load Balaners The "cookie" used for stickiness has an expiration date you control Use case: make sure the user doesn't lose his session data -> without this when you talk to another server, you will lose your state Ena..
2020.02.05 -
Load Balancing
Load balancers are servers that forward internet traffic to multiple servers (EC2 Instances) downstream Why use a load balancer? - Spread load across multiple downstream instances - Expose a single point of access (DNS) to your application - Seamlessly handle failures of downstream instances - Do regular health checks to your instances - Provice SSL termination (HTTPS) for your websites - Enforc..
2020.02.02 -
Scalability & High Availability
Scalability means that an application / system can handle greater loads by adapting There are two kinds of scalability: a) Vertical Scalability b) Horizontal Scalability (= elasticity) Scalability is linked but different to High Availability Vertical Scalability It means increasing the size of the instance For example, your application runs on a t2.micro Scaling that application vertically means..
2020.02.02