WPCloud Deploy Documentation

Introduction, Installation & Quick Start Guide

Introduction

WPCloud Deploy is a WordPress plugin that allows you to create WordPress servers at cloud server providers such as DigitalOcean, Linode, AWS and others.

But it does so much more than just create servers.  Once a server is created you can:

  • Add multiple WordPress sites
  • Use a centralized dashboard to manage multiple sites and multiple servers across multiple cloud server providers.
  • Perform WordPress specific actions on sites

It is extensible with hooks and filters that allow developers to add their own cloud server providers.

Additionally, products such Advanced Custom Fields (ACF) and Admin Columns Pro can be used to customize the data that appears for each server and site.

And, because it’s a WordPress plugin developers can integrate data from other popular WordPress plugins or send data from it to those other plugins.  This allows developers and admins to create a centralized dashboard that pulls together data that includes their server and site data – something that isn’t possible or would be quite difficult with SAAS products.

One of the funky things with a plugin such as this one though is that you need an existing WordPress site in order to use it.  Which makes it a little bit meta!  You can learn more about this on the Requirements Page.


Important Concepts

Loosely Coupled Connection To Server

The WPCloud Deploy plugin is in a “loosely coupled” connection to your cloud server.  This means that you or your cloud provider can make changes to the server without the WPCloud Deploy plugin knowing about it.  It is important that you do not do this unless instructed to by one of our support staff.

Still, stuff happens and the plugin can sometimes recover.  Some examples where recovery is possible are:

  • You or the cloud provider turns off the server but WPCloud Deploy still thinks its turned on.  The server list will still show the server as active.  Once the server is turned back on, it will be back in sync with the plugin.
  • The cloud provider can change the IP address of the server.  You can fix this by going to the server screen and updating the IP address there.  If you do not do this all actions the plugin tries will fail.

Callbacks

As we communicate with the server to deploy new sites and perform other tasks, we sometimes need to connect back into the plugin’s site to update status and error data.  This means that you cannot install it on a local server.  The server must be accessible via the internet – there’s a little more information about this at the bottom of our requirements page.


Quick Start

To get started, you need to:

  1. Upload and activate the plugin to an existing WordPress Site
  2. Configure a connection to your Cloud Server provider
  3. Install your first server
  4. Install your first site.

These steps are explained in more detail below.

Installation and Activation

Before proceeding with installation, please read the full requirements here.

Installing the plugin is performed just like any other WordPress plugin:

  1. Download the .zip file from our site
  2. Go to the WordPress Plugins menu
  3. Click the Add New button.
  4. Click the Upload Plugin button at the top of the Add Plugins page.
  5. Click the Choose File button, navigate to the .zip file from step 1 and then click the Install Now button.
  6. After the upload is complete, click the Activate Button.
  7. You should now see an alert at the top of the screen indicating the the METABOX.io plugin in needs to be installed.  You should go ahead and click on it then make sure it gets activated!

At this point the plugin is installed and ready to connect to DigitalOcean.  But first though, you should add an encryption key to wp-config.php.

Encryption Keys

Once the plugin is installed and activated you should add an encryption key to your wp-config.php file.  If you don’t do this now, api keys, private keys and other sensitive data will be stored without encryption in your database.  If you add the key later you will have to re-enter your api keys and private key information.  The wp-config.php setting required for encryption is documented in the first entry on this page.


Next Steps

Connect To Your Cloud Server Provider

For this section, we’ll assume you’re using DigitalOcean as your cloud server provider – if you’re using a different provider and have installed and activated the plugin for them, just substitute your provider for DigitalOcean in the instructions below:

  1. Make sure you have at least one SSH key pair installed at Digital Ocean.  If you don’t have a key pair, use this guide from our sister company to learn how to generate one.
  2. Create an API key at Digital Ocean – you can do this inside your DigitalOcean dashboard.
  3. Go to the settings screen under the WP Cloud Deploy menu option
  4. Click on the Cloud Providers tab and fill out the API Key  field then click the save button at the bottom of the screen.
  5. Now, the SSH key dropdown will be filled in with the keys you uploaded to DigitalOcean.  Select one of them.
  6. Add the private key portion to the PRIVATE SSH KEY box.  It is very very important that you make sure the private key data matches the public key you selected in the prior step.
  7. Add your private key password if any.
  8. Save the settings.

Now you’re ready to quickly run through the steps to get your first server and site up and running.

Create Your First Server & Site

To create your first server:

  1. Go to WPCLOUD DEPLOY->ALL CLOUD SERVERS.
  2. Click the PROVISION A NEW WORDPRESS SERVER at the top of the screen.
  3. Follow the instructions on the screen and then go get a cup of coffee – it’ll take about 20 minutes for the server to be provisioned.

To create your first site after creating your first server:

  1. Go to WPCLOUD DEPLOY->APPLICATIONS
  2. Click the INSTALL WORDPRESS button in the Server Actions column.
  3. This should be at most a five minute process.

 

Share:

Copyright © WPCloudDeploy 2020