Better Programming

Advice for programmers.

Follow publication

Member-only story

How to Deploy Your Kotlin Microservice on AWS Cloud — Fargate

Maryna Cherniavska
Better Programming
Published in
11 min readOct 28, 2021
Photo by William Daigneault on Unsplash

This article is targeted at developers who are reasonably well acquainted with creating Kotlin (or Java) applications, but perhaps less aware of what to do next. There are several assumptions that we go off of:

  • You’ve created a new and shiny Kotlin microservice and want to share it with the world.
  • It’s a web application, so it needs to be hosted somewhere.
  • It has some dependencies — a database; perhaps a cache. That’s something you don’t want to keep on your home computer, either.
  • You want it to be scalable in the future — if it gains traction.
  • You want to explore the possibilities that big Cloud providers offer — and you start with AWS.
  • It’s dockerized — so you published a Docker image of it to some container repo. It’s important in the context of this article since the solution we’ll take on first will be container-based.

There are going to be a few articles on different ways to do it on AWS, but we’ll start with AWS Fargate.

AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on building applications without managing servers. AWS Fargate is compatible with both Amazon Elastic Container

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Maryna Cherniavska
Maryna Cherniavska

Written by Maryna Cherniavska

Senior Software Engineer at Zalando, ex-Elastic

Write a response