{"id":2251,"date":"2018-12-19T14:40:41","date_gmt":"2018-12-19T12:40:41","guid":{"rendered":"https:\/\/upcloud.com\/global\/us\/resources\/tutorials\/start-deploying-ploi\/"},"modified":"2018-12-19T14:40:41","modified_gmt":"2018-12-19T12:40:41","slug":"start-deploying-ploi","status":"publish","type":"tutorial","link":"https:\/\/upcloud.com\/global\/resources\/tutorials\/start-deploying-ploi\/","title":{"rendered":"How to start deploying websites with Ploi"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Deploying new websites should be fun and exciting. While some enjoy the hands-on approach of terminal commands, others would much rather have everything automated from start to finish. Meet Ploi, the server management tool that will make your life easier!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/ploi-logo-blue.png\" alt=\"Ploi logo\" class=\"wp-image-12914\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Ploi takes care of the background tasks of launching and maintaining websites so that you can focus on what you love and develop your application. Rapidly deploy any site you like. Launch straight from your Github, Gitlab, and Bitbucket repositories, or 1-click-install WordPress, OctoberCMS or just SFTP.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/signup.upcloud.com\/\">Test hosting on UpCloud!<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">1. Sign up on UpCloud<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, if you have not yet registered on UpCloud, you should <a href=\"https:\/\/signup.upcloud.com\/?promo=ploi\" target=\"_blank\" rel=\"noreferrer noopener\">begin by getting signed up<\/a>. As an added bonus, you\u2019ll receive an extra $25 to get started by following our link here to register.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The link opens in a new window \u2013 we\u2019ll wait here for you!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Configure UpCloud API access<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To allow Ploi to access your UpCloud account through our API, you first need to set up the API permissions.&nbsp;We recommend creating a new workspace member account specifically for API usage with its own username and password for each external service you might use. This allows you to limit API access and specify permissions for increased security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can find detailed instructions on how to create API credentials in our <a href=\"https:\/\/upcloud.com\/global\/resources\/tutorials\/getting-started-upcloud-api\" target=\"_blank\" rel=\"noreferrer noopener\">beginners&#8217; guide for UpCloud API<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have a workspace member account for Ploi API access continue ahead to their platform.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Sign up with Ploi<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/ploi.io\/register\" target=\"_blank\" rel=\"noopener\">Register for a free trial account with Ploi<\/a> to get going.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">UpCloud users also get a discount of 25% on their Ploi orders by entering the promotional code below at checkout.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">UPCLOUD-PROMOTION<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can, of course, test out the tools by following this guide during the trial.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Add UpCloud as a provider<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019ve signed up with Ploi, you\u2019ll land on their sparkly dashboard. In the Ploi management panel, you will find all the tools necessary for deploying and maintaining all of your websites.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/1-ploi-dashboard-1024x566.png\" alt=\"-\" class=\"wp-image-39646\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Continue by configuring your UpCloud account on Ploi. Go to the <em>Server Providers<\/em> under your <em>Billing &amp; Profile<\/em> menu.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the Server providers view, select UpCloud as the provider, then enter your API username and password in the fields below. Confirm by clicking the <em>Create<\/em> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/2-ploi-server-provider-1024x566.png\" alt=\"-\" class=\"wp-image-39647\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ploi verifies your API credentials immediately to ensure everything will work going forward.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. Deploy new server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you\u2019ve set up all the right pieces, you can get started deploying servers! The average installation time is just 13 minutes during which Ploi will take care of your server setup and security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Deploy your first server on UpCloud using Ploi by clicking the Create Server button on your Ploi dashboard. Then, select UpCloud as the provider and fill in the details for your first deployment.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use the API credentials you set up in the previous step<\/li>\n\n\n\n<li>Give your server a name, or go with the funky default naming<\/li>\n\n\n\n<li>Select the server plan you wish to use; if you are on trial, use the 1024MB RAM and 1 CPU plan<\/li>\n\n\n\n<li>Pick the region you want to deploy to<\/li>\n\n\n\n<li>Choose your PHP version<\/li>\n\n\n\n<li>Select between the database options<\/li>\n\n\n\n<li>Finally, click the <em>Create<\/em> server button to deploy it<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/3-ploi-create-server-1024x929.png\" alt=\"-\" class=\"wp-image-39648\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After beginning the deployment process, Ploi will take care of everything. You can follow the deployment process on your Ploi dashboard, where you\u2019ll find the server once it has been configured.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. Create a new site<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ploi focuses on making every server and site install as effortless as possible, and it shows. You can install WordPress with a single click and watch the magic happen! Ploi will handle the annoying installation procedures and secure your server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Continue by selecting your server on your Ploi dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/4-ploi-server-status-1024x566.png\" alt=\"-\" class=\"wp-image-39649\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, add a site by entering your domain name and clicking the Add Site button. Ideally, you should have a domain you can configure to point to your UpCloud server, but it\u2019s not strictly necessary.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/5-ploi-sites-1024x566.png\" alt=\"-\" class=\"wp-image-39650\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Using your own domain names will allow you to easily configure any number of sites on the same cloud server without any manual work on the host side.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">7. Install the site of your choice<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You should now see your site on the list of available configurations, click the icon on the right of the domain and repository to enter the site details.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/6-ploi-new-site-1024x566.png\" alt=\"-\" class=\"wp-image-39651\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the site settings, you\u2019ll find a number of different installation options. Pick between popular repositories such as GitHub, GitLab, and Bitbucket, or the fast-track solutions with WordPress, OctoberCMS, and NextCloud.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this example, select Install WordPress and click the box on the right to Create Database for the new installation. Finally, click the Install WordPress button at the bottom of the page to start the configurations.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/7-ploi-install-wordpress-1024x566.png\" alt=\"-\" class=\"wp-image-39652\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The installation will only take a moment, after which your new site is ready to rock. However, you will need to configure your domain&nbsp;at your DNS for the site to become accessible using the default configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not to worry though if you didn\u2019t have a valid domain to enter when creating the site. You can edit the web host by going to the <em>Manage<\/em> view and clicking the <em>Edit Nginx configuration<\/em> button.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This will open the current site file in a handy text editor right in your web browser. Find the server_name line and comment on it, as shown below. Then, add a server_name with the IP address of your cloud server. Afterwards, select restart Nginx after saving and click the button to <em>Save changes<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/8-ploi-nginx-config-1024x566.png\" alt=\"-\" class=\"wp-image-39653\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once Nginx has restarted with the new configuration, open the server IP in your web browser to find your new WordPress configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">All done!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations, you should now have a shiny new WordPress site up and running. Head over to your configured domain and make the usual final setup selections on the site itself.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/ploi-wordpress-7.png\" alt=\"Ploi WordPress on UpCloud\" class=\"wp-image-6754\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With the easy-to-use Ploi dashboard, you can save valuable time by launching sites without a single terminal command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stop the hassle, start deploying with Ploi!<\/p>\n","protected":false},"author":3,"featured_media":39646,"comment_status":"open","ping_status":"closed","template":"","community-category":[223,250],"class_list":["post-2251","tutorial","type-tutorial","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/comments?post=2251"}],"version-history":[{"count":0,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2251\/revisions"}],"wp:attachment":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/media?parent=2251"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/community-category?post=2251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}