Now that you have a better understanding of NGINX and its key features. Let’s get started on deploying a NGINX Web Server Droplet or a virtual server and installing and connects as we discussed in previous article. We’ll be deploying a virtual server on Digital Ocean with Ubuntu 19.10 for to begin.
1 – Go to DigitalOcean.com
2 – If you don’t have a Digital Ocean account you can click the Sign up button.
3 – You’ll be required to enter your e-mail address and your desired log in password.
How To Build Project – NGINX Web Server Droplet
4 – Once you register your account you’ll be asked to connect either a valid credit card or your PayPal account.
5 – Since I already have an account I’m going to click the log in button and then enter my log in credentials. And press the logging button.
6 – Click the New Project.
7 – We need to give our project a name. I’ll go ahead and name it NGINX Sample. Since I already have a couple of other NGINX projects in this account you can give it the same name or you can name it something more relevant to your project.
Also Read: Advantages of NGINX – Faster And Popular Load Balancer
8 – Now we need to select a purpose for this project.
9 – Digital Ocean does require this before they allow us to create the droplet. So I’ll just select educational purposes and then click the Create Project button.
10 – Since we don’t need to transfer any resources over to our new project click skip for now.
11 – Now we can deploy our droplet. Click on to Get Started with a Droplet button.
Choose a plan
12 – Underneath distribution’s, We’re going to select Ubuntu 18.04 64 bit. If you’re doing this just for educational purposes you can select the smallest droplet configuration in Choose a plan (1 GB and 1 CPU) if you’re using this project for a more complex web application than you may want to consider perhaps starting on a larger package.
Choose Data Center in Droplet
13 – Scroll down and will need to select a data center. I’ll go ahead and select New York. It really doesn’t matter. Typically you want to select a data center that’s close to your website visitors so they get fast loading speeds.
14 – The next thing we need to do is give our droplet a host name and I’ll give it the same host name as the project so call it NGINX Sample.
15 – Make sure you select NGINX Sample from the menu and then go ahead and click the create button, minute or two. OK so the droplet has been created.
16 – What you need to do now is just look out for an email from Digital Ocean that contains your server password. You’ll need this password shortly when needed. When we log into our server and start executing commands so just make sure that you do have that email handy and it didn’t go into the spam folder or anything like that.