Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lpkatz's avatar

Laravel Vapor Using Load Balancers if not in Vapor Network

We use Vapor extensively and We have a custom setup where we must be in the existing VPC and Subnets our Infrastructure team has demanded. on our vapor.yml we have those subnets listed and everything works fine, every deployment etc. We're however restricted to the 30 second constraints of the API Gateway and want to utilize the Load Balancers.

My initial assumption was we can't because we're outside the vapor network, within different VPC and subnets, is this not the case and there is still an option to attached a ALB to the Lambda functions vapor uses?

Any direction here or options would be fantastic. if this is possible, or if anyone has run into this case.

0 likes
1 reply
lpkatz's avatar

Never mind, the solution was easy

Please or to participate in this conversation.