Questions tagged [aws-elb]

Amazon Web Services Elastic Load Balancer (aws-elb) is a service offered by aws to automatically distribute incoming network traffic across multiple targets (EC2 instances or specific ports).

190 questions
0
votes
0 answers

AWS ELB boto3 Pagination

screenshotI'm not able to describe all the ELB's although i used Pagination its only return ~34 while i have around 1400 Approx. can someone help me out? import boto3 elb_client = boto3.client('elb', region_name = 'us-east-1') paginator =…
0
votes
2 answers

Modify pre-existing ELB by Terraform

I would like to import the pre-installed ELB which is not made by Terraform. As far as I know, provisioned EC2s (not created by Terraform) are modified with no problems. Please refer to: https://www.youtube.com/watch?v=Abv3CHS4HTE All I want to know…
0
votes
0 answers

AWS Elastic Beanstalk 504 when and only when backend expects to return 40x status

I was asked to take a look at environment and I'm trying to figure things out right now. The trouble I'm facing is that there's AWS ALB 504 timeout after ALB's idle timeout setting whenever backend API (express.js) expected to return 401, 404, or…
0
votes
0 answers

How do I use AWS ALB or ELB as a reverse proxy to an HTTPS server?

A paid service my company is using has IP-banned our VPN exit point for high traffic. Great. Now we can't access it on the company VPN anymore. While this is getting resolved by another team, how can I implement a reverse proxy to access their HTTPS…
0
votes
1 answer

Timeout error from NGINX on AWS-ECS with ELB

I have a service working on AWS-ECS with two tasks: one for uswgi and one for nginx. With uswgi I'm serving an API which sometimes needs more than 60s to process. For thar processes longer than 60s I get a timeout error as response. I tried to…
chococroqueta
  • 694
  • 1
  • 6
  • 18
0
votes
1 answer

JQ string cannot be csv-formatted

I am working with JSON output from the AWS cmd aws elbv2 describe-load-balancers --output json to retrieve info about my Load Balancers - partial json below I am using the following to extract DNS Name, LB Name and Scheme for each LB jq -r '…
eramm
  • 191
  • 16
0
votes
1 answer

Unable to delete Application Load Balancer (AWS)

I get the following error when I try to delete an ALB: You cannot delete 'arn:aws:elasticloadbalancing:XXXXX' since it is registered as a target of one or more target groups. To delete this target, you must first deregister it from all target…
h2o
  • 45
  • 7
0
votes
1 answer

Correct order of creation: AWS Fargate, NLB and Target group?

What should be the order for creation of an AWS Fargate Service along with a Internet-facing Network Load Balancer? The service requires an NLB to be created, NLB requires a Target group, and the target group requires the service I guess. I am…
Saif
  • 2,530
  • 3
  • 27
  • 45
0
votes
1 answer

Access ELB from inside the VPC using domain name and subdomain without going to outside internet

How can I access a subdomain from inside VPC going thru the ELB. Let's say have 3 EC2 instances, two of them are running an endpoint API that go thru the Load Balance, and the third one is accessing their API. I have a domain added to Route 53 that…
Nicolae
  • 432
  • 5
  • 13
0
votes
2 answers

In boto3, where to put "if" statement to output only values with an empty array?

I am working with aws boto3, still very new to coding & have to find how to drill down my output to only return load balancers/target groups with no target connections. def gettargets(arn): …
0
votes
1 answer

Add URL prefix for Locust test

I've developed a self-service tool in AWS that allows the user to spin up a Locust instance with Fargate containers as workers. This requires that every test have a name, e.g. "my-test-1", and that every test be accessed via a unique URL.…
Aurelia Peters
  • 2,169
  • 1
  • 20
  • 34
0
votes
1 answer

Connecting AWS API Gateway to internet facing https ELB

Here is the use case - we have a public facing https ALB with a custom domain certificate. The domain name resolves to cloud front currently, but of course I can override that in my /etc/hosts This flow works CloudFront -> internet facing https…
Blaze
  • 1,530
  • 2
  • 15
  • 24
0
votes
1 answer

EC2 Instance Health Using ELB

I recently took over architecture from a 3rd party to help a client. I'm new to AWS, so this is probably simple, and I just couldn't find it in the docs/stack overflow. They had an existing EC2 instance that had both a node app and a react app…
autoboxer
  • 1,358
  • 1
  • 16
  • 37
0
votes
0 answers

How to dynamically route traffic to a specific instance of a service

I have a service deployed on Fargate which auto-scales, and an internet-facing load balancer directing traffic to that service. The service relies on an in-memory cache to produce fast responses, and hence auto-scaling is triggered when we start to…
Robin
  • 36,233
  • 5
  • 47
  • 99
0
votes
1 answer

Wix + GoDaddy domain + AWS ELB for subdomain

I have a marketing website on wix with domain registered with godaddy, I've added a subdomain pointing to my EC2 IP for my app facing server, which works fine. Now I want to add a load balancer in front of that EC2 instance, however I cannot set the…
Tamar
  • 2,016
  • 1
  • 15
  • 26