aws cli create lightsail snapshot
Here’s the AWS CLI for creating a LightSail snapshot.
aws lightsail create-instance-snapshot \
--instance-snapshot-name test-snapshot \
--instance-name your-server
Here’s how to delete a snapshot.
aws lightsail delete-instance-snapshot \
--instance-snapshot-name test-snapshot