In this article we are going to provision a Vultr Instance directly from within our GridPane dashboard using the Vultr API. This article will be using the Vultr nomenclature Instance and the word Server interchangeably.
Step 1. Login to Vultr account and navigate to the API Panel
Login to your Vultr Account and click on the Account menu item in the left vertical main menu.
Then Select the API tab from the Account page menu
Step 2. Enable the Vultr API
In the Personal Access Token panel you will need to enable the API by clicking the large blue Enable API button
Step 3. Whitelist the GridPane Server IP addresses
Once the Vultr API has been enabled, locate the Access Control Area to whitelist the GridPane server IP addresses. This will allow the GridPane servers to connect to your Vultr account.
GridPane has two IP addresses that need to be whitelisted:
You can whitelist only these IP addresses by adding them individually if you like
Alternatively, you can whitelist all IP addresses.
Whitelisting all IP addresses is less secure, if you choose this option then please ensure you take adequate precautions and keep your API Personal Access Token safe.
If you wish to remove any whitelisted IP address at a later date, just click the large Remove button next to the IP addresses/range you wish to remove.
Step 4. Copy your Personal Access Token
Your Personal Access Token is available at any time from the API page in your Vultr account area. Copy your token to enter into your GridPane settings in the next step. Remember to keep your token safe and secure.
Step 5. Go to your GridPane Settings
Login to your GridPane account and click the Your Settings menu item in the dropdown menu accessible by clicking on your username and icon.
Step 6. Enter your Vultr Personal Access Token in to GridPane
Locate and click the Vultr API option in the left horizontal menu, and then enter the Vultr Personal Access Token you copied in Step.4 above into the Token input field and click Create.
Step 7. View/Edit your Vultr API Token
Your Vultr 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 edit button with the blue pencil icon.
A popup modal will appear and you can easily change your Vultr Token and click Update.
Step 8. Go to the GridPane Home to provision an Instance
Now we have our Vultr Personal Access Token saved in our GridPane settings we are able to provision Instances from within GridPane. To do this, first click Home from the GridPane main menu to access the server provisioning tool.
Step 9. Configure your Vultr Instance
Select Vultr from the choice of Cloud VPS providers and a configuration panel will open.
Enter an appropriate name for your Instance, and then choose a server plan and region from the dropdown selectors, before choosing whether or not you wish for Vultr Backups to be enabled. Currently all Instances are provisioned with Ubuntu 18.04 LTS as the default OS.
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 10. Copy your Server Credentials and keep them safe
GridPane will display your Instance login details, this is the only time the password will ever be displayed, so be sure not to lose it and keep it secure.
Step 11. Wait patiently while GridPane provisions your Instance
GridPane will begin provisioning your instance. You will now be able to see your instance in the Active Servers list.
The process of provisioning your server may take some time depending on the location of your Instance to the GridPane servers. The process required to set up a highly optimized server stack for hosting Serious WordPress Sites is worth the wait, please be patient.
At any time during the provisioning process you may check what stage the process is at by rolling over the progress bar, a pop up 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 may deploy multiple servers concurrently by clicking on a Cloud provider and repeating the above steps at any time during the provisioning process.
Step 12. Deploy your GridPane WordPress Sites on a Vultr Instance
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.