The example_demo.go gives an example of how to use go sdk to interact with firecrack. It creates an AWS S3 instance and sends a sleep 422
as a marker, and then load the instance from snapshotting to show this process sleep 422
is still existing. The example follows firecracker snapshot API support to
- Create snapshot
- Start new machine with socket and firecracker binary
- Pause the VM
- Create snapshot
- Resume VM, stop and shutdown
- Load snapshot