This pattern describes how to migrate an on-premises Go web application to AWS Elastic Beanstalk. After the application is migrated, Elastic Beanstalk builds the binary for the source bundle and deploys it to an Amazon Elastic Compute Cloud (Amazon EC2) instance.
As a rehost migration strategy, this pattern’s approach is fast and requires no code changes, which means less testing and migration time.
Prerequisites
An active AWS account.
An on-premises Go web application.
A GitHub repository that contains your Go application’s source code. If you do not use GitHub, there are other ways to create an application source bundle for Elastic Beanstalk.
Product versions
The most recent Go version supported by Elastic Beanstalk. For more information, see the Elastic Beanstalk documentation.
Source technology stack
An on-premises Go web application
Target technology stack
AWS Elastic Beanstalk
Amazon CloudWatch
Target architecture