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?
Jul 12, 2018 in Cloud Computing by DearestOne
• 200 points
74 views

1 answer to this question.

0 votes

ELB automatically distributes incoming application traffic across multiple EC2 instances, in multiple Availability Zones. AWS free tier give one free EC2 microinstance and one free Elastic Load Balancer. 

ELB is mainly used when we are running multiple instances so there is no benefit in using ELB for single Amazon EC2 instance.

To point user domain name to any instance follow these steps:-

  • Go to management console and select EC2
  • In EC2 click on Elastic IP
  • Allocate new address 
  • Associate this new address with your EC2 instance
  • Copy the assigned Elastic IP address and use it in your Route 53 sub-domain

Elastic IP is assingned to Users account.

  If user has an elastic IP in their account and its not in use then they will charge you additional amount.

answered Jul 12, 2018 by ArchanaNagur
• 2,270 points

Related Questions In Cloud Computing

+1 vote
1 answer

Is it possible to get an ec2 pricing programmatically?

Yes absolutely. You may get AWS pricing programmatically ...READ MORE

answered Apr 10, 2018 in Cloud Computing by code_ninja
• 6,220 points
188 views
0 votes
3 answers

Is it possible to redirect a domain to Amazon EC2?

Create an Elastic IP on the AWS ...READ MORE

answered Nov 30, 2018 in Cloud Computing by Abhinav
27 views
0 votes
1 answer

Is one Elastic IP address enough for every instance that I have running?

Depends! Every instance comes with its own ...READ MORE

answered Jun 6, 2018 in Cloud Computing by brat_1
• 7,080 points
36 views
0 votes
1 answer

Can someone tell if one Elastic IP address enough for every instance that I have running and would do the job?

Depends! Every instance comes with its own ...READ MORE

answered Jun 26, 2018 in Cloud Computing by brat_1
• 7,080 points
26 views
0 votes
1 answer

SSH access to Amazon EC2 instance shows permission denied

The error is an authentication error. The ...READ MORE

answered Jul 16, 2018 in Cloud Computing by Gopalan
• 1,260 points
83 views
0 votes
1 answer

How to self terminate an EC2 instance?

To self-terminate an EC2 instance, follow the ...READ MORE

answered Jul 26, 2018 in Cloud Computing by Gopalan
• 1,260 points
116 views
+1 vote
2 answers

How does Elastic Beanstalk and EC2 contribute to automation in AWS?

I hope this helps AWS Elastic Beanstalk is the ...READ MORE

answered Jul 26, 2018 in Cloud Computing by code_ninja
• 6,220 points
64 views
0 votes
1 answer

AWS: How can you connect to an EC2 Linux instance using Putty?

1. Select your instance in the EC2 ...READ MORE

answered Aug 6, 2018 in Cloud Computing by Meci Matt
• 9,400 points
36 views
0 votes
1 answer

When to use Amazon Cloudfront or S3

Amazon S3 is simple storage service for internet ...READ MORE

answered Jul 31, 2018 in Cloud Computing by ArchanaNagur
• 2,270 points
54 views
0 votes
1 answer

what is difference between elastic IP and public IP?

IP address is used to communicate with ...READ MORE

answered Jul 11, 2018 in Cloud Computing by ArchanaNagur
• 2,270 points
129 views