Search
Varnish Cloud

DigitalOcean


What Varnish Software offers in DigitalOcean

At the moment we offer Varnish Cache 6 as a solution in DigitalOcean

Varnish Software Instance Deployment

Subscription and Configuration

Click here to get to our product in the DigitalOcean Marketplace page and click on “Create Varnish Cache Droplet”.

Launch Instance

Next you will be prompted to log into your OCI account. When you have logged in you will be presented with a screen where you can click “Launch Instance”.

Create Droplets

On the Create Droplets screen you can configure the following before clicking “Create Droplets”.

  • Region
  • Droplet type and size
  • SSH Key
  • How many droplets to start
  • Hostname
  • Project to start it in

Droplet Details

Your server is up and running, at which time you will see the a screen with detail information of your server. The important info here is the Public IP address and Username.

Instance is up and running

Welcome page

The instance is configured so that Varnish answers on port 80 and 443. If you access the instance IP address with a browser you will see a welcome page. This requires that you have the ports open.

Logging into the server

The default username for the instance is opc. With the SSH key you used when creating the instance, you can log into the server with this command.

ssh -i /PATH/TO/SSHKEY root@IPADDRESS

For Windows users look here.

Parameter tuning

Your Varnish instance has been pre-configured with the default settings, which suits most Varnish users. We advise you to have a look and update the configuration according to your needs.

Our documentation site has a reference section with all available runtime options. This will help you to properly configure the Varnish process.

To look at the system parameters run this command:

sudo systemctl cat varnish.service

To change the runtime options, run the following command on your Varnish instance:

sudo systemctl edit varnish.service

Edit accordingly and save the file.

And finally, restart Varnish by running the following command:

sudo systemctl restart varnish.service

Configure your instance

For information on how to configure Varnish Enterprise we recommend that you start here.