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

How to get full POST body in AWS ELB logs?

Currently, AWS ELB, both classic and application, do not log the body of POST requests. Neither does Cloudfront. Is it possible to get the full body of HTTP requests at this level above the instance?
xraymemory
  • 133
  • 1
  • 5
12
votes
2 answers

How to redirect HTTPS to HTTP on ELB Application Load Balancer

On Amazon's "Classic Load Balancer" you could create a rule to forward HTTPS connections to HTTP, simplifying SSL and server configuration by uploading the certificate to the load balancer and letting the server only handle http. I'm now trying to…
Cerin
  • 60,957
  • 96
  • 316
  • 522
12
votes
2 answers

Aws load balancer for Server Sent Events or Websockets

I'm trying to load balance a nodejs Server sent event backend and I need to know if there is a way to distribute the new connections to the instances with the least connected clients. The problem I have is when scaling up, the routing continues…
12
votes
2 answers

AWS ELB rewrite path and alter the path in between

I'm using an ELB (Elastic Load Balancer) on Amazon Webservices (spezifically an Application Load Balancer). The Problem: I want to create a rule to rewrite the path, but need to insert a string within the path. When a request is coming in…
Willie
  • 352
  • 1
  • 3
  • 15
12
votes
0 answers

Kube-proxy or ELB "delaying" packets of HTTP requests

We're running a web API app on Kubernetes (1.9.3) in AWS (set with KOPS). The app is a Deployment and represented by a Service (type: LoadBalancer) which is actually an ELB (v1) on AWS. This generally works - except that some packets (fragments of…
ArAr
  • 141
  • 3
12
votes
3 answers

Connecting AWS Api Gateway and private ALB

I have a task to configure API Gateway to route traffic to Lambda or to Load Balancer(internal, under VPC). I thought that it would be possible to create simple integration for ALB using simple HTTP integration or AWS Service. But after some time of…
12
votes
3 answers

How to avoid having idle connection timeout while uploading large file?

Consider our current architecture: +---------------+ | Clients | | (API) | +-------+-------+ …
Laurent Jalbert Simard
  • 5,949
  • 1
  • 28
  • 36
12
votes
4 answers

Drawback of using ELB. Is Nginx the best solution? (ELB vs Nginx)

Disclaimer: This topic is for HTTP Traffic (on Linux Platform). May be there is a good solution with ELB (with reasonable price for everyone) for the problem below. But so far i can not find any. That's why i need expert advices. Problem: I've been…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
12
votes
2 answers

Kubernetes on AWS cloud provider

I installed CentOS Atomic Host as operating system for kubernetes on AWS. Everything works fine, but it seems I missed something. I did not configure cloud provider and can not find any documentation on that. In this question I want to know: 1. What…
emcpow2
  • 852
  • 6
  • 19
12
votes
5 answers

AWS Cloudfront and ELB Security Groups

does anyone know how to add your cloudfront distro into the security group inbound rules for an ELB? We have a cloudfront distro setup for a new site which has a whitelisted set of security group rules for its origin. I cant see how to configure…
rabs
  • 1,807
  • 3
  • 18
  • 29
11
votes
1 answer

AWS - Difference between ELB_5XXs and HTTP_5XXs

In AWS Cloud watch, what is the difference between ELB_5xx and Http_5xx errors? And then there is also Backend_connection_errors.
peakit
  • 28,597
  • 27
  • 63
  • 80
11
votes
5 answers

what are the kubernetes/elb time outs for http requests?

I have a java API (accepting HTTPS requests_ packaged into a docker image, and then it is deployed using k8s cluster on top of EC2s. The master EC2 has an ELB in front. I can make curl POST requests to the ELB in order to hit that java…
tooptoop4
  • 234
  • 3
  • 15
  • 45
11
votes
3 answers

What does ALB consider a "valid" header field

As of 2019-11-13, the ELB LoadBalancerAttribute documentation reads The following attributes are supported by only Application Load Balancers.... routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers with invalid header…
VoiceOfUnreason
  • 52,766
  • 5
  • 49
  • 91
11
votes
3 answers

Can someone elaborate on these basic concepts of hosting via Amazon Web Services?

I read all over the Amazon documentations, but I'm still confused or should I say overwhelmed by the different terms. I'm coming from a traditional web hosting environment where the only concept I understand is how much storage I have and how much…
Liming
  • 1,641
  • 3
  • 28
  • 38
11
votes
7 answers

Cannot access airflow web server via AWS load balancer HTTPS because airflow redirects me to HTTP

I have an airflow web server configured at EC2, it listens at port 8080. I have an AWS ALB(application load balancer) in front of the EC2, listen at https 80 (facing internet) and instance target port is facing http 8080. I cannot surf https://<…
user389955
  • 9,605
  • 14
  • 56
  • 98