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
20
votes
2 answers

What does the Amazon ELB automatic health check do and what does it expect?

Here is the thing: We've implemented a C++ RESTful API Server, with built-in HTTP parser and no standard HTTP server like apache or anything of the kind It has been in use for several months in Amazon structure, using both plain and SSL…
naazgull
  • 640
  • 1
  • 8
  • 12
19
votes
1 answer

EKS in private Subnet , Load Balancer in public subnet

I am running EKS in private subnet and thus unable to create an internet facing load balancer but was able to create Internal LoadBalancer. Is there any way I can create Loadbalancer(probably Manually) in public subnet and point to the pods running…
R-JANA
  • 1,138
  • 2
  • 14
  • 30
19
votes
6 answers

Django ALLOWED_HOSTS with ELB HealthCheck

I have a django application deployed on Elastic Beanstalk. The HealthCheck for my app keeps failing because the IP of the ELB HealthCheck is not included in my ALLOWED_HOSTS settings variable. How can I modify ALLOWED_HOSTS to make the HealthCheck…
rfj001
  • 7,948
  • 8
  • 30
  • 48
18
votes
2 answers

What are the disadvantages of using AWS ELB directly with Gunicorn (no nginx)?

Typical setups I've found on Google to run a django application on AWS all suggest a setup like ELB -> nginx -> gunicorn -> django I was wondering why the nginx part is really needed here? Isn't ELB sufficient as proxy? In our case, we are running…
Alex
  • 409
  • 4
  • 12
17
votes
2 answers

Network load balancer real life examples?

Even after a lot of googling, I could not find a simple answer to this question. All I could find was it's layer 4 load balancer that can handle millions of requests per second, and support for static/elastic ip. Could someone please give me an…
17
votes
1 answer

How to solve 502 Bad Gateway errors with Elastic Load Balancer and EC2/Nginx for HTTPS requests?

I'm running into '502 Bad Gateway' issues for HTTPS requests when using AWS Elastic Load Balancer (Application type) in front of EC2 instances running Nginx. Nginx is acting as a reverse proxy on each instance for a waitress server serving up a…
Luke
  • 781
  • 2
  • 8
  • 11
17
votes
2 answers

AWS Application Load Balancer (ALB) path based routing not functioning as expected

I am working on a POC to prove out AWS path based routing through an Application Load Balancer to a set of very basic "hello world" node.js applications using express. Without the path based routing in place and having multiple listeners, 1…
Andrew Guthrie
  • 171
  • 1
  • 1
  • 3
17
votes
4 answers

Why are the value for Hosted Zone ID different for ELB and Route 53 Alias Target?

Here is my load balancer Sid-LB - the Hosted Zone ID is highlighted: And this is the Route 53 (hosted zone id is highlighted) when I select the load balancer from Alias Target. I dont understand why these two IDs have to be different. I tried to…
Siddharth
  • 884
  • 3
  • 11
  • 27
17
votes
2 answers

Session stickiness on Amazon Web Services

I'm a bit confused about the use of the session stickiness on Amazon Web Services. When I deploy my java web application using Amazon Elastic Beanstalk, I can choose to enable the session stickiness and then specify a cookie expiration period. My…
16
votes
3 answers

Install Wildcard Certificate onto AWS EC2 Load Balancer

I'm having trouble. I followed a guide that I found here http://www.thenetworkadministrator.net/index.php/2011/12/iis-ssl-certificate-into-amazon-elastic-load-balancer/ And exported by cert and created all those files, but it doesn't tell you which…
16
votes
3 answers

What are the practical differences between an IP vs instance based target types for an AWS NLB?

I'm using an AWS NLB to expose my Kubernetes pods to the internet. The NLB is currently using instance target types but I noticed there are also IP target types. What are the differences between an instance target type vs an IP target type from a…
n00b
  • 5,843
  • 11
  • 52
  • 82
16
votes
2 answers

Can AWS Fargate be used without a load balancer?

Initially I expect traffic to my web application to be minimal and I do not want to bear the cost of a load balancer. But if my application gains traction then I may configure a load balancer later. Is it possible to use AWS Fargate without a load…
16
votes
3 answers

What is the best way to restrict access to an Application Load Balancer?

Ideally, I'd like to lock down my ALB so that it can only be accessed by API Gateway. I've looked into whether I can associate API gateway with an Inbound Rule - however, I have found that API Gateway cannot be associated with an IP address, or a…
fuzzi
  • 1,967
  • 9
  • 46
  • 90
16
votes
4 answers

How to implement HTTP Strict Transport Security (HSTS) on AWS Elastic Load Balancer?

I would like to implement HSTS to my application. I have an ELB terminating SSL and forwarding the traffic to my application, which is an apache server used as reverse proxy. I know that in order to implement HSTS, I would need to add the header…
Pedreiro
  • 1,641
  • 2
  • 18
  • 28
15
votes
6 answers

EKS : could not find any suitable subnets for creating the ELB

I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like…
shamon shamsudeen
  • 5,466
  • 17
  • 64
  • 129