Elastic Load Balancing | Network Load Balancer Flashcards

1
Q

How does the LCU billing work with different certificate types and key sizes?

Network Load Balancer

Elastic Load Balancing | Compute

A

Certificate key size affects only the number of new connections per second in the LCU computation for billing.

The following table lists the value of this dimension for different key sizes for RSA and ECDSA certificates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Can I create a TCP (Layer 4) listener for my Network Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes. Network Load Balancers support only TCP (Layer 4) listeners.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the key features available with the Network Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Network Load Balancer provides TCP (Layer 4) load balancing. It is architected to handle millions of requests/sec, sudden volatile traffic patterns and provides extremely low latencies. In addition Network Load Balancer also preserves the source IP of the clients, provides stable IP support and Zonal isolation. It also supports long-running connections that are very useful for WebSocket type applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does Network Load Balancer compare to what I get with the TCP listener on a Classic Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Network Load Balancer preserves the source IP of the client which in the Classic Load Balancer is not preserved. Customers can use proxy protocol with Classic Load Balancer to get the source IP. Network Load Balancer automatically provides a static IP per Availability Zone to the load balancer and also enables assigning an Elastic IP to the load balancer per Availability Zone. This is not supported with Classic Load Balancer. Classic Load Balancer provides SSL termination that is not available with Network Load Balancer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can I migrate to Network Load Balancer from Classic Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes. You can migrate to Network Load Balancer from Classic Load Balancer using one of the options listed in this document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Are there limits on the resources for my Network Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes, please refer to Network Load Balancer limits documentation for more information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can I use the AWS Management Console to set up my Network Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes, you can use the AWS Management Console, AWS CLI, or the API to set up a Network Load Balancer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Can I use the existing API for Classic Load Balancers for my Network Load Balancers?

Network Load Balancer

Elastic Load Balancing | Compute

A

No. To create a Classic Load Balancer, use the 2012-06-01 API. To create a Network Load Balancer or an Application Load Balancer, use the 2015-12-01 API.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Can I create my Network Load Balancer in a single Availability Zone?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes, you can create your Network Load Balancer in a single availability zone by providing a single subnet when you create the load balancer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Does Network Load Balancer support DNS regional and zonal fail-over?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes, you can use Amazon Route 53 health checking and DNS failover features to enhance the availability of the applications running behind Network Load Balancers. Using Route 53 DNS failover, you can run applications in multiple AWS Availability zones and designate alternate load balancers for failover across regions. In the event that you have your Network Load Balancer configured for multi-AZ, if there are no healthy EC2 instances registered with the load balancer for that Availability Zone or if the load balancer nodes in a given zone are unhealthy, then R-53 will fail away to alternate load balancer nodes in other healthy availability zones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Can I have a Network Load Balancer with a mix of ELB-provided IPs and Elastic IPs or assigned private IPs?

Network Load Balancer

Elastic Load Balancing | Compute

A

No. A Network Load Balancer’s addresses must be completely controlled by you, or completely controlled by ELB. This is to ensure that when using Elastic IPs with a Network Load Balancer, all addresses known to your clients do not change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Can I assign more than one EIP to my Network Load Balancer in each subnet?

Network Load Balancer

Elastic Load Balancing | Compute

A

No. For each associated subnet that a Network Load Balancer is in, the Network Load Balancer can only support a single public/internet facing IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If I remove/delete a Network Load Balancer what will happen to the Elastic IP addresses that were associated with it?

Network Load Balancer

Elastic Load Balancing | Compute

A

The Elastic IP Addresses that were associated with your load balancer will be returned to your allocated pool and made available for future use.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Does Network Load Balancer support internal load balancers?

Network Load Balancer

Elastic Load Balancing | Compute

A

Network Load Balancer can be set-up as an internet-facing load balancer or an internal load balancer similar to what is possible with Application Load Balancer and Classic Load Balancer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Can the internal Network Load balancer support more than one private IP in each subnet?

Network Load Balancer

Elastic Load Balancing | Compute

A

No. For each associated subnet that a load balancer is in, the Network Load Balancer can only support a single private IP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Can I set up Websockets with my Network Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes, configure TCP listeners that route the traffic to the targets that implement WebSockets protocol (https://tools.ietf.org/html/rfc6455 ). Because WebSockets is a layer 7 protocol and Network Load Balancer is operating at layer 4, no special handling exists in Network Load Balancer for WebSockets or other higher level protocols.

17
Q

Can I load balance to any arbitrary IP address?

Network Load Balancer

Elastic Load Balancing | Compute

A

You can use any IP address from the load balancer’s VPC CIDR for targets within load balancer’s VPC and any IP address from RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) or RFC 6598 range (100.64.0.0/10) for targets located outside the load balancer’s VPC (EC2-Classic and on-premises locations reachable over AWS Direct Connect).

18
Q

What benefit will I get by targeting containers behind a load balancer with IP addresses instead of instance IDs?

Network Load Balancer

Elastic Load Balancing | Compute

A

Each container on an instance can now have its own security group and does not need to share security rules with other containers. You can attach security groups to an ENI and each ENI on an instance can have a different security group. You can map a container to the IP address of a particular ENI to associate security group(s) per container. Load balancing using IP addresses also allows multiple containers running on an instance use the same port (say port 80). The ability to use the same port across containers allows containers on an instance to communicate with each other through well-known ports instead of random ports.

19
Q

How can I load balance applications distributed across a VPC and on-premises location?

Network Load Balancer

Elastic Load Balancing | Compute

A

There are various ways to achieve hybrid load balancing. If an application runs on targets distributed between a VPC and an on-premises location, you can add them to the same target group using their IP addresses. To migrate to AWS without impacting your application, gradually add VPC targets to the target group and remove on-premises targets from the target group.You can also use separate load balancers for VPC and on-premises targets and use DNS weighting to achieve weighted load balancing between VPC and on-premises targets.

20
Q

How can I load balance to EC2-Classic instances?

Network Load Balancer

Elastic Load Balancing | Compute

A

You cannot load balance to EC2-Classic Instances when registering their Instance IDs as targets. However if you link these EC2-Classic instances to the load balancer’s VPC using ClassicLink and use the private IPs of these EC2-Classic instances as targets, then you can load balance to the EC2-Classic instances. If you are using EC2 Classic instances today with a Classic Load Balancer, you can easily migrate to a Network Load Balancer.

21
Q

How do I enable cross-zone load balancing in Network Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

You can enable cross-zone loading balancing only after creating your Network Load Balancer. You achieve this by editing the load balancing attributes section and then by selecting the cross-zone load balancing support checkbox.

22
Q

Am I charged for regional AWS data-transfer when I enable cross-zone load balancing in Network Load Balancer?

Network Load Balancer

Elastic Load Balancing | Compute

A

Yes, you will be charged for regional data transfer between Availability Zones with Network Load Balancer when cross-zone load balancing is enabled. Check the charges in the data-transfer section at Amazon EC2 On-Demand Pricing page.