- Terminate your instance via the console and observe the default behavior, as shown in following screenshot:

This is a dependency that must be managed manually in order to avoid unnecessary costs. If you wish to preserve existing data for later use, a snapshot must be created, which will automatically be stored on S3. Next, delete the disk as follows:
aws ec2 create-snapshot --volume-id vol-080c266f654bca621 --description "Data volume first snapshot"

- Verify the status of the snapshot, as follows:
aws ec2 describe-snapshots --owner-ids self
- Now, delete the root and EBS volume (remember to replace the following code with your own volume-id):
aws ec2 delete-volume --volume-id vol-080c266f654bca621
aws ec2 delete-volume --volume-id vol-0cae081b840a5d91e
If successful, this command will not return any output.