Question

How can I deploy easily?

What’s a good way to deploy stuff to a DigitalOcean droplet? Right now I’m hosting my Node.js website on Cloud SQL and Google App Engine, but I’m wanting to move to DigitalOcean. My only issue is that with App Engine I can do gcloud app deploy and my project is deployed. On DigitalOcean, I haven’t been able to find an equivalent.

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
March 18, 2020
Accepted Answer

Hi @Dog2puppy,

There are multiple tools for you to use. Let’s break them down a little bit. So first, if you wish to deploy your application more code based, you can use either git/gitlab/svn etc. I’ll recommend going for git. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

If you wish to spin up new droplets and control the configuration they have, you can use either Puppet or Ansible. They are considered the best configuration management tools. Puppet is used for bigger systems which will require a lot of droplets and instances while Ansible can be used to install just the required services such as Nginx and MySQL for instance.

I hope this helped,

Regards, KDSys

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel