Questions tagged [amazon-elb]
ELB is Amazon's managed Load Balancer service, used in conjunction with its EC2 virtual machine cloud hosting service.
553
questions
0
votes
1
answer
123
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 ...
0
votes
1
answer
108
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 ...
0
votes
1
answer
79
views
Can't ping AWS elastic load balancer
I created Load balancer.
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
open-imis-...
0
votes
1
answer
60
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 ...
0
votes
1
answer
86
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 ...
0
votes
0
answers
33
views
Elastic Beanstalk 1 ELB for multiple website and domain
Can I use 1 Elastic Beanstalk to manage multiple website with different domain?
How to do that?
0
votes
0
answers
113
views
Why does ASG for Target Group keep adding Targets with port 80 when all I have are containers with Dynamic Mapping? (ECS running Rails app)
Current setup is a Target Group with an Auto Scaling Group providing the instances for an ELB (Application Type).
This strange behavior is happening, as soon an instance is added, it has this port 80; ...
0
votes
0
answers
131
views
Configure AWS VPN with security rules for internal load balancer
currently we have an AWS client vpn setup to give users access to our VPC. We are using active directory groups to allow certain users access to ip ranges. However, we would like to allow some users ...
0
votes
1
answer
279
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 ...
0
votes
0
answers
489
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 ...
0
votes
1
answer
554
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 ...
0
votes
1
answer
773
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 ...
0
votes
1
answer
302
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 ...
0
votes
1
answer
336
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 ...
1
vote
2
answers
73
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 ...
2
votes
1
answer
7k
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?
0
votes
0
answers
38
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 ...
1
vote
1
answer
984
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.
...
0
votes
0
answers
740
views
GRPC call returns 'PROTOCOL_ERROR (0X1)' for a .NET application on EKS
My .NET application is deployed to an EKS cluster, which has an ingress defined with the following relevant annotations
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/ssl-policy: ...
0
votes
1
answer
3k
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 ...
0
votes
0
answers
630
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 ...
0
votes
1
answer
122
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 ...
0
votes
1
answer
2k
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
1
answer
45
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
1
answer
128
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
0
answers
196
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 ...
1
vote
2
answers
3k
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
0
answers
121
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
1
answer
3k
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
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 ...
0
votes
1
answer
406
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
1
answer
211
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
2
answers
242
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
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 ...
1
vote
0
answers
379
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
0
answers
871
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
1
answer
393
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
1
answer
520
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
3
answers
1k
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
0
answers
664
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
1
answer
106
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 ...
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 ...
1
vote
1
answer
58
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 ...
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-...
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 ...
1
vote
0
answers
32
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
1
answer
297
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
1
answer
148
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
1
answer
221
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
1
answer
843
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....