Posts

Showing posts from February, 2023

Running Microservices on AWS ECS using Fargate Container

Image
Background  Purpose of the tutorial is to understand and demonstrate on how to run microservices on AWS ECS using fargate managed service.  This is enabler tutorial to get started with AWS environment. As we proceed, I will try to expand this architecture to make it ready for enterprise level project by adding components like API Gateway, Cloud Map, Service Mesh, authentication, VPC, Private and public subnet, Secret manager, KMS and much more. Technologies used  Microservices : Java Docker ECS Fargate Load balancer System Overview Prerequisite  : 1. AWS account 2. Microservice containerized Image: For the purpose of the demo I have already created microservice using java and hosted it in dockerhub  public repository.  Repo : https://hub.docker.com/repository/docker/nishsapkal/microservices         Tag : nishsapkal/microservices:barebonespringboot Steps : Login to AWS console and navigate to the elastic container service (ECS) Step 1  Cluster :  Cluster is logical grouping of ser