Apache Mesos, Google Kubernetes and Docker Swarm are probably most commonly tools used for deploying containers inside a cluster. All acts as an helper tool that can be used to manage a cluster of containers and treat all servers as a single unit.

Azure Container Service provides rapid deployment of container clustering and orchestration solutions like DC/OS and Docker Swarm clusters with Azure Resource Manager templates or the Azure portal. Azure Container Service simplifies the process of creating, configuring, and managing a cluster of virtual machines that are preconfigured to run containerized applications. Azure Container Service leverages the Docker container format to ensure that your application containers are fully portable.

In this post we will be covering on the process of deploying clustering and orchestration solution. For deploying you are required to have a Microsoft Azure Subscription.

Login to Microsoft Azure Portal. Click on New and search for Azure Container Services. Click on Azure Container Service.

1

Click on Create 2

Provide the details like username, SSH Public Key, Resource Group and Location and click on OK.

3Choose type of Orchestration Configuration i.e. DC/OS or SWARM.4Choose the number of Agent nodes to be part of cluster and also choose the appropriate Agent Virtual Machine Size.  Provide the number of Master Nodes to be deployed. As I am deploying this for testing purpose, I chooses to deploy one as Agent Node and one a Master Node.5Click on OK to proceed further.6

Review the changes and click on OK.7Click Purchase to proceed.8

9

10

Note down the IP / DNS Name and the Location. We will be using this DNS name to connect to this cluster.

11

Once successfully deployed, next step is to connect this cluster for deploying and managing docker applications. Open Putty and provide

  • Hostname : username@<dns_name_of_dcos_cluster>
  • Port : 2200

12

Select the PPK file generated using PuttyGen

13

Add new forwarded port

  • Source Port : 80
  • Destination : Localhost14

Click Open to connect DCOS Container Cluster using putty to create a tunnel.

16

Access the DCOS Container using

  • http://localhost
  • http://localhost/marathon
  • http://localhost/mesos

17 18 19

In this post we covered the process to deploying DC/OS Container Cluster using Microsoft Azure Container Service.  I hope this is informative for you. Thanks for Reading!!. Be social and share it in social media, if you feel worth sharing it.