https://github.com/kenec/service-1
Using this repo for ECS deployment
https://github.com/kenec/service-1
Last synced: 11 months ago
JSON representation
Using this repo for ECS deployment
- Host: GitHub
- URL: https://github.com/kenec/service-1
- Owner: Kenec
- Created: 2019-03-26T07:47:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-27T14:07:11.000Z (about 7 years ago)
- Last Synced: 2025-02-13T10:35:09.731Z (over 1 year ago)
- Language: Java
- Size: 104 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Opstest
This is a microservice application that displays "hello az"
## Architecture
The service is hosted on AWS ECS. The simplified architectural diagram is shown below:

The opstest service is publicy accessible and can be reached through the application loadbalancer.
The time-app service sits in a private subnet and can only be reached by opstest service through the internal loadbalancer.
Both services can scale in and out when the CPU is above 80% or 40% respectively.
## Pipeline
The pipeline used in this setup is AWS Codepipeline. The pipeline can deploy to any of the four environment viz:
- develop == develop branch on git
- Staging == staging branch on git
- Accepatnce == acceptance branch on git
- Production == master branch on git
With AWS Codepipeline, we can deploy to another region simultenously.
## Setup Project on Local
* install Docker, Java and Maven
* Clone the repository `git clone git@github.com:Kenec/service-1.git`
* Navigate to the directory of the project and run `Docker build -t opstest .`
* Run the docker container with `Docker run -p 9090:9090 opstest`
## Issues
To report an issue or give feedback, Click link
[Issues and Feedback](https://github.com/Kenec/service-1/issues)
## License
[MIT License](https://github.com/Kenec/service-1)