Deploying to production on Digital Ocean

Digital Ocean is my favorite cloud-computing platform for using virtual servers (droplets) because it is effortless to create, configure, and delete droplets, and the price is low (you can get a droplet for $5 per month—that means $0.007 per hour). Another reason why I think Digital Ocean is fantastic is that they have all the documentation up to date and customer service is quick to solve any problem you may have.

For this recipe, we are going to use Ubuntu 18.04, so you will need to know some basic Linux commands to be able to configure your droplet. If you are entirely new to Linux, don't worry, I'll try to explain each step in a straightforward way.

Get React Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.