Snapshots

A Snapshot is a point-in-time copy of your disk.

How can I use Snapshots?

Snapshots are used for quick horizontal scaling, backups, cost saving and creating Golden Images.

  • Horizontal scaling: when Bunnyshell performs a horizontal scale or a scale up it creates new instances from Deployment Snapshots. This reduces the duration of the process.

  • Backups: In case of a disaster, Snapshots can be used for recovery.

  • Cost Saving: You can create Backups of your Server, remove the Servers and create new Servers from existing Images. Snapshots are always billed less than Instances.

In Digital Ocean the Stop with Image feature uses Snapshots and was created for Cost Saving.

  • Golden Images: A Golden Image is a snapshot that perfectly describes the configuration you need for your projects in terms of packages, access, configurations, system tuning etc. While this is a great feature that Saves you Time, Reduces Errors and Provides Consistency it has a downside. You don't have control of what is being installed, you may not even know all the things that are configured and why, and if minor changes are needed from the Golden Image, the story becomes more and more complicated. Luckily for you, Bunnyshell solves this very problem. Check the How are Bunnyshell Snapshots different from Cloud Snapshots?‚Äč

How are Bunnyshell Snapshots different from Cloud Snapshots?

When you create a Snapshot from your Server, Bunnyshell saves all the metadata representing all processes that were executed on that Server, from Bunnyshell. When creating a Server from that Snapshot, you will benefit from all the advantages of a Golden Image, but also:

  • Provisioning Information: Your new Server will have a complete overview of what was installed and how it was configured. You can safely make any particular change for your new Server in a controlled and visible way.

  • Access Information: All the SSH keys that were given access to that Server will be visible.

  • Firewall Information: Bunnyshell also saves all the firewall rules that were associated with that Server and recreates them.

  • Instance Size Information: We will let you know what the initial Server Instance Size was. You can leave it like that or change it.

Viewing your Snapshots

Go to the OPS -> Snapshots section from the left menu. You will see all your snapshots here.

Snapshot Lifecycles

In Progress: The Snapshot is being created

Ready: The Snapshot was created

Removing: The Snapshot is in course of deletion

Failed: The Snapshot creating/deletion failed. Please check the Logs on why this happened.

Creating a Server Snapshot

To create a Snapshot go to your Server view, click on the upper right Action button and select Create Snapshot. Provide a name for your snapshot and click Create. After the Snapshot is created the status will change from Pending to Ready .

You cannot download a Snapshot but you can recover any data from it by creating an Instance from that Snapshot.

Removing a Snapshot

Go to the Snapshot View, click on the Action button on the Snapshot you want to remove and click Remove.

Creating a Server from a Snapshot

Go to the Snapshot View, click on the Action button on the Snapshot you want to use and click Create Server. You will be redirected to the Server Creation Form.

You are able to create Servers only from Snapshots that have the Ready status.

How are Server Snapshots different from Deployment Snapshots?

When you perform a Deployment on Load Balanced or Cluster Servers, a Snapshot is created after the Deployment so that if a Horizontal Scale is performed, the new instances will be created starting from that Snapshot. This makes the process quicker.

Bunnyshell maintains only the last Snapshot created after a Deployment.

Snapshots created after Deployments are not visible in the Snapshot View page and cannot be used to create more Servers.