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
2
votes
2 answers

Is AWS NLB supported for ECS?

Question Is NLB supported for ECS with dynamic port mapping? Background It looks there are attempts to use NLB with ECS but problems with health check. Network Load Balancer for inter-service communication Health check interval for Network Load…
mon
  • 18,789
  • 22
  • 112
  • 205
2
votes
1 answer

Is it possible to register ec2 node in elbv2 target group via CF template?

I use AWS::ELBv2 with set of rules which redirect requests to different services running on several tcp ports on my EC2 instance. My application doesn't support scaling, so I can't use autoscaling group, I need just ELBv2 attached to my…
2
votes
1 answer

EKS Ingress (for ALB) gets no endpoint when deploying more than 3 Ingresses

I stumbled upon this strange limitation when deploying more than 3 applications utilizing AWS ALB within an ingress controller. Up to 3 Applications, there's no problem, when a 4th ingress is provisioned, it doesn't get an endpoint: However the…
Simon Z.
  • 497
  • 4
  • 11
2
votes
1 answer

Why does AWS CodeDeploy AllowTraffic take 3 minutes per instance?

I recently started using AWS CodeDeploy and noticed that the AllowTraffic step consistently takes between 3 and 4 minutes per instance. I've configured the health check interval to be 10 seconds and the health threshold to be 2, so I expect it to…
merlin2011
  • 71,677
  • 44
  • 195
  • 329
2
votes
2 answers

AWS Load Balancer allow certain ip addresses on URL path

Currently I have an application set up on AWS using application load balancer with 2 EC2 in target group: DNS -> AWS-ALB -> EC2(2) I need help allowing only certain IP addresses on the application URL context path. For eg: www.abc.com should be…
2
votes
0 answers

How to use Amazon ALB port forwarding to run multiple services on a single EC2 instance

I have multiple services running on multiple ports on a single AWS EC2 instances. I've been using two ALBs to run these services, but I'd like to combine them into a single ALB that forwards to the correct service based on the host name. One service…
2
votes
2 answers

Find all aws load balancers which has a particular instance

I would like to get names of all the aws load balancers which has a particular instance. I can list the instances in the ELB's using the following command aws elb describe-load-balancers --query…
Jeetendra Pujari
  • 1,286
  • 2
  • 17
  • 31
2
votes
1 answer

When does Kubernetes automatically re create AWS ELB

I am using Helm to deploy a k8s cluster onto AWS EKS. My k8s cluster uses: One LoadBalancer service. We explicitly sets this ELB to AWS Network ELB using an annotation provided by aws docs. Two ingresses controlled by an alb-ingress-controller.…
Tran Triet
  • 1,257
  • 2
  • 16
  • 34
2
votes
1 answer

WordPress + Nginx on non-standard port behind AWS ELB results in broken links

We have a Nginx listening on ports 80 and 443 and serving our main website. Let's say its name is demosite.com. It is running on AWS EC2 instance, and traffic is coming through an ELB. I need to deploy WordPress on the same machine so it would be…
Sergey D
  • 21
  • 2
2
votes
1 answer

How to create and attach a ELB properly in Boto3

I'm new to Amazon's Boto3 API. I created a basic diagram of my sample architecture shown below, with an ELB, 4 instances, 2 subnets and and 2 target groups in 2 different Availability Zones (2 instances in each target group). I know how to create…
Tina J
  • 4,983
  • 13
  • 59
  • 125
2
votes
1 answer

Verifying end to end encryption on AWS ECS FARGATE containers

How do I verify if I have secured end to end encryption on my AWS FARGATE container? Have mentioned the approach below : Application Load balancer listening on 443. Uses a certificate from AWS Certificate Manager. Target group's protocol is HTTPS…
yaja6021
  • 141
  • 2
  • 16
2
votes
1 answer

How to connect an AWS Load Balancer to nginx ingress controller with Kubernetes deployed on EC2 with kubeadm?

I have installed Kubernetes Cluster on AWS using kubeadm. I understand that it will not fall under AWS Deployment. I am trying to follow the baremetal fashion of installing Kubernetes. Everything works fine for Nodeport, I want to know if I can…
hshar
  • 21
  • 2
2
votes
0 answers

Laravel Request object host set to ELB hostname instead of current hostname

I have a Laravel app deployed to AWS, which is load balanced via an ELB across 2 app servers. The issue I'm having is that in the Laravel request, the host property is set to the ELB's hostname, instead of the current hostname. This means that…
BrynJ
  • 8,322
  • 14
  • 65
  • 89
2
votes
1 answer

Where is Application Load Balancer placed in VPC?

My understanding is ​that a CLB (Classic Load Balancer) is placed in a subnet and so we configure Security Group and NACL for it. However, when it comes to ALB (Application Load Balancer), we don't configure NACL (Network ACL). Why? Architecturally…
karthiks
  • 7,049
  • 7
  • 47
  • 62
1
vote
1 answer

How to set up Nginx with HTTPS on EC2 instance with ELB and ACM

I have set up a EC2 instance on which I have installed a flask API that runs using Gunicorn and Nginx as a reversed proxy. I wanted to run it with https protocole, so I bought a domain name via OVH and I asked a certificate via AWS Certificate…