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
0answers
22 views

Use ALB to publish a service using EKS with nodes in private subnet WITHOUT a NAT Gateway

I am using eksctl to provision an EKS cluster in my AWS account. It works fine, but I noticed it creates a NAT Gateway, which is somewhat expensive. Is there a way to have nodes in private subnets ...
2
votes
0answers
20 views

Can't activate licenses on EC2 instance in private AWS subnet (but CAN download updates)

I've got an EC2 instance running WP in a private subnet behind an ELB. Everything is mostly working fine - traffic is being delivered via ELB, the private instance can download package updates and ...
0
votes
1answer
154 views

Proxy Forwarding not woking on Nginx, Laravel, Elastic Load Balancer

I have an AWS Elastic Load Balancer that receives https requests for the domain (bunny.misite.dev), the requests are sent to the server Nginx via http and the Laravel App answers the requests. The ...
0
votes
1answer
41 views

Automatic ELB forwarding rules based on path

I have an ec2 container serving inference for ML models, which need to be cached in memory to avoid cold starts. We are using an LRU cache and selecting the model based on a query parameter. As the ...
0
votes
1answer
67 views

Configuring ELB to redirecting Internet Explorer traffic to a specific page

I want to redirect Internet explorer to a specific page, which says: "IE not supported" I have configured the following rule in my Application Load Balancer to check the Browser header and ...
0
votes
0answers
26 views

Cannot detect Browser when using Elastic Load Balancer

Note: I have asked the same question on StackOverflow but I though it might be more relevant to this forum. I want to prevent users from using my website in Internet Explorer. What I want to do is to ...
0
votes
0answers
20 views

ELB dropping persistent gRPC server-side stream

We're setting up a load balancer for our IoT server. There is (currently) a single gRPC server, to which the devices must connect. The load balancer is set up to perform HTTPS encryption, and allow ...
0
votes
2answers
41 views

AWS target group reports unhealthy, but application is healthy

I have an IIS website running in AWS on an EC2 instance, running on http://localhost:8088. It is behind an ELB that sends all HTTPS traffic to the target group that the EC2 instance is running in, so ...
1
vote
0answers
24 views

Fastest way to import files in Spark?

I’m playing around with Spark 3.0.1 and I’m really impressed by the performance with Spark SQL on GB of data. I’m trying to understand what’s the best way to import multiple JSON files in the Spark ...
0
votes
0answers
8 views

Cannot open connection via NetworkLoadBalancer

Our setup: 1 EKS Cluster in a VPC with two subnets. 1 NLB forwarding traffic to an ingress controller on all EKS nodes. VPC(NLB -> EKS Nodes) Problem: When pods (from the EKS) try to connect back ...
0
votes
1answer
275 views

apache 2.4 config to allow ELB health check

I have an EC2 instance behind an AWS Application Load Balancer, running apache 2.4 The health check is configured to do a GET on /health/ I have virtual hosts configured, and two vhost entries - one ...
12
votes
2answers
3k views

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

How can I prevent apache to log ELB Health Checks in Docker?

I have a dockerized web application deployed in ECS, and everything works just fine, logging in cloudwatch every request, including a HUGE number of health checks, which are configured to hit the ...
1
vote
1answer
32 views

Terminate the SSL at an apache instead of ELB

I want to migrate my platoform built with PHP/APACHE to AWS Cloud. My application serves multiple website with different domains and SSL Certificates. I can use only 50 certificate with AWS ...
1
vote
2answers
62 views

Does AWS Application Load Balancer scan listening ports on the EC2 web servers?

We plan to have an Application Load Balancer (ALB) and a number of EC2 web servers behind it. All web servers listen on port 443 for HTTPS. On top of this, each web server listens on a different port ...
0
votes
1answer
190 views

TCP 443 listener on AWS Private Network Load balancer throws SSL_ERROR_RX_RECORD_TOO_LONG

I have a AWS private Network Load Balancer setup with a listener TCP 443, the target group attached to this listener is also running on port 443. The instances attached to this target are running ...
1
vote
0answers
27 views

