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

Client --> AWS ALB --> AWS Lambda: connection lost somewhere, how to identify?

The client made an API request. Client --> ALB --> Lambda Lambda worked fine with a response. Lambda duration is only about 3 seconds. The client encountered timeout at 15th second. The ALB ...
Zhuang Paulus's user avatar
0 votes
0 answers
86 views

AWS ALB inbound requests/traffic and denial of wallet attacks

Scenario: I have an AWS ALB protected by AWS WAF with lots of AWS Managed WAF Rules, rate limiting rules, etc. I'm having a hard time in understanding why, even requests blocked by WAF, are impacting ...
gidici's user avatar
  • 1
0 votes
0 answers
27 views

Trigger AWS Autoscale automatically

I have an Autoscale Web Application in AWS. When I don't use it, I terminated EC2 instances automatically with Lambda (with Cloudwatch). But I couldn't find an automatic structure to trigger it again. ...
MrTux01's user avatar
  • 103
1 vote
1 answer
55 views

How to direct https traffic from aws ELB to gke pods in gcp cloud

We are in the middle of migrating our micro services from aws to gcp cloud. Our REST api's are served via an api-gateway which internally calls the respective micro services. So ELB rules were ...
sanre6's user avatar
  • 111
0 votes
1 answer
241 views

How target group dns failover works with AWS

I currently have an AWS load balancer and it has a target group, containing an instance per AZ: 2 of these are unhealthy and I have configured the attributes of the target group so DNS failover ...
Thomas Stokes's user avatar
0 votes
0 answers
60 views

Wordpress behind AWS ELB: constant 302, or not found

I have just installed a new WP under EC2, behind ELB. ELB itself is secured, however, EC2's httpd is not. Crazy Wordpress doesn't recognize it's being served on HTTPS, and installs itself in HTTP mode,...
Daniel's user avatar
  • 201
2 votes
1 answer
230 views

How Do I Use The <VirtualHost> Directive To Host Multiple Sites Using An EC2 Instance, ELB, And CloudFront?

I've been really struggling with this for the past few days, and I'm at a lost. Here's what's going on. I have an EC2 instance (Amazon Linux 2023) behind an ELB and a CloudFront distribution that I ...
wholelottabob's user avatar
0 votes
0 answers
256 views

200 success code in Apache log but 504 error in the browser for the same request

Apache logs 200 (success) code but browser shows 504 Gateway timeout error for the same request. Also, it times out just after aws load balancer idle time out value which is 1200 (20mins). I do not ...
PoojaA's user avatar
  • 1
0 votes
1 answer
462 views

work with AWS ELB to keep websocket connections during server restarting?

So we have a server application which communicates with clients through websocket and we need to regularly upgrade our server app binary. We may have multiple server instances, I know that I can ...
cifer's user avatar
  • 101
0 votes
1 answer
654 views

Two EKS cluster using the same LoadBalancer

Does anybody know if it is possible (and how) to share the same ELB between two Ingress Controllers on different EKS clusters in the same VPC? I have one cluster EKS cluster already running and I just ...
Jaumzera's user avatar
  • 103
0 votes
1 answer
848 views

Can't ping AWS elastic load balancer

I created Load balancer. NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE open-imis-...
dos4dev's user avatar
  • 103
0 votes
1 answer
300 views

Will aws elb address change over time?

I have created a load balancer pointing at my api instances. I got an automatically generated url which looks something like this: xxx-xx-xxxxxxxxxx.us-east-2.elb.amazonaws.com I want to connect it to ...
April Henig's user avatar
0 votes
1 answer
328 views

How to connect cloudfront and alb?

I am trying to connect to ec2 through ALB through Cloudfront. Currently, the ALB already has one listener associated with cloudfront. So I set a listener with a different port as the origin and set ...
john_smith's user avatar
0 votes
1 answer
392 views

How to redirect/block IP access to Nginx

I am hosting a Website on some EC2 Instances behind an Elastic Load Balancer. The Website can be reached via the public IP of the Load Balancer. This public IP is changing frequently so I have to ...
kwkro's user avatar
  • 1
0 votes
0 answers
742 views

Nginx revers proxy getting timeout error issue

I have an AWS elb loadbalancer with three dynamic IPs and domain- example.com, port 443. our client wants to access API but he had outbound firewall rules which required to whitelist dynamic IPs every ...
Jams Rob's user avatar
0 votes
1 answer
1k views

How can I find out why AWS ELB believes my service is failing?

I have a service which is registered with two target groups : alb and wwwalb. The alb target group is for internal requests, and the wwwalb target group is for external requests. When I deploy my ...
sbrattla's user avatar
  • 1,600
1 vote
1 answer
1k views

Is a NAT gateway used when traffic travels over a public application load balancer?

