Allow Existing ALB to be used
See original GitHub issueI have been following along and using the ALB events and provisioning PR #1807 that was just merged in by @PeteW and @youcandanch.
I was using those changes and integrating my Lambda’s into an existing ALB provisioned via terraform
I have some proposed zappa settings and code changes to allow the use of an existing ALB, multiple Zappa projects can then be deployed onto the same ALB
When using an existing ALB, there is an assumption of the Listener existing also, So instead of creating these resources Listener Rules need to be created https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elbv2.html#ElasticLoadBalancingv2.Client.create_rule
These can be defiend in the zappa_settings like :
"alb_vpc_config": {
"LoadBalancerArn": "arn:aws:acm:us-east-1:[your-account-id]:loadbalancer/app/[alb-name]/[f851177b4d4eb840]",
"alb_listener_rule_conditions": {
"Field": "path-pattern|host-header",
"Values": ["api/*"|"api.example.com"]
},
"alb_listener_rule_priority": 1
}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Use an existing ALB · Issue #228 · kubernetes-sigs/aws-load ...
As a user of Terraform (or, substitute CloudFormation), I would like to use an existing ALB with the ingress controller so that I...
Read more >Application load balancing on Amazon EKS
When you create a Kubernetes ingress , an AWS Application Load Balancer (ALB) is provisioned that load balances application traffic.
Read more >EKS using existing ALB with AWS Load Balancer Controller
I am setting up a cluster in EKS and am having trouble with the AWS Load balancer Controller and using an existing ALB...
Read more >Use pre-created/existing LoadBalancer to expose your ...
1. Create LB/NLB/ALB with static IPs using terrafrom to route traffic to two ports between range of 30000–65000 · 2. Deploy Nginx-ingress ...
Read more >Use an Existing ALB/NLB for Your EKS Cluster
During that process they often face the issue where they would like to use an existing ALB or NLB to route traffic to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This feature is also critical for me. Another related feature would be to expose settings to allow invocation without Zappa managing any of the ALB resources. In otherwords, Zappa would add
lambda:InvokeFunction
permission, but would not touch the ALB resources. The rationale for this would be centralized management of the ALB, listeners, and rules.Is there anything that can be done to help move this PR forward? I am happy to help.
Bump for us as well.