This post is intended to be part of documenting the method my colleagues and I will be using to migrate a legacy application, hosted on premise, to a modern serverless application hosted in AWS.
The first thing we’ll want to do is to put an AWS API Gateway inbetween the user and the legacy application, so that when the user requests a page, they’ll actually hit the API Gateway first, which for now will just forward the request onto the legacy application and send the resulting response back to the user.
By repointing domain names we’re able to do this without any downtime.