Skip to content

CemalUnal/cloud-native-application-development-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

Choose one of two options available below:

1- Using a Kubernetes Playground

Katacoda Kubernetes Playground can be used to explore Kubernetes features. It provides two node Kubernetes cluster, one of them is master and the other one is worker. In order to use the playground you may need to create a Katacoda account.

2- Installing Kubernetes Locally

Using Minikube

Please consult to this documentation in order to install Minikube to different operating systems.

Also you will need to install kubectl in order to communicate with your Minikube. For its installation instructions follow this guide.

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.

Then you can start executing the commands in the root folder of this repository 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

An Introduction to Prometheus contains the installation and configuration of Node Exporter, Prometheus and AlertManager. Also it describes how you can use these tools in order to monitor your local environment and create and send custom alerts using Slack.

Monitoring with Prometheus contains the deployment instructions for the monitoring infrastructure using Docker in your local environment.

PART-3

An Introduction to Kubernetes demonstrates the Kubernetes features like horizontal scaling, self healing, zero down-time application version update etc.

About

Cloud Native Application Development Workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published