Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
16 views

Trying to deploy an electron app with Amazon ElasticBeanstalk

I'm deploying an electron app whose core is a dll so I'm using windows server as platform but I got a red enviroment and this error. [Instance: i-0586c920d7538ec6b ConfigSet: Infra-EmbeddedPreBuild, ...
user avatar
0 votes
1 answer
21 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 ...
user avatar
  • 113
0 votes
0 answers
22 views

How to add condition in elbsg.config in ebextensions for elasticbeanstak

Currently, we use docker-compose and .ebextensions to update elastic load balancer security group. However now I have requirement to apply different security groups for different environment. How do I ...
user avatar
  • 1
0 votes
0 answers
18 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 ...
user avatar
1 vote
2 answers
44 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 ...
user avatar
0 votes
1 answer
852 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?
user avatar
0 votes
0 answers
17 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 ...
user avatar
  • 101
0 votes
1 answer
213 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. ...
user avatar
0 votes
0 answers
137 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: ...
user avatar
  • 101
0 votes
0 answers
40 views

WAF-protected ALB scaling costs in DDoS scenario

I have an ALB behind Cloudfront. Both of which have SSL certificates and therefore provide SSL offloading, both protected with WAF WebACLs. The ALB's ACL checks a header - a common practice protecting ...
user avatar
0 votes
1 answer
772 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 ...
user avatar
0 votes
0 answers
119 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 ...
user avatar
  • 21
0 votes
0 answers
394 views

AWS client IP preservation with NLB

On AWS, when you create a NLB, you have the possibility to specify the instance ID instead of the instance IP address. This causes the NLB to preserve the client IP. However, if I configure the NLB to ...
user avatar
  • 101
0 votes
0 answers
70 views

AWS Elastic Beanstalk - Disable nginx from EB Platform?

I'm switching from nginx to Caddy so I set up Caddy and created a new AMI. When I deploy this AMI to my EB environment, it fails to launch because nginx fails to start during the launch. I'm no longer ...
user avatar
  • 99
0 votes
1 answer
42 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 ...
user avatar
0 votes
0 answers
21 views

AWS Elastic Loadbalancer Traffic Calculation

Currently, in my environment, there is no other way to check the amount of traffic processed by ELB, so I was able to get the average number of bytes processed per hour by linking Cloudwatch metric ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
82 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 ...
user avatar
0 votes
0 answers
123 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 ...
user avatar
0 votes
2 answers
793 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 ...
user avatar
1 vote
0 answers
51 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 ...
user avatar
  • 183
0 votes
1 answer
1k 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 ...
user avatar
  • 3,883
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 ...
user avatar
0 votes
1 answer
151 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 ...
user avatar
1 vote
1 answer
91 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 ...
user avatar
  • 130
1 vote
2 answers
95 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 ...
user avatar
0 votes
1 answer
885 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 ...
user avatar
1 vote
0 answers
118 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 ...
user avatar
0 votes
0 answers
549 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....
user avatar
0 votes
1 answer
156 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 ...
user avatar
  • 3,434
0 votes
1 answer
248 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 ...
user avatar
  • 101
1 vote
3 answers
825 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 ...
user avatar
  • 1,482
0 votes
0 answers
355 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; ...
user avatar
0 votes
1 answer
50 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 ...
user avatar
  • 522
3 votes
2 answers
1k 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 ...
user avatar
  • 185
1 vote
1 answer
48 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 ...
user avatar
  • 113
4 votes
1 answer
1k 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-...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 11
1 vote
0 answers
23 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 ...
user avatar
  • 501
0 votes
1 answer
194 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 { ...
user avatar
0 votes
1 answer
81 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 ...
user avatar
0 votes
1 answer
77 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 ...
user avatar
1 vote
1 answer
498 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....
user avatar
  • 225
0 votes
1 answer
1k 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 ...
user avatar
  • 197
0 votes
1 answer
222 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 ...
user avatar
  • 103
2 votes
1 answer
104 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 113
-1 votes
2 answers
3k 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 ...
user avatar
  • 151
0 votes
1 answer
927 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: ...
user avatar

1
2 3 4 5
11