At the moment we offer Varnish Cache 6 as a solution in DigitalOcean
Click here to get to our product in the DigitalOcean Marketplace page and click on “Create Varnish Cache Droplet”.
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”.
On the Create Droplets screen you can configure the following before clicking “Create Droplets”.
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.
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.
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.
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
For information on how to configure Varnish Enterprise we recommend that you start here.