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

How To Create A Classic Load Balancer Using AWS CLI

How To Create A Classic Load Balancer Using AWS CLI

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

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

https://cloudaffaire.com/classic-load-balancer-clb/

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

How To Create A Classic Load Balancer Using AWS CLI

How to create a Classic Load Balancer using AWS CLI:

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

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

Step 3: Create your Classic Load Balancer.

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

Step 4: Cleanup

Hope you have enjoyed this article. With this, we are concluding our introductory series in AWS Elastic Load Balancing. There are lots of features available under Classic Load Balancing but as mentioned in the previous blog post, Classic Load Balancer is a legacy load balancer offering from AWS and is replaced by Application Load Balancer and Network Load Balancer with additional features which we already covered in previous blogs. Hence we are not covering Classic Load Balancer any further.

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