3,021 questions
1
vote
0
answers
681
views
AWS ELB/ECS Http response headers changed
Some context here:
An old Symfony app is used in multiple EC2 instances. Handles millions of requests each day without issues.
For dev purposes, the app was added to a container and that container is ...
1
vote
0
answers
28
views
AWS Beanstalk ELB Logging Terraform - elb_account_id hardcoded
I am trying to enable logging on the load balancers created by AWS Beanstalk using Terraform, by referring the below article,
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-...
0
votes
1
answer
786
views
Setting up a redirect on route 53 including path redirection
We have a website running on AWS ECS Fargate via an application load balancer.
Due to a rebrand the url is due to change however we would want all old links to still work.
We have an old url called ...
0
votes
0
answers
564
views
AWS : Cannot add new listener to an existing load balancer
It seems like we cannot more than one listener et an AWS Network Load Balancer.
I've a Load balancer already listening for HTTPS/TLS on port 443. As my instances behind also support http some vhost, I ...
0
votes
1
answer
181
views
sticky session is not working on android browser
I have an ingress alb with session stickiness enabled on target group!
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ...
1
vote
1
answer
92
views
Bad gateway 502, when ec2 machines are private [closed]
I have created an auto scaling group with EC2 machines. These EC2 machines have installed a webserver. The EC2 machines have a public IP adress and a load balancer in front of them. When querying the ...
1
vote
1
answer
448
views
Network load balancer in single AZ, Application load balancer & ec2 in multiple with cross zone issues
I have an elastic beanstalk application which has an ALB and ec2 instances that can be created in any of the 6 AZ's based on the auto scaling policy.
I then put an NLB in front to create a single ...
0
votes
1
answer
1k
views
Address null for ingress in EKS with classic LB
when I create ingress it is created with no address and when I describe my ingress I see message
Failed build model due to WebIdentityErr: failed to retrieve credentials
caused by: AccessDenied: Not ...
1
vote
1
answer
1k
views
How to redirect/forward context path in AWS ALB listener rules?
We have an AWS ALB with target groups. We are able to achieve context path redirect/forward using nginx. Now we want to redirect/forward queries for path A to path B below using listener rules. Please ...
1
vote
1
answer
2k
views
AWS EC2 Internet access from behind Load Balancer
Using Terraform to setup a VPC with two EC2s in private subnets. The setup needs to SSH to the EC2s to install package updates from the Internet and install the application software. To do this there ...
2
votes
1
answer
3k
views
AWS ECS does not drain connections or remove tasks from Target Group before stopping them
I've been experiencing this with my ECS service for a few months now. Previously, when we would update the service with a new task definition, it would perform the rolling update correctly, ...
2
votes
1
answer
955
views
Synth of AWS gateway load balancer in python CDK is failing
I am trying to create an AWS Gateway Load Balancer configuration in AWS CDK (python). I already have a working version in Cloud Formation. The synth step is failing, seemingly, because CDK is not ...
1
vote
0
answers
199
views
AWS Elastic Beanstalk https not working with hostinger domain
I have deployed my .NET Core Web API application to AWS Elastic Beanstalk , then I purchased a domain from hostinger to get a free SSL certification from Amazon ACM .
After I validated the ownership ...
-2
votes
2
answers
64
views
Why not using the direct IP but Security Group instead?
I was doing the question in the image below and the right answer blew my mind:
I my opinion putting the ALB IP address would work, but the right question answer suggests that I should put ALB to a ...
1
vote
1
answer
59
views
How do I Restrict no of requests on Elastic Load Balancer
I want to restrict no of requests per minute from single origin.I have researched on it and got that AWS WAF can do this but i don't know how that rule can be created for this particular use case
0
votes
1
answer
977
views
Can keep load balancer after delete service in EKS
I using EKS (k8s managed cluster) and create service with type LoadBalancer. Can i keep my load balancer after delete that service in EKS?
I want to keeping my load balancer for normal operation
2
votes
0
answers
913
views
Websocket: Handshake failed due to invalid Upgrade header: null
Could not find a solution to the other posted questions.
Our web socket service is running on HTTP in Kubernetes and we have enabled ELB(Elastic Load balancer). The client is connecting using stomp.js....
0
votes
1
answer
222
views
SSl/TLS from Ionic mobile App to aws load balancer not working
I think I misunderstand the concept of adding ssl protection to my aws ec2 instance with a load balancer!
I have an Ionic app web, ios and android. I want to switch all http requests to https.
What I ...
1
vote
0
answers
373
views
Cloudfront behavior not redirecting traffic to ELB
I have a problem with a Cloudfront distribution.
This distribution has 3 origins:
An S3 Bucket containing a static website
An ELB containing CMS and API
A custom Lambda function (not part of the ...
0
votes
0
answers
225
views
Cannot get response for requests that are over abt 5 minutes on AWS load-balanced environment
We are sending a POST request that could take a couple of minutes from our application registered as a windows service on one AWS server to our API which is located in an AWS load-balanced environment....
0
votes
1
answer
47
views
How to specify list of subnets for ELB from the Parameters?
I am trying to specify subnets for ELB based on the region type
This is what i have in my parameters for example
PublicSubnetsEastRegion:
Description: List of public subnets in us-west-2 region
...
3
votes
1
answer
5k
views
Flask Socket - Invalid session lWmxdNRmai59bRfLAAAA (further occurrences of this error will be logged with level INFO)
I am trying to use flask socket.io in docker with basic commands.
When i am running single worker of gunicorn everything is working fine but when i increase the workers, then on the client side it ...
0
votes
0
answers
1k
views
Kubernetes: How to setup TLS termination in the Load Balancer on AWS using Nginx Ingress Controller
In the documentation of Nginx Ingress for AWS it says:
By default, TLS is terminated in the ingress controller. But it is also possible to terminate TLS in the Load Balancer.
Link: https://...
0
votes
0
answers
42
views
AWS loadbalancer for same ec2 for diffrent ports
I have some ec2 machine that run the same code on different ports.
I want to use the aws loadbalancer to route the requests to different ports every time.
for example:
post to port 80 will send to ...
0
votes
1
answer
67
views
Balancing several gateways in Docker
Is there any possibility to create several gateway docker containers with balanced access via the same URL?
I have now the following compose yaml file
version: "3.9"
services:
gateway:
...