If you want more detail workshop describion documents pelase visit this site
This repository contains the Lab of Microservices Deployed on ECS using AWS Cloud Development Kit.
We will take the Spring Pet Clinic as the base to extend from. And we will break down the Monolith Architecture to Microservice base on Distributed version of the Spring PetClinic Sample.
So lets get to it,
-
Part One: Moving existing Java Spring application to a container deployed using ECS
-
Part Two: Breaking the monolith apart into microservices on ECS
You can run this Lab in any Linux or Mac OS system. You will need to have the latest version of the AWS CLI, maven and AWS CDK installed before running the deployment script. If you need help installing either of these components, please follow the links below:
- Installing the AWS CLI
- Installing Maven
- Installing Docker
- Installing Python
- Installing JQ
- Installing CDK Python Version
You can reference this Guide to setup your Cloud9 quickly setup your development environment. To complete this Lab you need some other steps:
- Confirm the CDK version:
cdk --version
If CDK is not installed use the following command to install it:
npm install -g aws-cdk
- Confirm the Java version:
java -version
- Confirm the Python version:
python --version
- Confirm that git is installed:
python --version
- Confirm that git-commit-remote is installed. The below command should return a path to git-remote-codecommit:
which git-remote-codecommit
If git-remote-codecommit is not instalalled use the following command to install it:
pip install git-remote-codecommit
- Connect to Cloud9 terminal and Git clone this project, please note we must use
--recurse-submodules
flag to download all other third parties codes:
git clone --recurse-submodules https://github.com/aws-samples/cdk-microservices-labs.git