Learn how to migrate and modernize stateless applications and run them in a Kubernetes cluster.

AWS Beanstalk is an Amazon Web Service that does most of the configuration for you and creates an infrastructure suitable for a horizontally scalable application. Instead of Beanstalk, the other approach would be to configure load balancers and auto-scaling groups, which requires a bit of AWS expertise and time.

In this tutorial, we are going to upload a Spring Boot JAR application using Amazon Elastic Beanstalk and a CloudFormation bundle.

Less is more, therefore we are going to use pretty much the same Spring Boot application taken from the official Spring guide as a template.

The only change would be to alter rootProject.name to beanstalk-deployment and some changes to the package structure. Downloading the project from GitHub is sufficient.