Skip to main content
Filter by
Sorted by
Tagged with
124 votes
12 answers
108k views

I want to redirect all the HTTP request to https request on ELB. I have two EC2 instances. I am using nginx for the server. I have tried a rewriting the nginx conf files without any success. I would ...
Amit Badheka's user avatar
  • 2,672
80 votes
2 answers
87k views

I'm using Amazon EC2, and I want to put an internet-facing ELB (load balancer) to 2 instances on a private subnet. I am using VPC with public and private subnets. If I just add the private subnet to ...
Manish Singh's user avatar
  • 6,246
65 votes
7 answers
30k views

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 ...
Rober's user avatar
  • 6,158
63 votes
7 answers
45k views

I've had this issue before. When running WordPress (or other PHP scripts) behind Amazon's EC2 Load Balancer, the scripts do not realize they are being ran on the https:// protocol and results in ...
A.B. Carroll's user avatar
  • 2,534
57 votes
6 answers
51k views

How do you put up a maintenance page in AWS when you want to deploy new versions of your application behind an ELB? We want to have the ELB route traffic to the maintenance instance while the new auto-...
BestPractices's user avatar
51 votes
1 answer
5k views

I am trying to add an HTTPS listener to my EBS classic load balancer. I used the CLI upload-certificate tool to upload my cert (using the GUI never resulted in the cert showing up as an option on the ...
Half_Duplex's user avatar
  • 5,246
51 votes
3 answers
24k views

AWS comes with a service called Application Load Balancer and it could be a trigger to a lambda function. The way to call such a lambda function is by sending an HTTP/HTTPS request to ALB. Now my ...
Mehran's user avatar
  • 17.2k
45 votes
5 answers
31k views

I am trying to update a wildcard certificate for EC2 instances on AWS. The service these servers belong to consists of a single server and a set of servers behind AWS ELB. The certificate has been ...
marekful's user avatar
  • 15.4k
38 votes
2 answers
41k views

Observations When using an Amazon ELB Application Load Balancer and working with Sticky Sessions the load balancer inserts a cookie named AWSALB in the first request. To let the next request stick to ...
mgd's user avatar
  • 4,412
36 votes
8 answers
37k views

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 ...
Ricardo García Martín's user avatar
32 votes
3 answers
39k views

I'm trying to create and configure Load Balancer. The Availability Zones section has only one subnet and one zone for me. I faced error: At least two subnets must be specified. Simple question - ...
Dmitry Grinko's user avatar
31 votes
3 answers
10k views

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 ...
Alexander Mills's user avatar
31 votes
2 answers
50k views

We like to enable HSTS to our IIS deployed web application. We have SSL terminating ELB Application load balancer. We have enabled the URL rewrite module in IIS and configured the x-Forward-Proto tag ...
Prasanna B R's user avatar
31 votes
2 answers
14k views

I have microservices(in different programming languages) running on an EC2 instance. On production I notice a few 502 Bad Gateway Errors when these services try to interact with each other. Also in ...
rajat12a's user avatar
  • 419
30 votes
11 answers
23k views

For a couple of days, we often see an extremely long initial connection time (15s - 1.3 minutes) to our ELBs when making any request via ssl. Oddly, I was only able to observe this in Google Chrome (...
ahrzg's user avatar
  • 338
29 votes
7 answers
33k views

I am having an issue using Terraform (v0.9.2) adding services to an ELB (I'm using: https://github.com/segmentio/stack/blob/master/s3-logs/main.tf). When I run terraform apply I get this error: * ...
LondonAppDev's user avatar
  • 9,781
29 votes
3 answers
25k views

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 ...
pd40's user avatar
  • 3,255
28 votes
7 answers
8k views

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's user avatar
  • 11.5k
27 votes
4 answers
22k views

Question If there a way to get the assigned IP address of an aws_lb resource at the time aws_lb is created by Terraform? As in AWS documentation - NLB - To find the private IP addresses to whitelist,...
mon's user avatar
  • 23k
27 votes
2 answers
23k views

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 ...
sungiant's user avatar
  • 3,222
25 votes
4 answers
23k views

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: https:/...
Art's user avatar
  • 5,922
25 votes
2 answers
18k views

I've a REST API application running in two EC2 instance and was using AWS Classic Load Balancer for a long time. The clients of REST API rely on the response headers (e.g. such as Location). I know ...
vtor's user avatar
  • 9,349
23 votes
7 answers
13k views

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 ...
rfj001's user avatar
  • 8,558
23 votes
1 answer
12k views

Is it possible to force nginx $scheme value to "https" if nxinx is running behind load balancer? In my scenario Load balancer takes care of https communication with client and forwards requests to ...
svestka's user avatar
  • 765
22 votes
3 answers
6k views

Does anyone have the experience using HTTP2 server behind AWS ELB running in TCP Mode? As I know, AWS ELB does not support HTTP2 now, however, by using TCP mode, it should pass the request to the ...
Kevingo Tsai's user avatar

1
2 3 4 5
61