ASG (Auto Scaling Groups)
- Introduction
- Capacity Settings
- Health Check Replacements
- Scaling Policies
- Target tracking scaling policy
- Simple scaling policy & Scaling policy with steps
- Scaling with SQS
- ELB Integration
- Use Case
- Launch Configuration
- Autoscaling Groups Cheat Sheet
from AWS (01/24/2022)
- Key point : μμ²μ 90%, μ±λ₯SLA, 4κ°μ μΈμ€ν΄μ€λ‘ μμ²μ λΆμ°, μ±λ₯ μꡬ μ¬νμ μΆ©μ‘±, κ³ κ°μ©μ±
- (+) κ°μ© μμμ λλ¬ν μ μλ κ²½μ° (= νκ°μ κ°μ©μμμ΄ λ€μ΄λ¬μ κ²½μ° -> μλ¬Έ νμ νμ)
- a, b : λ¨μΌ AZλ μ 체 μλΉμ€κ° λ€ λ€μ΄λμ΄μ not correct
- recommend using
multi AZ
forhigh availability, scalability
- μμΈ μΌμ΄μ€ : cluster network serviceλ₯Ό λ§λ€ λλ§ λ¨μΌ AZ μ¬μ©μ μΆμ²
- recommend using
- c : 4κ°μ μλ²κ° 2κ°μ AZμ κ°κ° μλ 건μ§, λΆμ°λμ΄ μλ κ±΄μ§ μλ¬Έμμ ꡬ체μ μΌλ‘ νμΈν νμκ° μμ
- κ°κ°μ΄λΌλ©΄, λλ¨Έμ§ AZμ 4κ°μ μλ²κ° μκΈ° λλ¬Έμ λ§μ‘±
- d : 8κ° too much
** SLA : Service Level Agreement
Amazon EC2 Auto Scaling
- Scale up, down : μμ§μ μ‘°μ§
- the size of instance, the count of cpu core, memory, etc.
- Scale in, out : μνμ μ‘°μ
- the count of instances -> auto scaling (μνμ μ‘°μ μ μν κΈ°λ₯)
- multi AZμ λμΈ μ μμ
- ELB μ ν΅ν©ν΄μ μ¬μ© κ°λ₯
from AWS (01/24/2022)
- Amazon EC2 Auto Scaling
- κ°κ°μ μλΉμ€ λ³λ‘ scale up, down κ°λ₯
- EC2 cpu utilization / memory utilization / provisioned throughput like DynamoDB
- a : ELB
- c : cloudwatch
- d : SNS
- Answer : B, E, F
- Amazon EC2 Auto Scaling
- Amazon EC2 Instanceλ₯Ό μΆκ°, μ’ λ£νμ¬ λ³ννλ μν©μ λμν©λλ€.
- μ§μ λ AMIμμ Instanceλ₯Ό μμν©λλ€.
- μ€ν Amazon EC2 Instanceμ μ΅μ μλ₯Ό μ μ©ν©λλ€.
- Cloudwatch
- Role : 리μμ€ μνλ₯Ό νμ
- network : throughput (λ€νΈμν¬μ λ°μ΄ν°κ° μΌλ§λ μλ€κ°λ€ νκ³ μλκ°)
- μ¬μ©μ μ§μ μ§ν : application λ΄λΆμμ cloud watch μͺ½μΌλ‘, λͺ¨λν°λ§νκ³ μ νλ, κΈ°λ³Έμ μΌλ‘ hiperbizerμμ μμ§ν μ μλ μ΄μΈμ κ°λ 보λ΄μ€ (μΉμλ²μμλ λ΄λΆ session κ°μ, μ¬μ©μμ, etc / ec2μμλ memory μ¬μ©λ, etc)
- Amazon EC2 Auto Scaling
- Key point : 8κ°μ Amazon EC2 instance, νΈλν½μ΄ μΌμμ μΌλ‘ κΈμ¦, νμ 2κ°μ EC2 Instanceκ° νμ, κ°μ₯ λΉμ© ν¨κ³Όμ μΈ λ°©λ²
- Answer :γC
- a, d : μμΉ(cpu or memory utilization)λ₯Ό 보면μ νμ₯νλ κ²μ μ μλνμ§ μμ μλ μμ
- ex. μ΄λ―Έ cpuμ μ¬μ©λκ° μ΄κ³Όν μνμμ μ₯μ κ° λ°μν λ€μμ νμ₯λ μ μμ
- b : κ°μ₯ λΉμ© ν¨κ³Όμ μ΄μ§ μμ
Reference
AWS Certified Solutions Architect - Associate 2020 (PASS THE EXAM!), Youtube, uploaded by freeCodeCamp.org, 12/24/2019, https://www.youtube.com/watch?v=Ia-UEYYR44s
Comments powered by Disqus.