Banner

My Tech Blog (Amazon)

์˜ค๋Š˜์˜ ๋ช…์–ธ
" ์ž์œ ๋Š” ๊ฒฐ์ฝ” ์ธ๊ฐ„์ด ํƒ€๊ณ ๋‚œ ๊ฒƒ์ด ์•„๋‹ˆ๋‹ค. ๊ทธ๊ฒƒ์€ ์ธ๋‚ด์™€ ์šฉ๊ธฐ์™€ ํฌ์ƒ์„ ํ†ตํ•ด ์–ป์–ด์ง€๋Š” ๊ฒƒ์ด๋‹ค. "
- ์—์ด๋ธŒ๋Ÿฌํ–„ ๋ง์ปจ (๋ฏธ๊ตญ 16๋Œ€ ๋Œ€ํ†ต๋ น)
ยท AWS
1. Cross-Zone Load Balancing๊ต์ฐจ ์˜์—ญ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์‹ฑ์€ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ๊ฐ€ ๊ฐ€์šฉ ์˜์—ญ(AZ)์— ์ƒ๊ด€์—†์ด ๋ชจ๋“  ์ธ์Šคํ„ด์Šค์— ํŠธ๋ž˜ํ”ฝ์„ ๊ท ๋“ฑํ•˜๊ฒŒ ๋ถ„๋ฐฐํ•˜๋Š” ๊ธฐ๋Šฅ์ด๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ํ•œ์ชฝ ๊ฐ€์šฉ ์˜์—ญ์— EC2 ์ธ์Šคํ„ด์Šค 2๊ฐœ, ๋‹ค๋ฅธ ์ชฝ ๊ฐ€์šฉ ์˜์—ญ์— 8๊ฐœ๊ฐ€ ์žˆ๋‹ค๋ฉด, ์ผ๋ฐ˜์ ์œผ๋กœ ํŠธ๋ž˜ํ”ฝ์€ ์ธ์Šคํ„ด์Šค ๊ฐœ์ˆ˜์— ๋”ฐ๋ผ ๋‚˜๋‰œ๋‹ค. ํ•˜์ง€๋งŒ ๊ต์ฐจ ์˜์—ญ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์‹ฑ์„ ์‚ฌ์šฉํ•˜๋ฉด, ๋ชจ๋“  ์ธ์Šคํ„ด์Šค๊ฐ€ ๋™์ผํ•œ ์–‘์˜ ํŠธ๋ž˜ํ”ฝ์„ ๋ฐ›๋Š”๋‹ค.With Cross Zone Load Balancing:each load balancer instance distributes evenly  across all registered instances in all AZ์ž‘๋™ ๋ฐฉ์‹ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ(ALB)์— ํŠธ๋ž˜ํ”ฝ์„ ๋ณด๋‚ธ๋‹ค.๊ฐ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ ์ธ์Šคํ„ด์Šค๋Š” ๋ชจ๋“  ๊ฐ€์šฉ..
ยท AWS
1. Sticky Sessions (Session Affinity)๊ณ ์ • ์„ธ์…˜ ๋˜๋Š” ์„ธ์…˜ ๋ฐ€์ ‘์„ฑIt is possible to implement stickiness so that the same client is alwyas redirected to the same instance behind a load balancerThis works for Classic Load Balancers & Application Load BalancersThe "cookie" used for stickiness has an expiration date you control Use case: make sure the user doesn't lose his session dataEnabling stickiness may bri..
ยท AWS
1. Gateway Load Balancerโ–  deploy, scale, and manage a fleet of 3rd party network virtual appliances in AWS๋ฐฐํฌ ๋ฐ ํ™•์žฅ๊ณผ AWS์˜ ํƒ€์‚ฌ ๋„คํŠธ์›Œํฌ์˜ ๊ฐ€์ƒ ์–ดํ”Œ๋ผ์ด์–ธ์Šค ํ”Œ๋ฆฟ ๊ด€๋ฆฌ์— ์‚ฌ์šฉ๋œ๋‹ค.โ–  Example: Firewalls, Intrusion Detection and Prevention Systems, Deep Packet Inspection Systems, payload manipulationGWLB์˜ ์—ญํ• ์€ ํŠธ๋ž˜ํ”ฝ์„ ๋ฐฉํ™”๋ฒฝ์ด๋‚˜ ์นจ์ž… ํƒ์ง€ ์‹œ์Šคํ…œ(์–ดํ”Œ๋ผ์ด์–ธ์Šค)๋กœ ์ „๋‹ฌํ•˜๋Š” ๊ฒƒ์ด๋‹ค.โ–  Operates at Layer 3 (Network Layer) - IP Packets ๋ชจ๋“  ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ๋ณด๋‹ค ๋‚ฎ์€ ์ˆ˜์ค€์—์„œ ์‹คํ–‰๋œ๋‹ค. - I..
ยท AWS
1. Network Load Balancer (v2)Network load balancers (Layer 4) allow to:- Forward TCP & UDP traffic to your instances  - Handle millions of request per seconds- Less latency ~100 ms (vs 400 ms for ALB)NLB has one static IP per AZ, and supports assigning Elastic IP(helpful for whitelisting specific IP)NLB are used for extreme performance, TCP or UDP trafficNot included in the AWS free tier์‹œํ—˜๋ฌธ์ œ์— ๊ณ ์„ฑ..
ยท AWS
1. Application Load Balancer (v2)Application load balancers is Layer 7 (HTTP)Load balancing to multiple HTTP applications across machines (target groups)Load balancing to multiple applications on the same machine (ex: containers)(๋™์ผ EC2 ์ธ์Šคํ„ด์Šค ์ƒ์˜ ์—ฌ๋Ÿฌ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ๋ถ€ํ•˜๋ฅผ ๋ถ„์‚ฐํ•œ๋‹ค)Support for HTTP/2 and WebSocketSupport redirects  (from HTTP to HTTPS for exampleALB are a great fit for micro services & container-..
ยท AWS
1. Scalability & High AvailabilityScalability(ํ™•์žฅ์„ฑ) means that an application / system can handle greater loads by adapting.There are two kinds of scalability  - Vertical Scalability - Horizontal Scalability (=elasticity) ํƒ„๋ ฅ์„ฑ, ์ˆ˜ํ‰ ํ™•์žฅ์„ฑScalability is linked but different to High Availability ( ํ™•์žฅ์„ฑ != ๊ณ ๊ฐ€์šฉ์„ฑ)2. Vertical Scalability - ์ˆ˜์ง ํ™•์žฅ์„ฑVertically scalability means increasing the size of the instanc..
ยท AWS
1. The most likely reason your team member is unable to attach the EBS volume to an EC2 instance `in us-east-1b` is that EBS volumes are tied to a specific Availability Zone (AZ) upon creation. Since the volume was originally attached to an EC2 instance in us-east-1a, it is restricted to that AZ and cannot be directly attached to an instance `in us-east-1b`. us-east-1a์—์„œ์˜ EC2 ์ธ์Šคํ„ด์Šค๋ฅผ ์ข…๋ฃŒํ•˜์—ฌ, ์ด ์ธ์Šคํ„ด์Šค์—..
ยท AWS
EBS vs EFS1. EBS(Elastic Block Storage)โ–ถEBS volumesOne instance (except multi-attach io1 / io2) - ํ•œ ๋ฒˆ์— ํ•˜๋‚˜์˜ ์ธ์Šคํ„ด์Šค๋งŒ ์—ฐ๊ฒฐare locked at the Availability Zone (AZ) levelgp2: IO increases if the disk size increasesgp3 & io 1: can increase IO independentlyโ–ถTo migrate an EBS volume across AZTake a snapshotRestore the snapshot to another AZEBS backups use IO and you shouldn't run them while your application..
์ƒ๋‹จ์œผ๋กœ