Home [AWS Solution Architect] ELB (Elastic Load Balancer)
Post
Cancel

[AWS Solution Architect] ELB (Elastic Load Balancer)

ELB (Elastic Load Balancer)

  • Introduction
  • Rules of Traffic
  • Application Load Balancer (ALB)
  • Network Load Balancer (NLB)
  • Classic Load Balancer (CLB)
  • Sticky Sessions
  • X-Forwarded-For Header
  • Health Checks
  • Cross-Zone Load Balancing
  • Request Routing

Screen Shot 2022-01-29 at 12 58 43 PM Screen Shot 2022-01-29 at 12 59 08 PM Screen Shot 2022-01-29 at 12 59 29 PM Screen Shot 2022-01-29 at 1 00 13 PM Screen Shot 2022-01-29 at 1 01 12 PM Screen Shot 2022-01-29 at 1 01 39 PM Screen Shot 2022-01-29 at 1 02 30 PM Screen Shot 2022-01-29 at 1 03 02 PM Screen Shot 2022-01-29 at 1 04 04 PM Screen Shot 2022-01-29 at 1 05 01 PM Screen Shot 2022-01-29 at 1 05 58 PM Screen Shot 2022-01-29 at 1 06 59 PM Screen Shot 2022-01-29 at 1 07 53 PM Screen Shot 2022-01-29 at 1 09 05 PM


Screen Shot 2022-01-24 at 2 02 54 PM Screen Shot 2022-01-24 at 2 04 24 PM Screen Shot 2022-01-24 at 2 08 19 PM from AWS (01/24/2022)

  • key point : ์†Œ๊ฒฐํ•ฉ = ๊ฒฐํ•ฉ ํ•ด์ œ
  • ๊ฒฐํ•ฉ ํ•ด์ œ ์™€ high availability๋Š” ์—ฐ๊ณ„๋˜์–ด์žˆ์Œ

Screen Shot 2022-01-24 at 2 17 49 PM from AWS (01/24/2022)

  • ๋‚ด๊ฒฐํ•จ์„ฑ์ด ์žˆ๋‹ค : ์žฅ์• ๊ฐ€ ๋ฐœ์ƒํ•˜๋”๋ผ๋„ ์ „์ฒด ์‹œ์Šคํ…œ์€ ์žฅ์• ๊ฐ€ ๋ฐœ์ƒํ•˜์ง€ ์•Š์Œ (๋Š์Šจํ•œ ๊ฒฐํ•ฉ)
    • 2-tier architecture
      ์›น์„œ๋ฒ„๊ฐ€ ์•ฑ์„œ๋ฒ„๋ฅผ ์ง์ ‘์ ์œผ๋กœ ํ˜ธ์ถœํ•˜๋ฉด ์–‘์ชฝ ์ „์ฒด์— ์žฅ์• ๊ฐ€ ํ™•์‚ฐ๋  ์ˆ˜ ์žˆ์Œ (๋ฐ€๊ฒฐํ•ฉ๋œ ๊ฒƒ)
    • ์•ฑ์„œ๋ฒ„์— ์žฅ์• ๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด ๊ฒฉ๋ฆฌ์‹œํ‚ค๊ณ , ์›น์„œ๋ฒ„์˜ ์ •์ƒ์ ์ธ traffic๋“ค์„ load balancer๊ฐ€ ๋ถ„์‚ฐ์‹œํ‚ด

Screen Shot 2022-01-24 at 3 21 17 PM Screen Shot 2022-01-24 at 3 22 06 PM

  • ELB๊ฐ€ multi AZ์— ๋ถ„์‚ฐ์‹œ์ผœ์คŒ
  • AZ์— ์žˆ๋Š” ์šฉ๋Ÿ‰์„ ์ž๋™์œผ๋กœ ํ™•์žฅ, ์ถ•์†Œ ๊ฐ€๋Šฅํ•œ ๊ฒƒ = auto scaling
  • ํ™•์žฅ, ์ถ•์†Œํ•  ๋•Œ ์ƒํƒœ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ๊ฒŒ ํ•˜๋Š” ๊ฒƒ = cloud watch
  • ๋ชจ๋‹ˆํ„ฐ๋ง๋ฟ ์•„๋‹ˆ๋ผ ์ž„๊ณ„์ ์„ ๊ฑธ์–ด๋†“๊ณ  ์ดˆ๊ณผํ–ˆ์„ ๊ฒฝ์šฐ auto scaling policy๋กœ triggerํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒƒ = cloud watch alarm
  • Flow
    • ๋‹จ์ผ AZ์—์„œ ์žฅ์• ๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด?
      • ELB๊ฐ€ Health Check๋ฅผ ํ†ตํ•ด ํŒŒ์•…, stop traffic
        • AZ๊ฐ€ ์‚ฌ์šฉ์ด ๋ถˆ๊ฐ€ํ•˜๊ฒŒ ๋˜์–ด๋„ ELB์—์„œ ๊ทธ AZ๋กœ ๋ณด๋‚ด๋Š” ํ†ต๋กœ๋ฅผ ๋ด‰์‡„ํ•จ
      • ์ธ์Šคํ„ด์Šค ๊ฐœ์ˆ˜๋ฅผ ๋Š˜๋ฆฌ๋„๋ก cloud watch alarm์ด ์šธ๋ฆผ

Screen Shot 2022-01-24 at 3 24 10 PM

  • Answer : C

  • trigger : ์–ด๋Š ํŠน์ •ํ•œ ๋™์ž‘์— ๋ฐ˜์‘ํ•ด ์ž๋™์œผ๋กœ ํ•„์š”ํ•œ ๋™์ž‘์„ ์‹คํ–‰ํ•˜๋Š” ๊ฒƒ

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

This post is licensed under CC BY 4.0 by the author.

[AWS Solution Architect] EFS (Elastic File System)

[AWS Solution Architect] ASG (Auto Scaling Groups)

Comments powered by Disqus.