Skip to content

nergizunal/cloud-native-application-development-workshop

 
 

Repository files navigation

Cloud Native Application Development Workshop

Repository Structure

Setting the Environment

Prerequisites for part-1 and part-2:

  • git 2.20.1+
  • docker 19.03.2+
  • docker-compose 1.23.2+

Installing Git

Linux

Please consult to this documentation in order to install git on different Linux distributions.

Mac

Download and run the installer from this address in order to install git on MacOS.

Windows

Download and run the installer from this address in order to install git on Windows.

Installing Docker

Linux

Fetch the get-docker.sh script with the following command:

curl -fsSL https://get.docker.com -o get-docker.sh

Execute it (Requires sudo privileges):

sh get-docker.sh

Mac

  • Docker for Mac can be used to install and run docker on MacOS. Please refer to the official documentation for the installation instructions.

Windows

  • Docker for Windows can be used to install and run docker on Windows. Please refer to the official documentation for the installation instructions.

Installing Docker Compose

Linux

See the official installation documentation for the installation instructions.

Mac

Docker for Mac already includes Docker Compose.

Windows

Docker for Windows already includes Docker Compose.

Prerequisites for the part-3:

Installing Kubernetes Locally

Using Minikube

Linux

TBD

Mac

brew install minikube
minikube start --vm-driver=hyperkit

Windows

TBD

PART-1

Docker Demo

Change your directory to example-docker-commands:

cd example-docker-commands

Then continue reading from example-docker-commands/readme.md to get familiar with Docker concepts and cli usage.

12 Factor App Implementation

After completing the examples in the above document, you can continue to read from 12-factor-implementation-using-docker.md to start deploying the sample application by following the 12 factor app principles.

Change your directory to root folder:

cd ..

Then you can start executing the commands that are available in 12-factor-implementation-using-docker.md. Also the Docker Compose guide of the sample application is available in docker-compose.md.

PART-2

monitoring-with-prometheus.md describes the deployment of the monitoring infrastructure using docker run commands along with sample Prometheus queries and alert rules.

PART-3

kubernetes.md describes the deployment steps of the sample application on top of Kubernetes.

About

Cloud Native Application Development Workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 63.3%
  • Shell 31.8%
  • Dockerfile 4.9%