Registered servers are a great way for operations teams to manage and allocate physical server resources for consumption by dev teams. Registered servers are essentially a pool of your own servers on a private or public cloud that can be used on any stack and configuration. For more information on how to add your own registered servers, we recommend this tutorial.

Lets Get Started

This guide assumes that you already have container images that you want to deploy. If you need to learn how to build images or pull existing images from a repo please read Getting started with Skycap.

Deployment Setup

To get started with your deployment—drill down to your app's overview page and click Setup a Deployment.

The first step involves choosing an environment for your application.

Please choose from the standard list of environments:

Development

QA

Staging

Production

Configuring Services

In the example below the application is composed of a single Rails service. This is a web app so we need to configure the Rails service to handle web traffic.

At the moment 0 services are connected to the Internet. We need to change that so click on the plug icon circled in red.

Container Network Configuration

The Rails service will run inside a container, we need to configure the container to respond to web traffic. A standard web server listens on port 80 for HTTP traffic and 443 for HTTPS traffic.

The Rails app listens to port 3000 so we should map the container port 3000 to the public Internet ports 80 and 443.

Adding Data Sources

Now the Rails app is configured to run in a container and we've setup a separate MySQL database server. All that remains is to decide what cloud provider to use and what server size and region we should deploy to.

Choosing a Cloud

Now we need to choose a cloud provider for the deployment. We'll use DigitalOcean and deploy the application to the London, UK region.

Deployment

If this is your first deployment you'll be prompted to enter your cloud key credentials, once you've added these the deployment will begin.

During the build and deployment process you can view the log to see what's happening behind the scenes.

Advanced Features

Information that defines how your application is deployed is accessible from manifest.yml. You can edit this file directly if you need to access advanced deployment features. For example advanced configuration of Cross-Origin Resource Sharing or Amazon Virtual Private Cloud and more.