Questions tagged [amazon-elb]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Why is NGINX timing out?

I have an application with about 200k users and am running a NGINX + Gunicorn(Python) server behind an AWS EC2 loadbalancer. I don't understand how my requests is always 4k/minute but only sometimes ...
0
votes
1answer
25 views

Permanent redirect all http requests to include www subdomain [duplicate]

I have noticed both google.com and amazon.com, redirect requests to www.google.com and www.amazon.com I am thinking of doing the same for my website which is hosted on AWS. What is the best approach ...
1
vote
1answer
27 views

AWS ELB Route 53 to my bluehost domain?

Currently I'm trying to put SSL on my EC2 Instance using Load balancer & Route 53 for my BlueHost Domain As of now I have working Load balancer https://adthrone-loadbalancer-1188159040.us-west-2....
0
votes
1answer
60 views

Remote Desktop Services Gateway behind AWS ALB connectivity issues

I have set up a Remote Desktop Services Gateway behind an AWS ALB. The AWS ALB does the SSL offloading and talks to the RDS Gateway Server via HTTP (port 80). The configuration works and I can RDP ...
0
votes
1answer
15 views

Glassfish 5 cluster creates JSESSIONID on each request

I am trying to configure a Glassfish cluster following the official HA guide. The app is a standard JSF app (with Primefaces). At first I thought that the problem was related to JSF itself, but then ...
0
votes
0answers
18 views

AWS Application Load balancer redirects HTTP:80 to HTTPS:80

I'm using Amazon AWS with an application load balancer. I added listeners for HTTP:80 and HTTPS:443. Everything works fine with HTTPS. However if I try to access the site over HTTP I get redirected to ...
2
votes
1answer
44 views

Separate public subnets for VPN access in my AWS VPC

I'm setting up an AWS VPC, and have carved it up into public, cache, persistence and compute subnets. I plan on separating resources in the following way: Public: ELB and VPN network association ...
1
vote
1answer
134 views

Cloudfront infront of ELB and kubernetes is showing Default backend (nginx-ingress)

Having kubernetes cluster with nginx ingress, pointed to AWS ELB load balancer and Route 53 domain pointed to this ELB is working just fine. Now I am trying to add cloudfront, it's pointing to load ...
-1
votes
2answers
116 views

Why AWS classic ELB with HTTP protocol doesn't work with websockets? [closed]

I know that there is an ALB and NLB option that works with websockets. I can't understand why classic ELB with HTTP protocol doesn't work with websocket connections, although at the instance there is ...
0
votes
0answers
14 views

AWS WAF Blocks Requests but doesn't log it

I have amazon ELB with WAF configured. In ELB access log I can see that for some requests I'm getting a bad request repsonse code: h2 2020-03-02T15:14:15.162445Z elb-instance ip:prot - -1 -1 -1 400 - ...
0
votes
0answers
13 views

Have MX Record on same Domain with CNAME to AWS ELB

I am hosting my website on an AWS ec2 instance, and I have a ELB pointing to it. in my DNS-Conf on Domain.com, I added all the necessary Subdomains with CNAME records to that ELB. Everything works, ...
0
votes
1answer
48 views

Nginx + AWS ELB Health Status Check

I am currently trying to setup a health check on my Nginx server using AWS ELB but can not correctly configure it. I have done this in the past but this time I keep getting the following repeatedly: ...
1
vote
2answers
76 views

AWS Route 53: No targets available with load balancer

I have set up a load balancer in AWS. I need it to run on app.mydomain.com. When I go to Route 53, enter an A record, and click Alias/Yes, the dropdown says "No Targets Available" under "ELB ...
3
votes
2answers
99 views

iptables rule not working with AWS NLB and Elastic IP, works using EC2 Instance public IP

I'm at a bit of a loss. First some context: I've got an AWS EC2 Instance behind an NLB. The NLB is using an Elastic IP. The EC2 Instance is running a DNS server and listening on UDP and TCP 53. The ...
2
votes
2answers
649 views

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 ...
0
votes
1answer
48 views

Amazon ACM `CertificateNotFound` with imported certificate. `describe-certificate` works fine

I've imported my certificate into Amazon ACM: aws --region us-west-2 acm import-certificate \ --certificate file://my_cert.crt \ --certificate-chain file://vendor_ca.crt \ --private-key file://...
0
votes
1answer
37 views

ELB redirect traffic from one port to another

