A couple of weeks ago I came across with Vapor: a serverless deployment platform for Laravel, powered by AWS. The fantastic documentation and a couple of good examples made my life easier with a side project I had in my mind, after a couple of days playing with Vapor, I had my project running like a charm.
For some reason Vapor was overwriting my lambda configuration and it was not associated with the VPC any more.
All you need to do is: Firstly, create a new network in Vapor and add a NAT Gateway
And that’s all, you will have a static outbound IP for all your traffic.