This pattern outlines steps for deploying a containerized Java microservices architecture on Amazon Elastic Container Service (Amazon ECS) to make it easier to scale and faster to develop your applications. This helps enable innovation and accelerates time-to-market for new features.
The pattern also uses Amazon Elastic Container Registry (Amazon ECR) to store and manage the Docker-based containers, and an AWS CloudFormation template with a Python script to automate the setup of your infrastructure. The pattern is based on the post Deploying Java Microservices on Amazon Elastic Container Service, which is published on the AWS Compute blog.
Microservices provide an architectural and organizational approach to software development, where software is composed of small, independent services that communicate over well-defined application programming interfaces (APIs). Small, self-contained teams own these services.
Amazon ECS is a highly scalable, high-performance container orchestration service. It supports Docker containers and enables you to run and scale containerized applications on AWS quickly. With Amazon ECS, you no longer have to install and operate your container orchestration software, manage and scale a cluster of virtual machines (VMs), or schedule containers on those VMs.
With simple API calls, you can launch and stop Docker-enabled applications, query the complete state of your request, and access many natural features, such as AWS Identity and Access Management (IAM) roles, security groups, load balancers, Amazon CloudWatch Events, AWS CloudFormation templates, and AWS CloudTrail logs.
https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/deploy-java-microservices-on-amazon-ecs-using-amazon-ecr-and-load-balancing.html?did=pg_card&trk=pg_card