Can AWS ELB redirect traffic from one port to another? Take this example - I have an application running on 8445 but I only want to expose port 443. I have tried this with target groups and listeners ...
0
votes
2answers
70 views

How to resolve multiple EC2 instances for SSH in AWS?

I have multiple EC2 instances running in the same VPC (and thus same region). Is there a way that I can resolve those EC2 instances uniquely for SSH access? Let's assume that I am not using elastic ...
0
votes
0answers
61 views

Possible to configure ELB/ALB with Upstream to ECS/Fargate with PHPFPM process?

I'm putting a dockerised service onto ECS/Fargate, on our cluster it works as a typical nginx+phpfpm setup, where nginx is upstreaming connections to phpfpm using port 9000. This is kind of a run-of-...
1
vote
1answer
353 views

Using a AWS Network Load Balancer for MySQL Cluster

I have asked this question on stackoverflow but I though it might be more suitable for this community. I have a web server which connects to a MySQL cluster (it's Galera cluster)... the cluster works ...
0
votes
0answers
102 views

Force HTTPS redirection with AWS Classic Load Balancer

I have a website in AWS hosted in an EC2 instance. I successfully configured SSL certificate via Classic Load Balancer and I can ONLY access https version of my website. I am getting request timed ...
1
vote
0answers
18 views

HAProxy - How to suppress HTTP/1.1 503 from being sent to the client when in maintenance mode

I'm having problems trying to suppress HTTP/1.1 503 from being sent upstream from HAProxy. In my environment clients first hit an ELB (classic) instance before traffic is sent on to HAProxy. When we ...
3
votes
3answers
4k views

Troubleshooting HTTPS on AWS ALB: Target Group Health Check Failing

I'm having trouble setting up HTTPS for my AWS EC2 instance. In short, I'm running a program on an EC2 instance, and it's critical that I be able to transfer the data securely from clients to AWS. ...
2
votes
0answers
23 views

Rewrite rule with deleting a pattern or backward reference in the path with AWS ELB

Using AWS ELB, I want the folowing rewrite rule : https://example.com/dl/toto.jpg should transform to https://dl.example.com/toto.jpg I tried two ways to do this : matching path /dl/* and return a ...
0
votes
1answer
186 views

How to get detailed logs of non-application 500 errors on an AWS ELB?

I have an auto-scaling group of EC2 instances running a Wordpress site behind an elastic load balancer. I can see that there are periodic 500 errors being reported by the elastic beanstalk app in ...
0
votes
0answers
35 views

Cross-Zone Route53 alias for ELB resource?

I have an Elastic Load Balancer (ELB), which was allocated by a Kubernetes (k8s) cluster, and has several Hosted Zones in Route53 pointing at the ELB. I'd like to have a single entry in Route53 where ...
0
votes
0answers
88 views

ALB Gateway time-out 504

I deployed an application to EKS. I'm using Ingress controller with ALB. The healthcheck of this load-balancer has the status Request time-out. When I visit the load-balancer DNS, the web application ...
2
votes
1answer
81 views

Failed to connect instance with ALB

I'm trying to build a system like this one: I can't connect to the Instance in private public through ALB. I checked my cloudformation code several times and still couldn't find problem. Please help ...
0
votes
0answers
37 views

Does AWS elastic load balancer hide a server's true IP address?

I have a domain name for my ELB on AWS and I can access it from the internet. My question is, if I create a CNAME record from another domain that is the value of my ELB, are the servers behind the ...
1
vote
1answer
77 views

Can a EC2 in the private subnet sends traffic to the internet through ELB without using NAT gateway/instance?

I would like to build a test platform just like the picture. In order to make it simple, I want to let the private EC2 outbound the responses to the ELB, and through ELB the responses get to the users....
0
votes
1answer
599 views

how does elb distribute the traffc to private subnet though public subnet

I just start to learning AWS for a few days. I'm confusing about the way ELB distribute the traffic which from the internet. For example, if I have four ec2, two in the public subnet and others in the ...
0
votes
1answer
110 views

Setting up SSL certificate for subdomain alias

We have an application hosted on AWS backed by Application load balancer. The subdomain subdomain.example.com and domain example.com is managed by an external registrar and they have their NS records ...
1
vote
1answer
64 views

What's the difference between setting AWS Load Balancer to VPC internal and setting equivalent inbound rules?

I'm setting up an API endpoint that I only want to be accessible from other applications inside my VPC. The app is on Elastic Beanstalk and it appears that I can either set my Load Balancer to ...
0
votes
0answers
9 views

ELB health check working, but HTTP traffic times out

I have an EC2 Instance behind an ELB. The ELB is forwarding port 80, HTTP, and has a healthcheck on port 80 too. The healthcheck is getting through fine, and the instance reports healthy and in use, ...
0
votes
0answers
22 views

How to authenticate EC2 instance with AWS ALB?

AWS Application Load Balancers (ALB) support authentication: https://aws.amazon.com/blogs/aws/built-in-authentication-in-alb/. The documentation talks about human users - users arriving at the ALB ...
0
votes
0answers
33 views

PHP docker container application running in AWS-EC2 which is using ELB shows 504 gateway error

I have a drupal application running inside a docker container which is using PHP 7.2. The docker container is running on an EC2 instance with the load balancer. The application usually shows a 504 ...
2
votes
2answers
106 views

Does modifying the listener of an ELB in AWS gracefully drain connections in ECS?

My team and I are trying to come up with the best way to implement blue/green for AWS ECS but we can't seem to definitively answer one question about application load balancers. So far, the method ...
0
votes
1answer
156 views

How to configure AWS classic load balancer to use AWS SSL for both 80 and 8080?

We are using Nginx-RTMP Streaming and trying to redirect both 80 and 8080 to https. We have tried with redirecting different SSL port in AWS Classic load balancer but its doesn't work. Nginx RTMP ...
0
votes
0answers
43 views

ELB not passing code and state from cognito to EC2 after authentication

I am trying to perform ADFS authentication through AWS Cognito behind my AWS ELB, but unable to get success. Following is the flow of request GET example.org/appname 302 GET CognitoLogin 200 GET ...
0
votes
0answers
13 views

Monitor file download progress behind AWS Elastic Load Balancer

I am running a PHP application which tracks the progress of files being downloaded. It works fine when on a normal EC2 instance; the user downloads the file piece by piece, and my application ...
2
votes
1answer
273 views

what causes a large upstream_header_time in nginx?

Setup: Angular / Django / Nginx in ECS. Route 53 -> ELB -> Target group ECS With Nginx proxying /api | /admin calls to Django. We have a large lag or delay on some of our API requests with ...
8
votes
1answer
3k views

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 ...
0
votes
2answers
172 views

Target Groups and Placement Groups

How do Target groups and Placement Groups work together, or influence each other? Is it possible to have an overlap between these two types of groupings? For example if I have an ELB pointing to a ...
1
vote
2answers
181 views

HTTPS works only with Load Balancer DNS - AWS

I have a problem with HTTPS configuration on AWS hope you can help. What I already have: EC2 - with Elastic IP, open ports screen shot with security group. Load Balancer attached to EC2 (with same ...
0
votes
0answers
54 views

How Can I Drop Repeated Long-Running Requests with NGINX and AWS ELB?

In our environment, we have: AWS Application Load Balancer shunting HTTPS to EC2 Instances EC2 Instances running NGINX that shunt requests to either PHP-FPM or Passenger (Ruby Server) The PHP and ...
1
vote
1answer
329 views

AWS - Throttling ELB HTTP Traffic

I'm running a pretty standard LAMP stack on AWS. ELB distributes traffic to a few EC2 Instances running the same application. I have an issue where periodically I receive a huge spike in HTTP ...
5
votes
1answer
410 views

EC2 VPC Intermittent outbound connection timeouts

My production web service consists of: Auto-scaling group Network loadbalancer (ELB) 2x EC2 instances as web servers This configuration was running fine until yesterday when one of the EC2 instances ...
1
vote
1answer
28 views

AWS ELB to Target group Mapping

I am new to AWS And setting up ELB .I worked in F5 LTM and I have some queries about application hosting in ELB. Do we really need a CNAME to route the traffic to ELB FQDN If so ,how can I host ...
0
votes
2answers
793 views

Network Load Balancer to Fargate/ECS Cluster - how to map multiple ports/target groups to one service?

Here is my setup: Route53 Alias Record -> Network Load Balancer -> Fargate/ECS Cluster The containers in the cluster have their own TLS certificates and have ports 80 and 443 open. The http server ...
1
vote
0answers
25 views

AWS ACM renewal issue with DNS method

I have ACM certificate which is verified with DNS method. Now it's getting issue of renewal. Because domain is pointed with ELB record as CNAME. How can I add both ELB CNAME and ACM CNAME record to ...

1
2 3 4 5
11