You are currently viewing How To Create A Network Load Balancer Using AWS CLI

How To Create A Network Load Balancer Using AWS CLI

How to create a Network Load Balancer using AWS CLI

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed Network Load Balancer concepts.

https://cloudaffaire.com/network-load-balancer-nlb/

In this blog post, we will create a Network Load Balancer using AWS CLI.

How To Create A Network Load Balancer Using AWS CLI

How to create a Network Load Balancer using AWS CLI:

Step 1: Create a custom VPC for your Network Load Balancer.

Step 2: Create two EC2 instance that will act as a target for your Network load balancer.

Step 3: Create your Network Load Balancer

Observation: You will get response form both instance one and instance two as your curl/browser request is forwarded by NLB to target backends.

Step 4: Cleanup

Hope you have enjoyed this article, In the next blog post, we will discuss Target Groups in Network Load Balancer.

All the public cloud providers are changing the console user interface rapidly and due to this some of the screenshots used in our previous AWS blogs are no longer relevant. Hence, we have decided that from now onwards most of the demo will be done programmatically. Let us know your feedback on this in the comment section.

To get more details on AWS ELB, please refer below AWS documentation

https://docs.aws.amazon.com/elasticloadbalancing/index.html

 

Leave a Reply