0% found this document useful (0 votes)
26 views7 pages

Setting Up AWS Elastic Load Balancer

DEC

Uploaded by

jujohny1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views7 pages

Setting Up AWS Elastic Load Balancer

DEC

Uploaded by

jujohny1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Lab - 4

Aim: ELB (ELASTIC LOAD BALANCER)

 ELB service is under compute category.


 It is available at "EC2DASHBOARD".
 If a website has maximum users as 1000 per a request, if simultaneously 2000 users
are requesting the same server, then 1000 must wait until completion of 1000 so we
use ELB for creating multiple servers for same request.

Requirements:

 Launch an EC2 instance using UBUNTU AMI, in default -VPC within subnet-1
(US_EAST_1A)
 Launch an EC2 instance using AMAZON-LINUX AMI in default -VPC within subnet-1
(US-EAST-1B)
 Create load balancer & target group

Steps:

1. In compute category  ec2  scroll down and click on load balancers


2. We will get 0 load balancers that means in north Virginia area we don't have any load
balancers
3. We have 4 types of load balancers

1. Application Load Balancer

2. Network Load Balancer  chosen

3. Gateway Load Balancer

4. Classic Load Balancer

Due to more load on the server exceeding of its capacity we get server down, server busy,
server error so we use Elastic Load Balancer.

1|Page
Lab - 4

1. Choosing NLB (NETWORK LOAD BALANCER)


2. Basic configuration

Load balancer name: MYELB (gets request from internet facing)

Scheme: INTERNET-FACING

Load balancer IP address: IPV4

3. Network mapping
VPC: DEAULT-VPC
Availability Zones and subnets
Select 1A and 1B

2|Page
Lab - 4

Internet

MYELB
N. Virginia

Default-VPC

Subnet1 Subnet2

1a 1b

4. http is the listener here (Listeners and routing)


5. servers are routing
6. Target group:
We need to create a target group firstly

3|Page
Lab - 4

Specifying group details:

Basic configuration

Target type: instances

Target name: MYTARGET

VPC: default

4|Page
Lab - 4

Click on include as pending below and then click on create target group button.

5|Page
Lab - 4

6|Page
Lab - 4

After a min we can observer status as active from provisioning.

7|Page

You might also like