Set up servers now then take offline to use later

Posted October 7, 2017 3.1k views
NginxNode.jsUbuntu 16.04

I want to set up everything (MERN stack) and then take it all offline and upload or call back the configs later on when I am ready to deploy. Ideally I could download them then reupload when needed to save on the minimal cost

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.

Submit an Answer
3 answers

You could set up your droplet, then take a snapshot, destroy the server. In the future you can create droplet from image.

You then just have to pay 5cent per GB per month for the snapshot storage. So small snapshots are cheap

Hello @jakirby ,

You can’t download the DO droplet, so you would have to keep it as a snapshot/offline droplet. This means that you would have to pay for the snapshot or droplet. I guess you don’t want this, so as an alternative I recommend Docker.

You could setup a droplet with docker, configure your environment and then upload the docker container to the docker hub. After that you can download the container later on, on any VPS/Droplet/Dedicated machine you whish. Hope this helps you ;)

As other’s have mentioned, you could make use of the snapshot feature for storing the current state of a droplet as an image, then create a new droplet from that saved image at a later date when needed (note the small fee on saved snapshots).

Failing that, use of Docker and or a configuration management tool like Ansible would take some learning investment, but be very beneficial for these purposes you describe.

by finid
There are two methods for installing Docker on Ubuntu 16.04. One method involves installing it on an existing installation of the operating system. The other involves spinning up a server with a tool called Docker Machine that auto-installs Docker on it. In this tutorial, you'll learn how to install and use it on an existing installation of Ubuntu 16.04.