Does it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance

0 votes
my question is simple. Does it make sense to have an Amazon Elastic Load Balancer (ELB) with just one EC2 instance?

If I understood right, ELB will switch traffic between EC2 instances. However, I have just one EC2 instance. So, does it make sense?

On the other hand, I´m using Route 53 to route my domain requests domain.com, and www.domain.com to my ELB, and I don´t see how to redirect directly to my EC2 instance. So, do I need an ELB for routing purposes?
Mar 20, 2019 in AWS by code_ninja
• 6,300 points

retagged May 31, 2019 by code_ninja 755 views

1 answer to this question.

0 votes
  • Well you are right Elastic Load Balancer is mainly used to distribute the traffic equally among the instances and route traffic only to Healthy instances

  • If you are using single EC2 instance then using Elastic Load Balancer along with it is not a better decision

  • You will just end up making an unnecessary expenditure for using ELB

  • Instead in case of Single Instance you can make use of Elastic IP to point the domain name to an EC2 instance

The steps to do so are-

  1. Go to AWS management console and under compute select EC2 

  2. In EC2 console click on Elastic IP in left navigation panel 

  3. Acquire a New Address

  4. Associate it with your EC2 instance

  5. Copy the Elastic IP address and use it in your Route 53 sub-domain

Note: The Elastic IP address can be re-associated with a different EC2 instance later if desired within an AWS account. Every account can have upto Elastic IP's only

 answered 5 minutes ago by Rachel • 600 points

answered Mar 20, 2019 by ArchanaNagur
• 2,360 points

Related Questions In AWS

0 votes
1 answer

I have an ec2 instance I want to store my backups in s3 how can I store it?

Mount the s3 bucket in the instance ...READ MORE

answered Oct 12, 2020 in AWS by vickie
725 views
0 votes
1 answer

How to launch an EC2 instance with IAM-Role?

The credentials you are using from your ...READ MORE

answered Sep 3, 2018 in AWS by Archana
• 4,170 points
3,004 views
0 votes
1 answer

How to safely upgrade an Amazon EC2 instance from t1.micro to large?

Using AWS Management Console: Right-Click on the instance Instance ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 58,020 points
1,165 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP