3,021 questions
-1
votes
0
answers
20
views
CloudFront caching Traefik Sticky Sessions in Docker Swarm causing 502 errors after deployment
We run a Meteor application that requires sticky sessions. We recently refactored our infrastructure and have started seeing connectivity issues.
Old Setup (Stable): A single EC2 instance running ...
-1
votes
1
answer
115
views
Common Load Balancer For Spring boot Micro serivce Projects Using AWS EKS and ELB
Currently I am working on migration from monolithic application into microservice oriented architecture using spring boot , hibernate , docker and kubernetes technological stack. My backend contains ...
0
votes
1
answer
146
views
How to allow AWS Elactic Load Balancer to write access logs to an S3 bucket
First off, full disclosure, my experience with AWS is currently limited really to EC2.
I am trying to get logs for my Elastic Load Balancer (ALB), and I am trying to enable access logs to an S3 bucket....
1
vote
0
answers
68
views
How to Automatically Provision CDN(CLOUDFRONT) which points to LB(ELB) with Kubernetes and External-DNS?
I'm learning Kubernetes (K8s) and have a question regarding cloud infrastructure provisioning with Kubernetes and external-dns.
ROUTE 53 ---> CLOUDFRONT (SSL TERMINATION) ----> ELB --------> ...
0
votes
0
answers
43
views
Issue with Gitlab CE setup with HA in AWS
Trying to setup Gitlab CE with HA (for 3000 users) in AWS. i am following documentation from gitlab.com but here i am trying to setup with AWS services like Elasticache(Redis) , RDS and EC2. i am ...
0
votes
1
answer
123
views
AWS LoadBalancer + TargetGroup cannot access Spring Boot App in ECS
Not sure where I am going wrong:
Loadbalancer
LoadBalancer has a listener on HTTPS / 443
And Forwards to a Target Group
Target Group
Target Group has protocol HTTP / 80 configured
ECS
ECS has Spring ...
0
votes
0
answers
494
views
How to Visualise ELB Logs from S3 in Grafana?
I am trying to visualize S3 logs in Grafana, which are collected from a load balancer. The logs are available at:
test-bkp/AWSLogs/851725603941/elasticloadbalancing/us-east-2/year/month/date/*.gz
What ...
-1
votes
1
answer
130
views
Why IIS returning 403 forbidden when upload some file ? many of then success but there are failed
I have an API using .NET Framework 4.8. Deployed on IIS 10. Hosted in AWS EC2 with ELB.
All the endpoint is works as expected, including the get file endpoint. But I Have one endpoint for uploading ...
0
votes
1
answer
115
views
Restrict Access to Your Elastic Beanstalk Domain While Using an ALB
I'm hosting an application on AWS Elastic Beanstalk (EB) in a private subnet. The security group (sg-1) for EB is configured to block all public access, which works as expected when I try to access ...
1
vote
1
answer
725
views
AWS Load Balancer Controller can't deploy ELB
I'm having issues with setting up AWS Load Balancer Controller (AWS LBC) on an EKS located within a private VPC (no internet access, just intranet to my corp network).
I provided all endpoints that I ...
0
votes
1
answer
709
views
AutoScalingGroup: Load balancer target group not appearing as available option
I have created an ECS cluster, and deployed a 2-container task using a Service (during Service create I associate the Application Load Balancer - using target group of type IP - to it), this works ...
0
votes
1
answer
352
views
How to access resources in a private EC2 instance via ELB?
I have an example diagram below, and a scenario.
Suppose I deployed and ran a web server (with NodeJS) in both EC2 instances and used load balancing for requests distribution. EBS is used to store ...
1
vote
0
answers
608
views
AWS ALB does not include Keep-Alive timeout in response header
[1]. I am observing that the Apache HttpClient library that we are using expects this Keep-Alive: timeout in the header to keep the connection in the pool alive, but as the AWS ALB that we are ...
-1
votes
2
answers
210
views
AWS : Deregister UnHealthy IPs from Registered Targets (Target Group) using GitHub action workflow is not working
Problem Statement : While Registering new IP in ELB Fargate under Target Group, Old IP went into the Unhealthy status. I want to Deregister old IP automatically with the help of Github actions ...
-2
votes
1
answer
683
views
How do I deregister my EC2 instance from my ELB target group without draining the container?
We have an EC2 instance that's having some issues inside the docker container it's running and we'd like to disable traffic going to that EC2 instance so we can connect to it and examine the docker ...
1
vote
1
answer
133
views
EC2 instances cannot connect to Stripe when behind an ALB
I was deploying my NodeJS backend that integrates Stripe payment. When the user on the frontend clicks on the Checkout button, the backend API simply calls Stripe SDK to create a checkout session and ...
0
votes
1
answer
123
views
If the requests are from the same IP and Port, will the AWS NLB redirect them to the same target?
I'm using AWS Network Load Balancer as a k8s service for my deployment. The reason I use NLB instead of ALB is that I need a static host to expose my service inside my Elastic Kubernetes Service(EKS). ...
0
votes
1
answer
90
views
Stick with the same target behind an AWS load balancer
I have an application using sticky session, controlled by a load balancer. As the owner of a session I want to be able to share a link to bring another user/device to collaborate to the same session.
...
0
votes
1
answer
262
views
Route 53 to ALB connection giving 502 bad gateway
I am setting up domain configuration using Amazon Route 53 but when I hit domain url it's giving 502 bad gateway in browser, However my ALB url is working fine and target group is healthy.
Below are ...
0
votes
2
answers
334
views
How scaling of load balancer is done in AWS application load balancer?
I am going to implement gitlab reference architecture of 2k users.
Ref: gitlab 2k users architecture
In this reference document they have mentioned to use c5.large for load balancing node.
Now I want ...
0
votes
0
answers
199
views
How does APIGW -> VPC Link -> Internet Facing ALB work?
We have an architecture where the APIGW has a private integration to a Internet-facing ALB using VPC Link. I want to understand what is the need for VPC Link here and is it even useful? If yes, does ...
0
votes
1
answer
576
views
EC2 instance being terminated after setting up lifecycle hooks
I'm using the AWS CDK to add lifecycle hooks to my ALB in order to be notified by email when an instance gets terminated or when a new one is started. This is what my code looks like:
topic = sns....
0
votes
1
answer
427
views
Github actions && elastic benstalk deployment
I have been using AWS elastic beanstalk for a while, but I still think that I do not 100% understand how the application versioning works. Recently I started using Github actions, and sometimes the ...
1
vote
2
answers
990
views
How to pass AWS ELB health check with Django ALLOWED_HOSTS = [my-site.com]
I have a Django application deployed on AWS via ECS (Dockerized) using gunicorn and nginx. As the
DEBUG=False
for Django deployment I've configured a logging setting to receive logs on WARNINGs & ...
0
votes
0
answers
217
views
aws target response time of alb become increase and unstable when target group moved to pods in eks from EC2 instances
I try to migrate rails server that running directly on EC2 instance to EKS pod.
The server runs with unicorn_rails that has 20+ worker, also it has nginx as frontend that receive requests and ...