Over a million developers have joined DZone.

Deploy Docker to Amazon Cloud Using Tutum

Have you felt the need to run Docker containers on Amazon, but don't feel like jumping through all of the hoops in order to do so? Luckily, there is Docker Tutum!

· Cloud Zone

Download the Essential Cloud Buyer’s Guide to learn important factors to consider before selecting a provider as well as buying criteria to help you make the best decision for your infrastructure needs, brought to you in partnership with Internap.

Have you felt the need to run Docker containers on Amazon?

Amazon Container Service requires extensive setup and manual work. This is meant for programmers who have plenty of time and are willing to debug through multiple steps. For mundane programmers, like me, who like simple and easy-to-use steps, there is Docker Tutum!

What is Docker Tutum?

Docker Tutum is a SaaS that allows you to build, deploy, and manage Docker containers in a variety of clouds.

Docker Hosting Tutum

There are three main features:

  • Build and run your code using Tutum’s free private registry
  • Deploy applications using Tutum to manage Clusters that are fault tolerant and scalable. Tutum handles the orchestration of your infrastructure and application containers.
  • Manage your applications through Tutum’s intuitive Dashboard, simple API, or CLI tool. With built-in logs and data monitoring, all the info you need is at your fingertips.

The main party line is:

Experience the simplicity of PaaS with none of its constraints. Enjoy the flexibility of IaaS with none of its complexity.

Key Concepts of Docker Tutum

The main concepts of Docker Tutum are explained below:

Docker Tutum Architecture

  • (A) Node clusters are logical groups of nodes of the same type. Tutum pools your nodes' resources, so your apps can run together thereby reducing complexity and waste. Node Clusters can be easily scaled with a drag of the slider.
  • (B) Nodes are individual Linux hosts/VMs used to deploy and run your applications. New nodes can be provisioned right from within Tutum to increase the capacity of your Node Clusters.
  • (C) Containers, (D) Links, and (E) Volumes are Docker concepts.
  • (F) Services are logical groups of Docker containers from the same image. Services make it simple to scale your application across different nodes. Simply drag a slider to increase or decrease the availability, performance, and redundancy of your application.

Deploy Couchbase Docker Container on Amazon Using Tutum

Docker Tutum Getting Started provides detailed steps on how to get started. Here is what I did to run the Couchbase Docker container in Amazon using Docker Tutum:

  • Get started for free (at least while it's in beta) by logging in using Docker Hub account.
  • Link Amazon Web Services credentials with Tutum. I just had to specify Access Key Id and Secret Access Key. If you create a new account for this then you may have to attach a policy to enable privileges such that new instances can be provisioned on your behalf.
  • Create a new node cluster at dashboard.tutum.co/node/launch/Docker Tutum New Node ClusterThe three values that need to be specified/changed:
    • Node cluster name
    • Deploy tags (optional)
    • Type/size to t2.medium
    • Disk size reduce from 60 to 20 GB
  • Takes a few minutes to provision the AMI. Updated status could be seen on AWS Console:Docker Tutum AWS ConsoleTutum dashboard shows the following status after the node is created:Docker Tutum Node Created
  • Create your first service at dashboard.tutum.co/container/launch/. Select "Public Repositories" and search for "arungupta/couchbase-node".Docker Tutum New ServiceThis image is created from github.com/arun-gupta/docker-images/tree/master/couchbase-node. This image performs the following:
  • Click on "Select" and configure. You only need to override the ports and take all other defaults:Docker Tutum Couchbase ConfigurationClick on "Create and Deploy".
  • Dashboard is updated after the service is deployed:Docker Tutum Couchbase Service
  • Click on "Logs" to see logs from the Couchbase Docker container:Docker Tutum Couchbase Logs
  • Find IP address from the AWS Console:Docker Tutum AWS Console IP Address
  • Access Couchbase Console at <IP-ADDRESS>:8091, in our case This will show the login screen:Docker Tutum Couchbase Console LoginEnter the username "Administrator" and password "password".
  • This shows the Couchbase Console:Docker Tutum Couchbase Console

Create/Access Sample Bucket on Couchbase

  • Click on "Settings", "Sample Buckets". This shows the list of sample buckets that can be installed.
  • Select "travel-sample" and click on "Create". The updated console looks like:Docker Tutum Couchbase Travel Sample
  • If you’ve downloaded Couchbase server locally, then you can use Couchbase Query CLI Tool (cbq) to connect and query:

Couchbase query shell connected tohttp:// . Type Ctrl-D to exit.

cbq>select *from`travel-sample`limit1;







"country":"United States",




"name":"40-Mile Air",








So, this blog post showed:

  • What is Docker Tutum?
  • How to get started with Docker Tutum?
  • Deploy Couchbase Docker container on Amazon using Tutum
  • Create/Access sample bucket on Couchbase

More details:


Originally posted at: http://blog.couchbase.com/2016/deploy-docker-amazon-cloud-tutum

The Cloud Zone is brought to you in partnership with Internap. Read Bare-Metal Cloud 101 to learn about bare-metal cloud and how it has emerged as a way to complement virtualized services.


Published at DZone with permission of Arun Gupta, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}