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
• 5,750 points
20 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 5 Elastic IP's only

answered Mar 20 by ArchanaNagur
• 1,150 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
• 3,770 points
42 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,120 points
21 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,360 points
26 views
0 votes
1 answer
0 votes
1 answer
+2 votes
2 answers

Is it possible to ping AWS EC2 instance

Start by adding a new EC2 security group inbound ...READ MORE

answered Apr 9, 2018 in AWS by hemant
• 5,750 points
237 views
0 votes
1 answer

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

Well you are right Elastic Load Balancer is mainly ...READ MORE

answered Mar 20 in AWS by ArchanaNagur
• 1,150 points
26 views
0 votes
1 answer

Add EBS to Ubuntu EC2 Instance

you are creating a new volume, so ...READ MORE

answered May 16 in AWS by ArchanaNagur
• 1,150 points
14 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.