Questions tagged [elastic-load-balancer]

Use this tag for questions related to the Elastic Load Balancer, used to automatically distributes incoming application traffic across multiple Amazon EC2 instances.

Usually accompanies this tag, so you are encouraged to use it too, if applicable.

331 questions
6
votes
2 answers

aws: boto3 get all instances of a load balancers

I can able to get the load balancers using below import boto3 elb = boto3.client('elbv2') lbs = elb.describe_load_balancers() How to get the instances of the lbs. Also How Can I fetch the load balancers which state is not active as…
6
votes
3 answers

AWS lambda connect to internal ELB with private Hostzone DNS

I want to set up an EC2 instance running on a private VPC. It can connect to the Internet from the private VPC but can not access from outside. And there is a lambda function to trigger the EC2 to initiate some interactions with external resources…
6
votes
1 answer

Is there an easy way to rename an AWS target group for ALB?

I need to rename a target group that my ALB uses. I tried to go to the website to do it but it does not give me the option. I was hoping maybe there is away to do it by command line. I googled but did not find a solution.
user3771782
  • 183
  • 3
  • 11
6
votes
4 answers

AWS Beanstalk, how to reboot (or terminate) automatically an instance that is not responding

I have my Beanstalk environment with a "Scaling Trigger" using "CPUUtilization" and it works well. The problem is that I can not combine this with a system that automatically reboots (or terminate) instances that have been considered "OutOfService"…
6
votes
1 answer

AWS: Security Group to allow access internet-facing Load balancer to be accessed from private instances

My question is an extended version of this. In my case the security group has to restrict the access to Load Balancer 1. It has to have some white listed IPs. So, which IPs can I put here that can allow access of Load Balancer 1 from Auto Scaling…
5
votes
2 answers

API Gateway Proxy to VPC Link

I am trying to use API Gateway to route traffic to an internal network load balancer. All routes to the base path (/) are working, so I know the VPC Link is up and reachable. I added a proxy resource (/{proxy+}), with ANY http method. In the ANY…
5
votes
2 answers

An error occurred while a request was made by Elastic Load Balancing to another service

I just set up an application load balancer(ABL) on my AWS account. The ALB is able to successfully deliver requests to the EC2s in the auto scaling group. ALB -> TargetGroup -> AutoScalingGroup However, I see an exclamation mark appearing next to…
Brian
  • 12,145
  • 20
  • 90
  • 153
5
votes
2 answers

Finding static IPs associated with AWS Network Load Balancer?

How can someone find a list of the static IPs assigned to an existing AWS Network Load Balancer? I see nothing in the console that shows the IPs, nor do I see anything in the CLI that would do so.
Todd
  • 2,829
  • 5
  • 34
  • 56
5
votes
1 answer

How to specify port for NodeJs application hosted in ElasticBeanStalk?

How does port in ElasticBeanStalk works? I have a NodeJs/ExpressJS application which will be deployed in ElasticBeanStalk. The ElasticBeanStalk has a load balancer used to attach SSL certificates. Should i specify the port from my nodejs…
5
votes
0 answers

Dynamic load balancing with reverse SSH tunnels on different ports using AWS

I am working on a project where more than 50 thousand devices need to communicate with my server using reverse SSH tunneling. These devices will also be generating, and moving heavy traffic across these ports, hence consuming heavy network and CPU…
bcop
  • 121
  • 1
  • 8
5
votes
2 answers

What settings on HAProxy needed to work with AWS ALB (Application Load Balancer)?

Currently, we have 200 containers(several different applications) running in mesos-marathon cluster. This is behind the HAproxy instances and works on HTTP/HTTPS protocol. Internet --> AWS ELB --> HAProxy --> Docker containers Now we have a…
5
votes
2 answers

How to set up kubernetes NGINX ingress in AWS and SSL termination

I set up a kubernetes cluster in AWS using KOPS; now I want to set up an NGINX ingress controller and terminate TLS with AWS managed certificate. The topology in my understanding is AWS ELB is facing the internet and terminates TLS, forwards…
5
votes
2 answers

How to create application load balancer on aws for kubernetes

Question is similar to following SO question. But I am not looking forward to create classic load balancer. How to create Kubernetes load balancer on aws AWS now provide 2 types of loadbalancer, classic load balancer and application load…
Balkrishna
  • 2,897
  • 3
  • 23
  • 31
5
votes
2 answers

possible to whitelist ip for inbound communication to an ec2 instance behind an aws load balancer?

I have a single ec2 instance running a website behind an elastic load balancer in aws. Mainly because I want to use Amazon's new and free ssl for https. my challenge is, I need to whitelist my IP address in the security groups so that I am the only…
user1709076
  • 2,538
  • 9
  • 38
  • 59
5
votes
1 answer

How to test whether AWS elastic load balancer is working?

How to test whether AWS elastic load balancer is working properly or not? Is there any test or thing with which we can verify it? Regards
Ruby Akhtar
  • 51
  • 1
  • 4
1 2
3
22 23