Serve AWS app via secure connection

Serve AWS app via secure connection

Nov 23, 2021

I am working with Spring Boot a lot lately and I thought it would be a good idea to have fun with it in my spare time by building something. I thought about building a simple app that can tell users the number of Covid cases in their suburb in Sydney. The web app was not more than a simple Saturday afternoon hack, however once I built it, I thought it would be good to share it with friends. To do so, I signed up for the was 1 year free tier on Amazon Web Services (AWS) and deployed the app to it. In this post, I will talk about how to deploy a Spring boot app to AWS & serve via https connection.

Local Covid Cases

A simple Java spring boot app that’s fully open source and is available on Github. I will be honest, my primary goal of this exercise was not to help people but to brush up on Java myself. For the last few years, I have done a lot more of iOS/Swift and NodeJS than Java. While I remember the Java syntax like the back of my hand, I thought some practice on newer things like Lombok or CompletableFuture etc can only help. As usual I do these things on weekends or weekday evenings.

The Spring Boot App

This was the easy part. It was not that hard at all. I remember starting Java development back in 2007 with Struts framework and how hard it was. Now with Spring initializr, it’s so easy to get started with building a Spring boot app. You can see all my source code on Github in the link below.

For more info, read on

How to deploy spring boot app to AWS & serve via https - My Day To-Do (mydaytodo.com)

Enjoy this post?

Buy bhumansoni a coffee

More from bhumansoni