AWS ELB: Trailing slash issue :: Website is not loading

Scenario: My website resolves to Aws ELB with 443 listener Backend Target group is an EC2 instance with apache running on port 8080 Problem: If I miss the trailing slash, the website does not ...
0
votes
0answers
272 views

NET::ERR_CERT_COMMON_NAME_INVALID error occuring while AWS ACM certificate loaded on HTTPS load balancer for a domain created in GoDaddy

I have a node js app deployed onto EC2 instance running on port 300 and it is exposed to internet via port 80 & 443 via http load balancers. My security group allows inbound rules on 80 & 443....
0
votes
1answer
79 views

AWS Load Balancing and Web App redirecting to SSL

We have a [legacy] web application that redirects non-SSL requests (port 80) to SSL (port 443). The web server is IIS (if that matters). Now I wish to put a load balancer in front of this app. That ...
0
votes
1answer
94 views

Prevent HTTPS to HTTP redirect on nginx AWS?

I have a wordpress site with nginx packed into a Docker image behind an AWS ELB Load Balancer. Only HTTPS is enabled on the load balancer. When I access the URL: https://example.com/wp-admin/ it works ...
1
vote
3answers
214 views

Why does only one of the multiple address records for my AWS NLB work at a single time?

I'm using an AWS network load balancer. When I issue nslookup dualstack.app.elb.us-east-2.amazonaws.com, the output is Non-authoritative answer: Name: dualstack.app.elb.us-east-2.amazonaws.com ...
0
votes
0answers
139 views

504 gateway timeout - ELB, Nginx, Gunicorn

Helllo guys. I am unable to download long-running reports. The site is under ELB, nginx and gunicorn as a backend server. In nginx I configured following settings: proxy_connect_timeout 600s; ...
0
votes
1answer
36 views

AWS: ELB Listener RANDOMLY “forgets” its SSL certificate and reverts to TCP — taking the site offline. We're considering leaving AWS for this

I have been banging my head for months over this, no answer, no info, no "cure". my AWS ELB listener "randomly" forgets its SSL settings and reverts to this on its own, at random ...
1
vote
1answer
321 views

“edit health check” is greyed out on AWS EC2 Load Balancers

The default AWS EC2 Load Balancer Health Check hits "/" but I'd rather have it hit somewhere where. In the Load Balancer settings the "edit health check" is greyed out and I'm not ...
1
vote
1answer
43 views

AWS autoscaling and ELB, use different health checking mechanism

I need some advice about AWS autoscaling, loadbalancers and health checks: is it possible to distinguish two health checking mechanism, one is when to send or do not send traffic to an instance (but ...
3
votes
1answer
873 views

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-...
1
vote
1answer
422 views

AWS Network Load Balancer for Fargate tasks with end to end encryption

We currently have a AWS Fargate service running Nginx behind a AWS Application Load Balancer. In front of this, we also use Cloudflare (hence having Cloudflare origin certificate in ACM). Since the ...
1
vote
0answers
18 views

AWS sample template vpc+multiple subnets not working

I'm deploying an apparently simple CloudFormation template from AWS samples: https://s3-ap-northeast-1.amazonaws.com/cloudformation-templates-ap-northeast-1/vpc_multiple_subnets.template As stated, it ...
0
votes
1answer
122 views

Using Apache httpd to simulate an AWS NLB

I'm using AWS Network Load Balancer and I've enabled the "Proxy Protocol V2" in its Target Group. Connections are forwarded to some docker containers running nginx with this configuration: server { ...
0
votes
1answer
53 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
38 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
170 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
705 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
101 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 ...
2
votes
1answer
67 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
896 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
847 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
1answer
400 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
125 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
245 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
2k 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 ...
1
vote
1answer
178 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
246 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
138 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 ...
1
vote
1answer
1k 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
351 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
22 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
10k 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
26 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 ...
1
vote
1answer
647 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 ...

1
2 3 4 5
11