I'm working on the following AWS setup : [public application load balancer] -> [fargate service on private subnet w/NAT gateway] The application load balancer is associated with all three private ...
sbrattla's user avatar
  • 1,600
0 votes
1 answer
646 views

AWS Fargate Load Balancer timing out

I'm setting up an AWS ECS/Fargate cluster/service/task with a load balancer for the first time. I believe the task is good since I can go to the task's (public) IP directly in a browser and see the ...
ScottyB's user avatar
  • 113
0 votes
1 answer
672 views

block public access to the AWS Elastic Beanstalk URL

I have a node.js app running on AWS Elastic Beanstalk. I have setup a domain pointing to a CDN distribution which is pointing to the EBS. But the web app is also accessible via the EBS URL directly. I ...
g.revolution's user avatar
1 vote
2 answers
115 views

What does it mean when a request specifies its SSL protocol as 'TLSv1'?

I'd like to upgrade my AWS ELBs to a security policy that only allows TLS v1.2. Before doing this, I wanted to check the ELB logs to ensure that no current customers are using older versions. My ELB ...
griswoldbar's user avatar
2 votes
2 answers
11k views

Achieving mTLS with AWS ALB

If I have an ALB in my infrastructure with ECS target groups downstream, will SSL/TLS always be terminated at the ALB? If so, are my only options ELB/NLB to preserve the SSL/TLS context?
RustyShackleford's user avatar
0 votes
0 answers
47 views

Apache/AWS: How to identify local instance requests from the same VPC

In this configuration the apache server instances are all in the same VPC (across several subnets) and all incoming requests are managed via an elastic load balancer, (with ProxyProtocol=On on each ...
Konchog's user avatar
  • 101
1 vote
1 answer
2k views

Why is a post/upload of a 100k JSON file to an AWS CloudFront endpoint resulting in 504 error?

On a wordpress site, we have requests coming in to CloudFront, which sends the request to origin (if necessary) which goes through an ELB, and to two or three instances that will service the request. ...
Barry Chapman's user avatar
0 votes
1 answer
4k views

Secure websocket connection to server running on EC2 fails

I have a node.js websocket server running on an EC2 instance on port 8080. Normal websocket connections (ws://) work fine but when I'm trying to make a secure connection (wss://), the websocket ...
Debabrata Mondal's user avatar
0 votes
0 answers
955 views

AWS ELB(classic load balancer) response is too slow and sometimes response is not coming it is showing timed out

I have EKS cluster setup in private subnet in which i'm having my microservices and for each microservice i have classic load balancer to access API. But response is having high latency and sometimes ...
uni's user avatar
  • 21
0 votes
1 answer
184 views

How to make a domain name resolve to the same IP address as another domain name?

I have a AWS ELB to the gateway of an internal service. I have some other host names that I need to be resolved to the same address as the ELB DNS name. In my current set up, I'm using /etc/hosts to ...
Satoru.Logic's user avatar
0 votes
1 answer
3k 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 ...
JohnnyAce's user avatar
0 votes
1 answer
47 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 ...
jminuscula's user avatar
0 votes
1 answer
143 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 ...
Hooman Bahreini's user avatar
0 votes
0 answers
259 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 ...
Hooman Bahreini's user avatar
1 vote
2 answers
5k 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 ...
David Keaveny's user avatar
1 vote
0 answers
131 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 ...
int 2Eh's user avatar
  • 193
0 votes
1 answer
5k 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 ...
chris's user avatar
  • 4,003
12 votes
2 answers
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 ...
Upul Dissanayake's user avatar
0 votes
1 answer
716 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 ...
Ing. Luca Stucchi's user avatar
1 vote
1 answer
240 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 ...
SaroVin's user avatar
  • 130
1 vote
2 answers
469 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 ...
AussieDude's user avatar
0 votes
1 answer
2k 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 ...
Kaustubh Desai's user avatar
1 vote
0 answers
504 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 ...
himathur's user avatar
0 votes
0 answers
1k 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....
user1734698's user avatar
0 votes
1 answer
551 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 ...
Chris_K's user avatar
  • 3,434
0 votes
1 answer
819 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 ...
Pawan Rai's user avatar
  • 101
1 vote
3 answers
2k 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 ...
user784637's user avatar
  • 1,592
0 votes
0 answers
938 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; ...
Sergey Glazyrin's user avatar
0 votes
1 answer
204 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 ...
JasonGenX's user avatar
  • 532
3 votes
2 answers
2k 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 ...
paullb's user avatar
  • 185
1 vote
1 answer
65 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 ...
zsolt.k's user avatar
  • 113
4 votes
1 answer
2k 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-...
user2449397's user avatar
1 vote
1 answer
2k 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 ...
cabz's user avatar
  • 11
1 vote
0 answers
48 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 ...
Glasnhost's user avatar
  • 651

1
2 3 4 5
12