• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Configure AWS Application Load Balancer

{{postValue.id}}

To Configure Application Load Balancer

Introduction:

The Application Load Balancer is a characteristic of Elastic Load Balancing that allows a developer to configure and route incoming end-user traffic to applications based in the Amazon Web Services (AWS) public cloud. It pushes traffic over multiple targets in multiple AWS Availability Zones.

Steps to configure Application Load Balancing (ALB):

Work flow of load balancer can be this way when for each target group there is individual load balancer is there snap1 snap2 From this paradigm a single load balancer can handle all the traffic and divert it according to rule set in it. snap3 Now I am on AWS management console to launch instance come to section of EC2 snap4 Go to amazon linux ec2 to create instance snap5 Do all the basic default configuration in it snap6 Now provide user data script in advance detail section, this script will install apache server and configure health and app folder over apache snap7 snap8

Give the name for the instance snap9 Now configure Security group, security group must allow http port 80 snap10 Now launch the instance snap11 snap12 Now navigate to instance id and copy its public ip what is assigned by VPC and put that ip in browser with the path you assign in user data script snap13 snap14 Now create 2nd EC2 instance with the same above method, only you need to change is its user data script like below snap15 Assign name for 2nd instance snap17 Configure security group for that instance snap18 snap19 Now both instance have been created snap20 Now cross check 2nd instance, of its accessibility using its public ip snap21 Now its time to create two target group and assign each instance in each target group snap22 Give name for the target group, and assign the health check file location snap23 snap24 Now register target group for particular instance snap25 This time create 2nd instance and do all the above process for it snap26 snap27 Now you have created target group but they are in unused state because of no one target group is assigned in any load balancer hence now create Application load balancer snap28 Select application load balancer snap29 Give a name for load balancer snap30 Now it showing some liitle ssl security warning because of I haven’t purchased the ssl so for demo skip this step snap31 Now assign security group for ALB snap32 snap33

Load balancer have been created snap34 Now go to the load balancer Listeners tab and add rule according to below snap35 snap36 Now to verify the ALB process copy the domain name for the ALB and paste it In browser snap37 snap38 snap39 With this method the configuration of Application Load balancer comes to ans end.

Tags:
jayce
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What Is Load Balancing Fail Over?

A

Fail over means switching to another machine when one of the machine fails.

Q

What Is a TCP Load Balancer?

A

A TCP load balancer is a type of load balancer that uses transmission control protocol (TCP), which operates at layer 4 — the transport layer — in the open systems interconnection (OSI) model.

Q

Which requirement would be better served by an application load balancer?

A

Using an Application Load Balancer instead of a Classic Load Balancer has the following benefits: Support for Path conditions. You can configure rules for your listener that forward requests based on the URL in the request.

Q

Which protocols does an application load balancer support?

A

The Classic Load Balancer supports load balancing of applications using HTTP, HTTPS (Secure HTTP), SSL (Secure TCP) and TCP protocols

Q

What is the difference between application and classic load balancer?

A

A Classic Load Balancer is recommended only for EC2 Classic instances. The Application Load Balancer operates at the request level only.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.