One of the approaches for running Springboot application on AWS is to deploy it into EC2 cluster and serves it with a Application Load Balancer (ALB).
This repo give examples in different levels, and finally we automated the deployment with AWS CI/CD.
All examples come with a CloudFormation template and serve the IaC purpose.
First example to deploy a single EC2 instance with CloudFormation template.
Deploy 3 Nginx EC2 instances and an ALB, shared the common EC2 configure with an EC2 launch template.
Deploy a SpringBoot cluster, and automated the deployment with CodePipeline, CodeBuild, CodeDeploy.