There are many reasons you should use a VPS which I have written about. This article will discuss step-by-step how create a DigitalOcean VPS, known as a droplet in that company’s terminology. Log intoIf you haven’t already done so, create an account, and connect a credit card. You may be required to show some kind of government ID as well, but it is only a one time thing. They do it as a security measure.
Your credit card won’t be charged until you actually use a service. And a great thing about DigitalOcean is that you can create/destroy a VPS any moment of any day, and you are just charged by the hour use. Click On “Create” buttonAfter begin logged in, you should see a green button in the upper right that says “Create”. It will bring down a drop down menu. Then, click on the section that says “Droplets Create Cloud Servers”.
Create DigitalOcean Droplet Step 3. Choose an imageNext, you will choose the specific kind of image you want. The default is to let you choose between different Linux distributions.In the first part, you need to choose the distribution For example Ubuntu, FreeBSD, Fedora, Debian, and CentOS. You could also choose among Container distributions, One-click apps, and Custom images.I’ve only ever used Ubuntu and Debian images with DigitalOcean, but I’m sure other Linux or Unix distros are fine too.
I personally would normally recommend the Long Term Support versions of Ubuntu like Ubuntu 18.04 or Ubuntu 16.04. After choosing, scroll down the page. Choose Linux Distro Step 4. Choose a SizeNext, you will need to choose the specs of the standard droplet.The cheapest VPS is $5/mo. Currently, the $5/mo one is 1 GB Memory with 1 CPU, 25GB SDD disk, and 1000 GB bandwidth transfer.I’ve only ever used the $5 / month and $10 / month versions of the VPS from DigitalOcean and I’ve been using DigitalOcean at least since 2015.There are Droplets you can choose from $5, $10, $15, up to several hundred USD / month, though you actually pay per hour.As of the time of the writing, the most expensive VPS you can get from DigitalOcean via the menu has the following cost / specs.$ 640 /mo, $0.952 /hour, 64 GB / 32 CPUs, 400 GB SSD disk, 9 TB transfer. But I imagine the vast majority of people would choose VPSes between 5 and 20 USD / month.
Welcome to the DigitalOcean API documentation. The DigitalOcean API allows you to manage Droplets and resources within the DigitalOcean cloud in a simple, programmatic way using conventional HTTP requests. The endpoints are intuitive and powerful, allowing you to easily make calls to retrieve information or to execute actions. Create a New Pipeline in Jenkins. Next, we can set up Jenkins to use the GitHub personal access token to watch our repository. Back in the main Jenkins dashboard, click New Item in the left hand menu: Enter a name for your new pipeline in the Enter an item name field. Afterwards, select Pipeline as the item type.
I currently have 5 VPSes from DigitalOcean. 4 of the VPSes are the $5/month version and one is a $10/month version. Some optional things you can add to your dropletNext, Add backupsAdd block storageAbove are both optionaladd backups / add block storage both are optional. Optional things to add to your droplet Step 6. Choose datacenter regionCurrently, at the time of this writing, you could chooseNew York, San Franscisco, Amsterdam, Singapore, London, Frankfurt, Toronto, and Bangalore. In general, I don’t think it really matters which one you pick as I think they are all super fast data centers. I’d probably pick a datacenter that is closest to where most of your viewers are, or where you live, but it’s completely up to you.
I’ve used different ones in the US, Netherlands, Singapore, and Germany, and found them all to be excellent. Regions you can choose where the VPS will be located at. Final optional things you could use for your dropletYou will then read something like:Select additional optionsPrivate networking, IPv6, User data MonitoringAdd your SSH keysI don’t think any of those options would be necessary, but you of course can choose to use any of those. I have never used any of these. More Optional Things To Add To Droplet Step 8. Choose Number of droplets and hostnameYou will then be told to choose how many Droplets you want.Finalize and createHow many Droplets? Deploy multiple Droplets with the same configuration.By default, it will only only set up one droplet, which is likely all you want. But, if you decide to create multiple VPS droplets with the configuration, you can choose to create 2 or more.Choose a hostnameThis is the hostname or just name you will give your VPS computer.
You can always change this later. This name will just be for your own purposes. I usually name my VPS something related to what it is hosting. For example, I might call a VPS hosting linuxwebdevelopment.com something like linuxweb VPS. Final Sections For Droplet Creation Step 9. Finally create the dropletNow click on the green button at the bottom that says “Create”.
Wait For Droplet To Be Created And Check your Email for login details to the new VPSAfter that creating the droplet, you will need to wait a few seconds for the droplet to be created. You should see some kind of visual message that indicates it is done and that the VPS has been created.After that, you will be emailed the following vital information to be able to login to your VPS. The Droplet Name you created. IP address. Username root. PasswordYou will need numbers 2,3, and 4 to be able to login to your VPS.
Step 11: Login to VPS And Change Default PasswordNow to connect to your VPS, open a terminal. If in Linux, this should be easy to do. If you are using Windows, you can download Putty and follow similar steps. If you are using Mac OS, you can follow the steps.And then type something like the followingsshYou will need to change 123.145.167.189 to whatever your actual IP address is that digital ocean emailed you.Then, type in the password you created.You may get a message that looks something like the following:The authenticity of host ‘123.145.167.189 (123.145.167.189 )’ can’t be established.ECDSA key fingerprint is SHA256:/Gk5ietlgUU/X7eVEVPV+j4GKzms6nXYFzwWLOpTyGq.Are you sure you want to continue connecting (yes/no)? YAccept and continue.Then after the first login, the system will likely force you to change your root password.What did you think of this article?
Do you have anything to add? Let’s discuss it in the comments below. Author Posted on Categories.
This guide will walk you through how to set up a droplet in Digital Ocean where you will host your backend and web source code.1. Login to DigitalOcean CloudAfter you log into the with your email address and password for the first time, there are two ways to create a Droplet. You can either:.
Click the large, blue Create Droplet button. This button is only visible when you do not have any Droplets. Click the green Create button at the top right and choose Droplets.2. Choose an imageThe first configuration section is titled Choose an image. At the time of this writing, the 64-bit Ubuntu 16.04 image is selected by default. We'll keep the default Ubuntu image.3. Choosing a sizeThe next configuration section allows you to choose the size of your Droplet, i.e.
The amount of RAM and storage space it has. For our source code, we can start with $20/mo plan.You can skip the Add block storage section for now.4: Choose a data center regionNext, you're given a choice of data center regions.For the best performance, choose the data center nearest to you and your users. More distant server locations may increase the server's latency without providing any practical benefits.You can skip the Select additional options section for now.5.
Select SSH keysThe SSH keys are a key pair made between your computer and the server that allows the server to connect if it sees the matching key on the machine from which you are logging in. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. SSH keys provide more security than using a password. You have the option to use them in the Add your SSH keys section.If you already have an SSH key then,Click the New SSH key button.Copy your public key and paste it in the SSH key content box and give it a name.Once you upload the key, check the box by the key name to add it to your droplet.If you don't have an SSH keyYou need to create an SSH key from your computer which you will upload it to the server to secure it. If you are using Mac OS X or Linux visit.
If you are using a windows OS visit. Create an SSH key and then continue with step 5.6. Finalising and creatingThe ' Finalize and Create' section of the Create page allows you to choose the number and name(s) of the Droplets you're creating.By default 1 droplet will be selected. For our installation, we need 4 droplets.
1 droplet for hosting the exchange. 1 droplet for hosting Bitcoin and Litecoin blockchain. 1 droplet for hosting Bitcoin cash blockchain. 1 droplet for hosting Ethereum blockchainGive each droplet a corresponding name and press Create.7. Creating the DropletOnce you have selected your options and click Create, a progress bar displays how close your Droplet is to being ready.When the setup is 100% complete, the IP address of your Droplet will be displayed.If you are using AWS you have to open following ports.
Ports: 22, 80, 443, 3306, 18523, 16321, 18232, 18222, 8545, 8546, 8080, 30303Servers required for running your exchange have been created successfully. Now we can proceed to.