Questions tagged [amazon-elb]

Amazon Elastic Load Balancing (ELB) automatically distributes incoming application traffic across multiple Amazon EC2 instances.

Amazon Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances. It enables you to achieve even greater fault tolerance in your applications, seamlessly providing the amount of load balancing capacity needed in response to incoming application traffic. Elastic Load Balancing detects unhealthy instances within a pool and automatically reroutes traffic to healthy instances until the unhealthy instances have been restored. Customers can enable Elastic Load Balancing within a single Availability Zone or across multiple zones for even more consistent application performance. Elastic Load Balancing can also be used in an Amazon Virtual Private Cloud (“VPC”) to distribute traffic between application tiers.

See more at the product page.

2698 questions
35
votes
3 answers

Elastic Beanstalk Change ELB Type

Does anyone know if it's possible to change an existing AWS Elastic Beanstalk environment to an Application Load Balancer (instead of a classic one). As far as I know only Application ELB's can be protected with AWS WAF and DDOS "Shield" so any…
David
  • 7,652
  • 21
  • 60
  • 98
35
votes
8 answers

Amazon API Gateway in front of ELB and ECS Cluster

I'm trying to put an Amazon API Gateway in front of an Application Load Balancer, which balances traffic to my ECS Cluster, where all my microservices are deployed. The motivation to use the API Gateway is to use a custom authorizer through a lambda…
31
votes
3 answers

How to remove default certificate (need to change to different certificate)

I can't remove the current cert because it's the default. So uh..how do I make the other one the default so I can remove the current default? Note in the screenshot it says: Select the certificates to remove from this listener Note that you …
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
31
votes
8 answers

Deleting uploaded certificate from elastic load balancer

I've been testing and experimenting a bit to find out how exactly to upload SSL Certificates to AWS's Elastic Load Balancer (figuring out issues with different key and certificate encodings). Therefore I have quite a few test certificates on there…
Svend Hansen
  • 3,277
  • 3
  • 31
  • 50
30
votes
1 answer

Trouble getting https to work with self signed certificate on aws elastic load balancer

I am having issue configuring https on my aws elastic load balancer using a self-signed certificate. After I've done with the set up, making connection to https endpoint does not work. http connection is still fine. Here's what I did. Generate…
Michael
  • 3,699
  • 4
  • 26
  • 27
29
votes
4 answers

HTTPS not working (on AWS Elastic Beanstalk based site)

The site works perfectly fine on HTTP, however, does not work on HTTPS. I've followed all the steps on this page to create a self-signed certificate and add it to my Elastic Beanstalk…
Neo
  • 811
  • 1
  • 7
  • 9
29
votes
3 answers

Support for two-way TLS/HTTPS with ELB

One way (or server side) TLS/HTTPS with Amazon Elastic Load Balancing is well documented Support for two-way (or client side) TLS/HTTPS is not as clear from the documentation. Assuming ELB is terminating a TLS/HTTPS connection: Does ELB support…
pd40
  • 3,187
  • 3
  • 20
  • 29
28
votes
7 answers

Symfony2 behind ELB is redirecting to http instead of https

Issue: User logs in with https://example.com/login Authentication is approved As configured in security.yml Symfony2 redirects user to profile page after login. But it redirects them to the wrong url…
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
27
votes
3 answers

AWS Network ELB take 4 minutes to recognise target as healthy

Using AWS Network ELBs: takes at least four minutes for a registered instance to become 'healthy'. The instances and services have been running for days, I am simply de-registering and then registering on the same target group, as part of a…
Tim Lindsay
  • 271
  • 3
  • 3
27
votes
5 answers

AWS ECS 503 Service Temporarily Unavailable while deploying

I am using Amazon Web Services EC2 Container Service with an Application Load Balancer for my app. When I deploy a new version, I get 503 Service Temporarily Unavailable for about 2 minutes. It is a bit more than the startup time of my…
vargen_
  • 2,590
  • 3
  • 24
  • 30
27
votes
1 answer

What's the difference between elb health check and ec2 health check?

I'm a little confused about Elastic Load Balancer health check and Amazon EC2 health check. In Adding Health Checks to Your Auto Scaling Group it says: If you have attached one or more load balancers to your Auto Scaling group and an instance fails…
Ben
  • 541
  • 1
  • 5
  • 15
27
votes
2 answers

Understanding AWS ELB Latency

I'm keen to understand exactly what the ELB Latency Statistic provided by CloudWatch means. According to the docs: ELB Latency: "Measures the time elapsed in seconds after the request leaves the load balancer until the response is…
sungiant
  • 3,152
  • 5
  • 32
  • 49
26
votes
6 answers

ec2-describe-instance-status Client.InvalidInstanceID.NotFound but I KNOW instance exists

I have setup a few of the amazon AWS CLI tools (EC2, Auto Scaling, MOnitoring and ELB). The tools are setup correctly and work perfectly. My environment vars are all set, the relevant ones to this Q being: export EC2_REGION=eu-west-1 export…
BoomShaka
  • 1,571
  • 7
  • 27
  • 40
25
votes
4 answers

How do you get Amazon's ELB with HTTPS/SSL to work with Web Sockets?

This doesn't seem to be working right now. I'm using Faye with NodeJS behind an Amazon ELB. When I switch on HTTPS the connections can no longer be brokered. I found a question here unanswered:…
Art
  • 5,864
  • 3
  • 30
  • 32
25
votes
6 answers

How to gracefully shut down or remove AWS instances from an ELB group

I have a cloud of server instances running at Amazon using their load balancer to distribute the traffic. Now I am looking for a good way to gracefully scale the network down, without causing connection errors on the browser's side. As far as I…