Member-only story
Deploy Your Java Spring Boot Application on AWS EC2 Using GitHub Actions and Docker
Supercharge your application in production using GitHub Actions and AWS instance EC2

Introduction
Deploying an application on cloud servers is not an easy task let alone handling continuous deployment.
In this article, we will deploy a dockerized
version of spring boot application on AWS EC2 instance using GitHub Actions
and will also configure nginx
for reverse proxy.

You can follow this article for deploying any application on AWS EC2 using GitHub Actions
.
I will assume you have an Ubuntu EC2 instance running with an attached security group.

Application
Let’s create a dummy spring boot application. Visit https://start.spring.io/ and create a project. We will be using Java 11 and Maven for…