A snapshot is a copy of a virtual machine at a specific moment in time. Snapshots help to load environments and configurations so that you can skip
running steps that have not changed or that have successfully executed on
previous commits.
Environments (Layerfiles with EXPOSE WEBSITE, Layerfiles that expose a debug terminal, etc.) have three lifecycle levels:
Deleted, which means you can’t start them without rebuilding (rebuilding deletes
everything, like your temporary database, registered user, and state in the environment).
Stopped, which means you see a spinner as they start
The Running lifecycle to Stopped lifecycle happens for a few reasons:
After 3 minutes of inactivity if there are builds queued
After 60 minutes in general (this can be changed by our admin team if
requested)
A stopped state indicates that your snapshot is still available but has been stopped due to the reasons above.If you have deployed a VM with webapp.io hosting your VM will stop based on the same reasoning above. However your VM snapshot will not be deleted - giving your end-users a fast cold-start experience.