saving stuff before stopping ec2 instance