Varnish Cloud


Deploying Varnish Cloud instance

Subscription and configuration

Navigate to the Alibaba marketplace and click on “Varnish Cache 6 (Ubuntu)”. On the next page, click “Choose your plan”.

Launch instance

Now you’ll be prompted to log into your OCI account. Then you’ll be presented with a screen where you can click “Launch instance”.

Create instance

On the Elastic Compute Service (ECS) screen, configure the following:

  • Billing method
  • Region
  • Instance type and size
  • Quantity
  • Storage

Click “Next”. On the next page, configure the following:

  • Network type
  • Public IP address
  • Bandwidth billing
  • Peak bandwidth
  • Security group
  • Elastic network interface

Click “Preview”. Then review your settings and click “Create instance”.

Instance details

If your server is, indeed, up and running, you will see a screen with detailed info about your server. The most important thing to look for is the Public IP address.

Varnish Cloud 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’ll see a welcome page. This requires you to 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:


Windows users click here.

Parameter tuning

The default settings for your Varnish instance suit most Varnish users, but we advise you to have a look and update the configuration according to your needs.

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

To check out the system parameters, run this command:

sudo systemctl cat varnish.service

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

sudo systemctl edit varnish.service

Edit, as needed, and save the file.

Lastly, restart Varnish by running the following command:

sudo systemctl restart varnish.service

Configure your instance

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