Questions tagged [amazon-elb]

ELB is Amazon's managed Load Balancer service, used in conjunction with its EC2 virtual machine cloud hosting service.

552 questions
4
votes
2 answers

How to install a Thawte SSL certificate on Amazon Elastic Load Balancer?

Here's my situation. We've generated an SSL certificate from Thawte for a site we're hosting on EC2. We have our servers load balanced using Elastic Load Balancer. Thawte gives us one PKCS signed certificate. When I go to the Amazon console to…
Geuis
  • 637
  • 3
  • 8
  • 20
4
votes
3 answers

AWS ELB - Stress test - Transient Error

I'm doing stress testing of our system. Currently we have 5 m1.large instances running behind ELB, sitting in east region. In west region, there are 3 small instances (with JMeter) that I use to hammer the system. While doing a test that only pushes…
4
votes
1 answer

Is it possible to communicate to an ALB through an internal endpoint?

Setup We have an ECS cluster with 2 services (called portal-ECS-service and graph-ECS-service). Each have an ALB (portal-ALB and graph-ALB respectively). The setup is this: End user <-> portal-ALB <-> portal-ECS-service <-> graph-ALB <->…
3
votes
2 answers

Is reverse proxy still required between AWS ALB and application server?

Context Web application with application server, i.e. Ruby on Rails with puma. Running within a container on AWS ECS with Fargate. Traffic is routed by AWS Application Load Balancer directly to application server running within…
3
votes
1 answer

HTTP/2 for ALB with EKS on AWS

I'm experimenting with AWS EKS and have created the following setup: EKS cluster with a single service/pod/node AWS ALB ingress controller ALB I try to configure the ALB to: create access logs provide HTTP/2 support My alb ingress controller…
chrisvdb
  • 1,279
  • 2
  • 12
  • 15
3
votes
0 answers

Website is stalling for a few seconds on initial load

I have a website that consistently has a initial delay anywhere from 2 - 10 seconds. Using chrome dev tools I can see that the delay is marked Stalled under the Connection Start. See image: Other sites for example have very little stall 1-2ms See…
3
votes
1 answer

Terminate Gzip compression at AWS ELB classic load balancer

We have a set of servers in AWS that are behind an ELB. We are trying to upload data to the server. We want to enable gzip, but the servers themselves use an obscure golang framework that does not have default gzip support to uncompress incoming…
Jason
  • 131
  • 1
  • 4
3
votes
1 answer

Does TCP Passthrough mode give better latency performance than HTTP listeners

If I have an application looks like the following: Client <--> ELB <--> EC2 Would the E2E latency possibly be lower if I set up ELB as TCP passthrough mode than I make it as HTTP listener? The reason I guess TCP passthrough mode may make my E2E…
chen
  • 329
  • 1
  • 5
  • 13
3
votes
4 answers

How to prevent nginx redirecting from HTTPS to HTTP on AWS?

I have a website served by nginx behind an AWS ELB Load Balancer. Only HTTPS is enabled on the load balancer. Requesting individual files, or directories with a trailing slash, work fine. However, requesting directories without a trailing slash…
Adrian Smith
  • 276
  • 4
  • 10
3
votes
1 answer

AWS ALB Connection Draining not Closing Connections after Deregistration Delay

I have three instances configured as targets in an ALB. Connection draining is disabled (deregistration delay set to 0 seconds). Sticky sessions are enabled for 5 minutes. I get stuck to one web server and start a long running (45s) request to it. I…
user65237
3
votes
1 answer

Disable AWS ELB health check

Is there a way to disable AWS ELB's health check completely? I use a logger middleware (morgan) to log all requests and it's quite annoying for health check requests to get logged every 5min.
Avery235
  • 165
  • 2
  • 6
3
votes
1 answer

What is the difference between http_cookie and cookie_name in Nginx?

I want to add remote ip as a Cookie in Nginx, so that it can be passed on to AWS Load Balancer for Load balancer stickiness. location / { proxy_set_header Cookie "$http_cookie; ip=$remote_addr"; proxy_pass http://app_upstream; } I am…
3
votes
1 answer

Pass Client IP from AWS ELB to HA Proxy

We have a issue in our application where the client IP is not getting passed to the App servers in the following setup. USER---------> AWS ELB -----------> HAPROXY -----------> Application server(apache) Our ELB is using TCP listeners and we have…
3
votes
1 answer

Forwarding traffic from AWS ELB to another ELB

I have 2 VPCs (X and Y). We have a vpc peering connection between the two. In VPC X, we have a CNAME that needs to resolve to an ELB in VPC Y. Is there any way to make an ELB in VPC X forward traffic to an ELB in VPC Y? I know this configuration is…
3
votes
2 answers

Prevent AWS ELB from setting x-forwarded-proto

I have the following setup: Public facing ELB, sends request to -> Nginx instance, sends request to -> internal ELB, sends request to -> node server I'm trying to switch to Application ELBs because of its advantages over classic ELBs, but it only…
Seán Hayes
  • 153
  • 1
  • 9