Lab 10 (Introduction to Elastic Load Balancing)

In this lab you will be introduced to Amazon Elastic Load Balancer using the AWS management Console.

In this qwik lab you will learn:

  • How to log into the Amazon Management Console
  • How Create an Elastic Load Balancer
  • How to add instance to an Elastic Load Balancer

Elastic Load Balancing distributes incoming application traffic across multiple EC2 instances, in multiple Availability Zones. This increases the fault tolerance of your applications.

The load balancer serves as a single point of contact for clients, which increases the availability of your application. You can add and remove instances from your load balancer as your needs change, without disrupting the overall flow of requests to your application. Elastic Load Balancing scales your load balancer as traffic to your application changes over time, and can scale to the vast majority of workloads automatically.

Note: With Elastic Load Balancing, you only pay for what you use. You are charged for each hour or partial hour your load balancer is running and for each GB of data transferred through your load balancer. You will be charged at the end of each month for your Elastic Load Balancing resources actually consumed. the price varies from region to region. if you are using a free tier up to a certain level its free.
Region : US East (Ohio)

  • $0.025 per Elastic Load Balancer-hour (or partial hour)
  • $0.008 per GB of data processed by an Elastic Load Balancer

 

To create an Elastic Load Balancer, click on services and click on EC2 and select Load Balancers from the navigation pane. click on Create load balancer.

1

Choose classic load balancer.

2

In the load balancer name box type: free-lab-load-balancer and leave the default settings and click next:Assign Security Groups

3

On the Assign Security Groups screen select an existing security group option

4

On the security settings page make no changes and click on Next:Configure Health Check.

5

On the configure Health Check enter the following Values.

Response timeout: 2 Seconds
Health Check Interval: 6 Seconds
Unhealthy Threshold: 2
Healthy Threshold:n 2

And click on Next:Add EC2 Instances.

6

On the add EC2 instances screen select the checkbox next to each of the two instances to include them in the load balancer and click on Next:Add Tags

Note: Don’t forget to choose 2 Intances.

7

On the add tags screen click Review and create.

8

Click on Create to finish the process of creating the load balancer.

910

Click the link free-lab-load-balancer to view your newly created load balancer in the management console.

11

Click instance at the bottom of the screen and wait for several minutes for the instances to become available. They will likely be listed as out of Service. until they are fully activated.

12

Click the description tab and find the DNS field and copy the link and open a new tab from your browser and paste it to check the load balancer.

13

 

Conclusion

By the end of this lab you have learned:

  • How to log into the Amazon Management Console
  • How Create an Elastic Load Balancer
  • How to add instance to an Elastic Load Balancer
Advertisements
This entry was posted in Quick Labs. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s