README.md
: Design documentDockerfile
&run_dockerfile
: Static and dynamic Dockerfile.github/workflows
: CI/CD config files for githubinfra
: AWS CKD scripts for creating the infrastructure
┌────CI/CD────────────────────────────────────────────────────────────────────┐
│ │
push ┌───────────┐
┌────────► │ unit test │
┌──────────┐ │ └───────────┘ ┌──VPC───────────────────┐
│ code │ ─┤ │ │ ┌──────────┐
└──────────┘ │ ┌─────────┐ ┌────────────┐ │ ┌─ECS─────────┐ │ │CloudWatch│
└────────► │ build │ ──────►│ deploy │ ─────┐ │ │ │ │ └──────────┘
PR └─────────┘ └────────────┘ ▼ │ │ ┌───────┐ │ │
┌─────┐ ────┼───┼─►│ app │ │ │
│ ┌───────► │ CDK │ │ │ └───────┘ │ │
└─Dockerfile─┐ │ │ │ ───►│ │ │ │
│ │ └─────┘ │ │ │ │
▼ ▲ │ │ │ │
┌──────────────────┐ │ │ └─────────────┘ │
│ Docker registry │ │ │ │
│ (artifact) │ │ │ │
└──────────────────┘ │ └────────────────────────┘
┌────────────┐ On Cloud(AWS)
│ infra init │
└────────────┘
│ │
└─────────────────────────────────────────────┘
Infrastructure management
-
CI Part: dockerfile
- Multistage build, separate build image and runtime image
- Script
run_dockerfile
,dynamicly calldocker build
by rendering parms from pom.xml for 'Dockerfile' - Unit test:with github action,trigger at
push event
andPR open
-
Infrastructure: AWS CDK
- Creating VPC,Cluster,TaskDefinition,LogGroup,FargateService etc. for Serverless
- Creating Metric,SNS Topic,Alarm with cloudwatch to send warnning email
-
CD Part:
- Setting applcation name and version in infra/app.py (CDK Usage)
- with github action,trigger deployment at
PR closed
Simplest Spring Boot Hello World Example
git clone https://github.com/goxr3plus/Simplest-Spring-Boot-Hello-World.git
Run from your favourite IDE ( Eclipse , IntelliJ , Netbeans )
ENJOY THE POWER OF A HELLO WORLD ! Welcome to Spring Boot :)