Automate DigitalOcean Backups from Your Inbox with Zapier
It's been a long time since you needed to buy a server before you could start a new website. Between shared hosting, VPS (or virtual private servers), and cloud computing tools like Amazon's EC2 and Microsoft's Azure, launching your website or app takes little more than a credit card and a few online accounts.
But that doesn't mean it's simple. You'll still need those online accounts, and each hosting option offers its own complications. Shared hosting can be temperamental, prone to take your site offline if it gets too much traffic. VPS takes more of your admin time, and cloud computing—while powerful—requires a rethinking of how you build and deploy sites.
DigitalOcean tries to offer the best of all worlds with its simple VPS hosting along with a wide range of tools to help manage your servers and get them working together. It includes pre-configured web app images for a taste of shared hosting's simplicity, per-hour pricing like cloud computing services, while still letting you run the Linux distro and software you want on a virtual private server. And it's cheap enough to easily start a test server for a new site whenever you need, with tools to quickly add resources to your server or connect virtual external storage whenever you need more.
Once you have a DigitalOcean account, you can create a new VPS—or Droplet as they're called in DigitalOcean—in around a minute. First choose the distribution you'd like, from a number of recent releases of Ubuntu, FreeBSD, Fedora, Debian, CoreOS, and CentOS, then choose the size of Droplet you need and where you'd like it located. DigitalOcean offers 11 datacenters in New York, Amsterdam, San Francisco, Singapore, London, Frankfurt, and Toronto, so you can pick one closest to you and your users. Finally, you can enable extra networking options, add a name, and DigitalOcean will have your Droplet ready to use around a minute later. All you'll have to do then is SSH in and start setting up the software your site or app needs.
Or, you could get started even easier. If you want to start a new WordPress or Ghost blog, MediaWiki wiki, Discourse discussion board, Magento store or any other popular open source self-hosted web app, just click the One-click Apps tab when setting up your DigitalOcean droplet. You'll get a pre-configured Droplet with that software and any needed tools already installed, to get a new site online in minutes.
Once you've made Droplets, you could make other similar Droplets just as easily. Just take a snapshot of your fully configured Droplet, then you can recreate multiple instances of it in the same datacenter where the original Droplet was made. Or, if you break something in your Droplet, you can always roll back the changes to one of your previous snapshots—or you can go to a more recent backup if you've enabled them (for an extra 20% of your Droplet's cost per month).
If you're building a modern web app, one server won't be enough. That's where DigitalOcean's networking features come in. Along with support for IPv6 as an optional Droplet feature, you can also enable private networking to connect your Droplets inside DigitalOcean. That way, you can link your database and file server easily, or use Floating IPs to send traffic to another Droplet if one's overloaded. There's a load balancer to share the work between all your servers, and a virtual firewall to keep things safe. And if you ever run out of space on one Droplet, just shut it down—perhaps using Floating IPs to redirect traffic to another Droplet in the mean time—and you can resize it with a click. Or, add Spaces, a newer DigitalOcean offering to add bulk storage to your servers, somewhat like an external backup drive in the cloud.
There's more, too. DigitalOcean's popular tutorials can teach you everything you need to know about managing and scaling web apps, while the CLI app lets you manage servers along iwth the rest of your terminal-powered coding environment, and its API lets you automatically manage Droplets from inside your apps or using integration tools like Zapier.
There's thousands of places where you could host your site, but for a quick and easy way to build your own virtual datacenter—or just to spin up a test site—DigitalOcean is a great choice.