AWS LB

Comparing ELB and ALB



-Private LB API without public IP -> VPC Endpoint -> Private Link


2) Server Name Indication (SNI)
-extension to the TLS computer networking protocol by which a client indicates which hostname it is attempting to connect to at the start of the handshaking process. This allows a server to present multiple certificates on the same IP address and TCP port number and hence allows multiple secure (HTTPS) website (or any other services over TLS) to be served be the same.

targeting conteiners behing LP with IP address insted of instance ID.
Each conteiner can have its own security group

1. Atach SG (difrebt) to ENI (each)
2. Map conteiner to the IP address of ENO assosiacte with SG of container

LB using IP address allows multiple conteiner use the same port


3) ELB ensure that LB determinates which cipher is used for SSL connection :
Server Order Preference



I. Classic Load Balancer

1. Rola

-EC2 classic network

HTTP, HTTPS
SSL (ecure TCP)
TCP [Ec2-VPC] 1-65535;  1024-65535 [EC2-Classic] 25,80, 443, 465, 587

2.Websockets

-

3. request trancing

4. migration

5. layer

6. HTTPS termination

+ (must install SSL certificate)

7. backend server authentication

8. Server Name Indication (SNI)

+

9. IPv6

+ (IPv4, IPv6, dualstack DNSname)
-VPC (IPv6 not supported in VPC)

10. IP address for addresses outside VPC

11. EC2 Classic

a) ID

b) ClassicLink + private IP

12. Cross-zone LB

13. Price

1) hour LB runtime
2) badwith

14. VPC Listeners

- (can use proxy to get source IP)
-
-
+ (SSL termination)

15. API

2012-06-01 API



II. Application Load Balancer

1. Rola

-flexible app managment
-TLS termination

HTTP, HTTPS
HTTP/2 (over TLS)
TCP 1-65535

2.Websockets

+

3. request trancing

+ (default)

4. migration

ALB ≠> CLB
CLB => ALB

5. layer

6. HTTPS termination

+ (must install 1 SSL certification)

7. backend server authentication

-(only encryption)

8. Server Name Indication (SNI)

+ (automaticaly when > 1 TLS certification z tym samym secure listener on LB)

9. IPv6

+

10. IP address for addresses outside VPC

RFC1918 ranges
*10.0.0.0/8
*172.16.0.0/12
*192.168.0.0/16

RFC 6598

* 100.64.0.0/10

11. EC2 Classic

a) ID

-

b) ClassicLink + private IP

+

12. Cross-zone LB

+(default)

13. Price

1) hour LB runtime
2) LCU
-new connection
-active connection
-bandwith
-rule evolution

14. VPC Listeners

15. API

2015-12-01 API

III. Network Load Balancer

1. Rola

-extrame performance
-static IP
-provides stable IP support
-zonal isolation
-long-running connection (Web Socet app)

TCP

2.Websockets

+ (WebSockets it is layer 7, and NLB is 4 -> no special hendling exist)

3. request trancing

4. migration

CLB => NLB

5. layer

4

6. HTTPS termination

-

7. backend server authentication

8. Server Name Indication (SNI)

-

9. IPv6

10. IP address for addresses outside VPC

RFC1918 ranges
*10.0.0.0/8
*172.16.0.0/12
*192.168.0.0/16

RFC 6598

* 100.64.0.0/10


11. EC2 Classic

a) ID

-

b) ClassicLink + private IP

+

12. Cross-zone LB

+ (enable by checkbox when weating)

13. Price

1) hour LB runtime
2) LCU

14. VPC Listeners

+ (preserve the source IP of client)
+ (automaticly providus a static IP per AZ)
+ (enable assing an Elastic IP to the LB per AZ)
-

15. API

2015-12-01 API

Komentarze

Popularne posty z tego bloga

Kubernetes

Helm

Ansible Tower / AWX