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 in AWS by code_ninja
• 6,220 points

retagged May 31 by code_ninja 48 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 by ArchanaNagur
• 2,270 points

Related Questions In AWS

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,090 points
233 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
• 56,900 points
45 views
0 votes
1 answer
0 votes
1 answer

Does one have to be a machine learning expert to use Amazon Lex?

No machine learning expertise is necessary to ...READ MORE

answered Nov 8, 2018 in AWS by Archana
• 5,560 points
36 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer