Terraform – AWS Application Load Balancer Listener without Default Action

Advertisements I am creating a micro services architecture in AWS, using an application load balancer to route traffic based on it’s listener rules. However, I am struggling to deal with the default action argument. I want to provide rules that specify path based routing to the target groups of my micro services, thus defining a… Read More Terraform – AWS Application Load Balancer Listener without Default Action

Path Based Listener Rule on Application Load Balancer doesn't forward to the Target Group

Advertisements I have below path based listener setting. Each Target Group set up on IP address target type on different ports. Client on port 3000 Safety on port 5070 Action on port 5010 On default action, it successfully forward to the Target Group. But when I set it up as a path based, it fails… Read More Path Based Listener Rule on Application Load Balancer doesn't forward to the Target Group

Describe listener rule count using lambda boto3

Advertisements I just used below code on Lambda function and length function to calculate listner rules. However it always return the value as 2 even ALB has more than 20 rules. import json import boto3 def lambda_handler(event, context): client = boto3.client(‘elbv2’) response1 = client.describe_listeners( ListenerArns=[ ‘arn:aws:elasticloadbalancing:eu-west-2:account_id:listener/app/my_load_balancer_listener’, ], ) tot = len(response1) return response1 Get the… Read More Describe listener rule count using lambda boto3