Questions tagged [aws-application-load-balancer]

1004 questions
-1
votes
1 answer

Terraform AWS ALB listener rules to microservices setup as ECS targets

To DevOps, I have multiple services off an ALB and they are from an on-prem. Can I have multiple redirect rules to a path of "/" to different services off the same ALB? Such as Path "/test1" => Redirect to "/" => Service1 Path "/test2" =>…
-1
votes
1 answer

How to configure AWS Application Load Balancer to point to multiple ports on the same server

I cannot get access to the second port that I want to have to. So, here are the listeners I have in my ALB: Additionally, my TG-dev is not healthy: I am not sure what is the reason for this. Basically, what is my setup - I have Node.js API that…
-1
votes
1 answer

Cannot access module attribute in another resource in Terraform AWS

Terraform code: module "alb" { source = "terraform-aws-modules/alb/aws" version = "8.1.0" // ... target_groups = [ { // ... } }, { name = "lb-number-one" backend_port = 80 …
-1
votes
1 answer

Internet-facing network load balancer Security group

I have a simple question, If I use an internet-facing NLB wouldn't it be accessible on the internet, by that I mean, the NLB URL can be directly accessible from the internet. How can I restrict that . I don't want my NLB to be accessed from the…
Neethu Lalitha
  • 3,031
  • 4
  • 35
  • 60
-1
votes
2 answers

Write a dynamic Terraform block for a load balancer listener rule

I'm new to dynamic blocks and am having some trouble writing rules to listeners on a load balancer that was created using for_each. Below are the resources I created: resource "aws_lb_listener" "app_listener_forward" { for_each =…
-1
votes
1 answer

Using AWS CLI cmd how to get only loadbalancer 443 Listener ID ARN?

Using AWS CLI cmd how to get only loadbalancer 443 Listener ID ARN ?
-1
votes
1 answer

how to use one load balancer for multiple nodes inside a cluster using Ingress?

How can i use one Loadbalancer for multiple unique host deployments inside a cluster, and each deployment is placed in a unique node. Lets say below is the host1-value.yaml file inside my helm chart. If i create for second host host2-value.yaml, a…
-1
votes
1 answer

The target groups are showing Unhealthy with 2 messages

I have four instances running on my AWS. Web server on windows, Keycloack gateway on Linux, App server on Linux and DB on Linux. I have a Load balancer through which the traffic is routed to both my web server and gateway. I was getting 502 Bad…
-1
votes
2 answers

Is it possible to expose an internal ALB over VPC endpoint service?

Can VPC endpoint service route traffic to an internal Application Load Balancer (ALB)?
-1
votes
1 answer

Add multiple target group attachments using values from variables in terraform

I am trying to create a target group and attach it to 2 instances. I was able to achieve this by using the below code. locals { app_servers = { "server1" = "${aws_instance.server1.id}", "server2" = "${aws_instance.server2.id}" …
user19649255
-1
votes
1 answer

Connect to Application Load Balancer from another AWS Account

With two AWS accounts in place, wherein on AWS "Account A", I have some ec2's running. AWS "Account B", I have a EKS Cluster running some pods which are accessible with an Internet-Facing Application Load Balancer Ingress installed in the Kubernetes…
-1
votes
1 answer

Security Group update to allow AWS Lambda function that is not attached to any VPC

There are two applications. One application is developed through AWS Lambda (present in Account A) and other application is deployed in ECS Fargate (present in Account B) in AWS. The first application (AWS Lambda) is consuming an API (from the…
-1
votes
1 answer

Application load balancer metrics present in the aws documentation not availaible in console

While trying to work with few of the Cloudwatch metrics for Application load balancer , i could see few of the metrics defined in the AWS documentation, aren't available in the AWS console. ClientTLSNegotiationErrorCount ,…
-1
votes
2 answers

Null body response to ALB from lambd function

I am trying to send some logs from the AWS Lambda function to the ALB. I am using StringIO as handler for the logger. Below is the snippet of the code logger.addHandler(logging.StreamHandler(sys.stdout)) response_logger =…
-1
votes
1 answer

HAProxy - HTTP/1.1 frontend with HTTP/2 backend? A good idea?

I have been working towards switching the communication protocol for our application from HTTP/1.1 to HTTP/2. The communication flow is some thing like this: Client talks to an Amazon Application load balancer over HTTP/2 Application load balancer…
1 2 3
66
67