dockeronazure
dockeronazure copied to clipboard
Docker on Azure Hands-On Lab - Docker to Helm
Prerequisites
Needless to say you'll need a laptop! Any OS is fine (Mac is recommended and that's the only machine we've tested on) but make sure the following prerequisites are met prior to the session:
-
Prerequisite 1: Git is installed
-
Prerequisite 2: A valid Azure subscription is available. You can get a trial account from https://azure.microsoft.com/en-us/free/.
-
Prerequisite 3: The
az
CLI from https://github.com/Azure/azure-cli is installed on the laptop OR you can use the cloud shell as outlined in https://docs.microsoft.com/en-us/azure/cloud-shell/overview -
Prerequisite 4: Limits in Azure are set low. File support tickets to get the limits bumped up for your subscriptions. We will need cores (60-100 recommended) to be spun up in West UK which supports some of the configurations.
-
Prerequisite 5: A familiarity with the Azure portal and the CLI (attended a 1-day Azure course for instance).
-
Prerequisite 6: A Docker Hub account from https://hub.docker.com/. This is optional if you're OK skipping portions of a few exercises.
-
Prerequisite 7: The labs from https://github.com/ragsns/dockeronazure.git installed locally either via a
git clone
command or by downloading a zip file from the remote repository.
Samples and General Directions
Each directory is in a separate sub-directory. Ensure that you're in the sub-directory when you're working on a particular exercise and you're issuing the CLI commands from the subdirectory pertaining to the exercise.
Recommended Exercises - User Related
It is recommended that you run through these exercises sequentially since they are progressive with some dependencies. Each exercise should take about 10-20 mins. to complete.
- Exercise 1: Login to Azure and Spin up Docker VMs
- Exercise 2: Gentle Intro to Docker - Skip this if you're already familiar with Docker
- Exercise 3: Docker Compose
- Exercise 4: Docker Swarm
- Exercise 5a: Kubernetes or K8S with ACS [You can try both 5a and 5b or one of them]
- Exercise 5b: Kubernetes or K8S with AKS [You can try both 5a and 5b or one of them]
- Exercise 6: Helm (optional)
- Exercise 7: Draft (optional)
- Exercise 8: Container Instances
- Exercise 9: A Complete Multi-container application
More Resources
Docker Getting Started Material at https://docs.docker.com/get-started/
Kubernetes at https://kubernetes.io/docs/tutorials/kubernetes-basics/
Docker Swarm on Azure at https://docs.microsoft.com/en-us/azure/container-service/dcos-swarm/container-service-swarm-mode-walkthrough
Docker Swarm on Azure at https://blogs.msdn.microsoft.com/azureedu/2017/05/15/docker-swarm-on-azure/
Kubernetes on Azure at https://blogs.msdn.microsoft.com/azureedu/2017/04/23/how-can-i-get-started-with-kubernetes-on-azure-container-services/
Helm getting started at https://docs.helm.sh/using_helm/#quickstart
Draft getting started at https://github.com/Azure/draft
Azure getting started at https://azure.microsoft.com/en-us/get-started/
Other recommended resources
My Colleague Jim Stuertevant's Docker workshop - https://github.com/jsturtevant/docker-azure-fundamentals-workshop/
Free book on .NET Microservices Architecture at https://www.microsoft.com/net/download/thank-you/microservices-architecture-ebook
Contact
Please contact me on Twitter @ragss.