Questions tagged [amazon-elb]

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

547 questions
12
votes
2 answers

AWS recommends 54 t2.nano EC2 instances instead of one m5.xlarge

We have deployed a web application on an m5.xlarge EC2 instance and when we try to buy an annual or 3 years reserved license, AWS recommends based on our current usage it is recommended to purchase 54 t2.nano instances instead of the m5.xlarge we…
11
votes
1 answer

How to log original value of $remote_addr when using Real-IP

My environment has user requests passing through a number of systems: [Client] --> [ELB] ---> [nginx] --> [web] (ELB = AWS Elastic Load Balancer) Thanks to this answer, I have nginx determining and passing the correct client IP address to the…
michaelg
  • 230
  • 1
  • 3
  • 9
11
votes
3 answers

How to set up ELB health checks with multiple applications running on each EC2 instance?

At AWS we'd like to to use ELBs to load balance EC2 instances which host multiple applications. Ideally we'd like to have a health check for application. However, AWS Elastic Load Balancers currently only allow you to ping one location for a health…
11
votes
2 answers

SSL redirect on EC2 instance behind SSL terminating load balancer

I'm trying to redirect all url's to https in a web application. I have an ec2 instance behind an elastic load balancer. SSL is terminated on the load balancer. Any attempts at redirection end up giving me the familiar 'this page is requesting in…
rix
  • 267
  • 4
  • 10
10
votes
1 answer

AWS Fargate + Application Load Balancer SSL Termination

I'm trying to configure ECS Fargate behind an Application Loader Balancer (ELBv2), and I would like to terminate the TLS/SSL connections on the ALB, and send HTTP traffic (port 80) to the Fargate images, which listen on port 80. This is the diagram…
10
votes
3 answers

Install SSL on Amazon Elastic Load Balancer with GoDaddy Wildcard Certificate

I'm a bit stuck installing an SSL Cert on an AWS Elastic Load Balancer. I have a wildcard certificate from GoDaddy and need to point it at the ELB. I have run the command (I ran it on one of the servers behind the load balancer): openssl req -new…
Peter
  • 250
  • 1
  • 4
  • 11
10
votes
2 answers

Can Elastic Load Balancers correctly distribute traffic to different size instances

Just been looking into Elastic Load Balancers. As I understand it they just do round robin, evenly distributing connections to the servers behind them. So what happens if you have different size instances behind an ELB? Does it send more connections…
Sean Bannister
  • 741
  • 8
  • 19
9
votes
3 answers

Apache DirectorySlash redirects HTTPS requests back to HTTP

User Request: https://www.example.com/test HTTPS requests --> AWS ELB HTTPS Listener --> Apache HTTP Apache getting http://www.example.com/test Apache redirect it to http://www.example.com/test/ due to DirectorySlash is On by default. User ends up…
starchx
  • 433
  • 10
  • 23
9
votes
3 answers

Using Amazon Load Balancers to route traffic to private servers outside Amazon

I'm looking into using Amazon Elastic Load Balancing (ELB) in order to reduce downtime when a server goes down. Basically, I don't want to change the relevant DNS records and wait for DNS propagation across the whole world, I just want to redirect…
Emanuil Tolev
  • 193
  • 1
  • 5
9
votes
2 answers

Amazon ELB HTTPS Not working

I'm trying to get HTTPS working with AWS ELB. I've been trying for about an hour, but no matter what i try, i just get connection timed out when connecting via HTTPS. HTTP works fine, but not HTTPS. Can anyone provide some assistance?
Aaron
  • 93
  • 1
  • 4
8
votes
1 answer

Is it possible to show a static page if all ELB registered instances are down?

We are using AWS ELB to offload SSL and load balance the incoming traffic. If all instances are down/unhealthy the ELB just sends back a blank page with HTTP status 503. Is it possible to send a static page, to indicate maintenance, for example?
Heinrich
  • 900
  • 4
  • 21
  • 35
8
votes
2 answers

Can I use the new free SSL/TLS AWS certificates without ELB or Beanstalk on plain EC2?

AWS just announced free SSL/TLS certificates here: https://aws.amazon.com/blogs/aws/new-aws-certificate-manager-deploy-ssltls-based-apps-on-aws/ Mainly: SSL/TLS certificates provisioned through AWS Certificate Manager are free! and You can…
8
votes
2 answers

Map one AWS ELB load balancer port to balance to multiple instance ports?

Lets say I have multiple processes running on multiple EC2 instances each on different ports. Can I map a single AWS ELB to balance to any of these processes across any instance? For example, I'd ideally like a setup like this: HTTPS 443 -> Instance…
Sam
  • 720
  • 2
  • 8
  • 18
8
votes
2 answers

How to block Nginx access log statements from specific user agents

I am looking to turn off logging in the Nginx access log file from specific requests from http user agents. Basically from the Amazon ELB Health Check and our external (Pingdom) monitoring. Since these come every few seconds, makes testing hard to…
briannyc
  • 83
  • 1
  • 4
8
votes
3 answers

AWS ELB as backend for Varnish Accelerator

I am working on a large deployment on AWS that has high uptime requirements and variable loads throughout the day. Obviously, this is the perfect use case for ELB (Elastic Load Balancer) and autoscaling. However, we also rely on varnish for caching…
addisonj
  • 308
  • 2
  • 7
1
2
3
36 37