Question

How can I deploy easily?

Posted March 17, 2020 156 views
Node.jsDigitalOceanDeploymentDevelopment

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.

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.

×
1 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

Submit an Answer