In this article, we are going to provision a DigitalOcean Droplet directly from within our GridPane dashboard using the DigitalOcean API. This article will be using the Digital Ocean nomenclature Droplet and the word Server interchangeably.
Table of Contents
Step 1. Create a DigitalOcean Account and Login
If you don’t already have a DigitalOcean account, you can get yourself $100 free credit when you first get started. Full disclosure, this is our affiliate link:
Step 2. Generate a New API Token
Inside your DigitalOcean Account click on API in the top menu bar:
In the Applications & API panel that opens up, click on the Generate New Token Button in the Tokens/Keys tab.
Generate a Token with the correct scope
In the New personal access token popup modal, give your access token an appropriate name, such as GridPane. Then make sure both Read and Write are selected in the scope, before clicking Generate Token.
Step 3. Copy Your Personal Access Token
DigitalOcean will now display your Personal Access Token. It will not be shown again for security purposes, so make sure you remember to copy it to enter in to your GridPane settings in the next step. Remember to keep this access token safe and secure.
Step 4. Add Your Token to GridPane
Login to your GridPane account and click the Your Settings link in the dropdown menu accessible by clicking on your username and icon.
Enter your DigitalOcean Personal Access Token in GridPane
Locate and click the Integrations option in the left horizontal menu, and then within Cloud Providers select DigitalOcean, and then enter your Personal Access Token you copied in Step.4 above into the Token input field, give your key a name, and then click Create.
View/Edit your DigitalOcean API Token
Your Digital Ocean API Token will now be available from this settings panel. If you wish to edit or change your API Token you may do this by clicking the down arrow for your specific key, and then clicking the edit button with the blue pencil icon.
Step 5. Provision Your First Droplet
Now that you’ve added your DigitalOcean Personal Access Token to GridPane you are able to provision Instances with it from within GridPane. First, navigate to the Servers page in your account:
We recommend that you choose Ubuntu 20.04 LTS as the default OS.
Choose Your Web Server
You have the option to choose between Nginx and OpenLiteSpeed. This is largely personal preference. If you’re unsure which one to choose, start with Nginx.
Choose your database
If you’re on the developer plan you’ll have the option to choose between Percona and MariaDB for your database.
Percona is based off the new MySQL 8. It has removed query caching (which was deprecated in 5.7 but was still available), and it has more advanced aspects for things like storing and managing json as a storage format. It will likely use more RAM than MariaDB.
MariaDB is still based on MySQL 5.7, which could mean fewer issues importing old WordPress websites from low-quality hosting environments. It will likely use less RAM than Percona.
Both are excellent options.
We highly recommend that you enable provider backups. It’s a small price to pay for the extra insurance they offer.
Create your server
Click the Create Server button when you are happy with your configuration choices.
Step 6. Wait for 10-15 Minutes
GridPane will begin provisioning your server. You will now be able to see your server in the Active Servers list.
At any time during the provisioning process, you may check what stage the process is at by rolling over the progress bar, a popup window will display the current job being completed.
Once GridPane has finished provisioning your Instance the progress bar will turn green and you will be able to deploy some Serious WordPress Sites on it.
Of course, you can create multiple servers at the same time by clicking on a Cloud provider and repeating the above steps at any time during the provisioning process.
Congratulations! Next Steps
While not always necessary, you may need to whitelist our IP addresses within your DigitalOcean account. This is quick and easy, and you can learn about why and how to do this here:
Create WordPress Sites
Now that your server is live, you’re ready to start creating and configuring new WordPress websites.
To deploy a site click on the Sites link in the GridPane main menu to begin the process. We have a separate article that details the steps in detail for you.