Getting started with your Cloud Container server

RSS

Getting started with your Cloud Container server

Last updated November 30th, 2016

So you've just provisioned a brand new Cloud Container server and you may be wondering what to do next?

This article will give you a brief introduction to our Cloud Container platform with some simple steps to help you get a basic website up and running.

Step 1: Create your first container

Before you can start hosting anything on your Cloud Container server, you will need to create your very first container.

Head over to the 'Containers' module in our Control Panel and follow the instructions in our Creating a container article to get your first container provisioned.

Step 2: Create a database and database user

Within the 'Containers' module, you will see a section labeled 'Databases'. This section can be used to manage the instance of MySQL that comes standard with every Cloud Container server.

If your website will be making use of a database, you may wish to follow our articles on Creating a database and Creating a database user.

Step 3: Create a SSH/SFTP user

You should see another section labeled 'SSH & SFTP'. This section will allow you to manage the SSH/SFTP users on your Cloud Container server and the containers that they have access to.

At this point, you will most likely want to create a user and assign it access to your container by following the instructions in our Creating a SSH/SFTP user article.

This will become the user account that you will use to log into your Cloud Container server to upload files and execute commands.

Step 4: Log into your server

Now that you've created a SSH user, you will be able to log in and begin setting up your container. For help logging in via SSH, please refer to our How do I log in using SSH? article.

Once you're logged in, you should find a directory named container located in your home directory. All files for each container that your user has access to will appear in here.

Refer to our Where are my files, logs and backups stored? article for details on how these files are organized.

Step 5: Deploy your website

At this point, when accessing your container via a web browser you will be presented with our default landing page:

It works!

The last thing to do is to replace this page with your own website. You will find this page within your container's files at the following path: application/public/index.html

There are various ways that you may wish to deploy your website to your container. Listed below are some common examples:

  • Files can be securely uploaded to your container using a file transfer client that supports SFTP.

  • Files can be securely copied directly to your container using SCP.

  • If your website resides within a git repository, you may wish to clone it directly into your container.

Can we improve this article? Suggest an improvement to this article.

Suggest an Improvement

Thank you for helping us to improve this Knowledge Base article. Please type your suggestions below:

Still need help? Get in touch with us.

If you aren't able to find the help you need then please send us a question and we can help you further.