Create a Docker server

February 20, 2020

This tutorial guides you step-by-step through the process of obtaining a server from a cloud provider and automatically configuring it as a Docker server using Smoothy.

The tutorial assumes that:

  1. Your team has at least one project
  2. You established an integration between Smoothy and your preferred cloud provider

Create a deployment #

In order to create a Docker server, you should first navigate to the deployments page via the main navigation. This should bring you to a page similar to this:

Deployments page

Hover the button in the right upper corner of the deployments table and click Create deployment. Next, a form will appear asking you to choose under which project you want to create your deployment.

warning

Make sure to choose the correct project since the project of a deployment cannot be changed later.

Then, you are asked to provide a name for your deployment. By default, Smoothy chooses a random name for you, but you are free to overwrite this suggestion.

At the bottom of the form, you need to select the type of deployment that you want to create. Since this tutorial focuses on the creation of a Docker server, you should select the Docker server option.

Create deployment form

In the next step of the creation process, you are asked to specify the stage of your deployment. For this, you can choose between three possible options:

Stage Choose this stage...
Development ... when you are creating a deployment to test out your applications during development.
Staging ... when you are creating a deployment to test out your application, but seek to mirror the production environment as closely as possible.
Production ... when you are creating a deployment to run your actual application that your users directly interact with.

As explained on page Stay up to date via notifications, Smoothy continuously keeps an eye on how your deployments and applications are doing. Whenever it detects an anomaly, it sends you a notification. Depending on the selected stage, these notifications have a lower or higher priority.

tip

If you are not sure which stage to choose, don't worry. You will be able to change this option later.

Create deployment form

In the next step of the creation process, you can select the data center from which you would like to obtain a server. This list is entirely based on your team's integrated cloud providers. If you established an integration with DigitalOcean, you will see the DigitalOcean data centers on the map. If you also set up an integration with Linode, you will also see the Linode data centers.

To select a data center, you should hover your mouse over a location and click on the name of the data center.

Create deployment form

Next, Smoothy will show you a list of most of the available server sizes in the data center you just selected. For each size, it shows the amount of memory, the number of CPU cores, and the monthly price that you will have to pay your cloud provider for the usage of the server. Out of this list, you should select your preferred server size for your deployment.

Create deployment form

When you successfully completed all the steps in the creation process, you should see your new Docker server appear on the deployments page. As you can see in the screenshot below, the deployment indicates that is currently being created. This will take a few minutes.

Deployment is creating

However, instead of having to stare at the ceiling until your deployment finished creating, you can follow along with the creation process in real-time. 👀 To do so, click on the deployment. This should take you to a page similar to the one on the screenshot below.

Deployment page while creating

On the right-end side of the page, you will see a button labeled Deployment activity. At any moment in time, this button will give you insights into all the actions that Smoothy performs on your deployment.

Deployment recent activity

If you hover the button, you should see an action with a name similar to Create DigitalOcean Docker server. Clicking on this action will open up a modal, as shown in the screenshot below. This modal shows you all the steps that are executed during the creation process and reports their output in real-time.

Deployment creation progress

After a few minutes, when the creation process has finished, you can find all the details of your Docker server on the deployment page.

Deployment page

When you head back to the deployments page, you will see that the deployment has finished creating and is ready to run your applications.

Deployments page after creation

Where to go from here? #

Now that you successfully created a Docker server, it is time to install an application on top of the deployment. To do so, you can follow along with one of these tutorials.

Michiel Kempen

Michiel Kempen

A passionate cloud engineer who helps software companies adopt modern cloud technologies through an intelligent all-in-one cloud platform called Smoothy.