Skip to content

aws-samples/cdk-microservices-labs

Introduction

Hugo Style Workshop Documents

If you want more detail workshop describion documents pelase visit this site

Microservices Deployed Using Cloud Development Kit

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,

  1. Part One: Moving existing Java Spring application to a container deployed using ECS

  2. Part Two: Breaking the monolith apart into microservices on ECS

  3. Part Three: Migrate to Serverless and API Gateway Parten

  4. Part Four: Build CI/CD Pipeline for Serverless Projects

  5. Part Five: Microservice Tracing & Monitoring

  6. Part Six: GraphQL for data driven application development

Prerequisites

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:

  1. Installing the AWS CLI
  2. Installing Maven
  3. Installing Docker
  4. Installing Python
  5. Installing JQ
  6. Installing CDK Python Version

Setup Lab Environment on AWS Cloud9

You can reference this Guide to setup your Cloud9 quickly setup your development environment. To complete this Lab you need some other steps:

  1. Confirm the CDK version:
cdk --version

If CDK is not installed use the following command to install it:

npm install -g aws-cdk
  1. Confirm the Java version:
java -version
  1. Confirm the Python version:
python --version
  1. Confirm that git is installed:
python --version
  1. 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
  1. 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