Warning
We cannot recover your data once you’ve terminated your instance! Before terminating an instance, make sure to back up all data that you want to keep.If you want to save data even after you terminate your instance, create a persistent filesystem.
Note
The persistent filesystem must be attached to your instance before you start your instance. The persistent filesystem cannot be attached to your instance after you start your instance.When you create a persistent filesystem, a directory with the name of your
persistent filesystem is created in your home directory. For example, if the
name of your persistent filesystem is PERSISTENT-FILESYSTEM, the directory
is created at /home/ubuntu/PERSISTENT-FILESYSTEM
. Data not stored in this
directory is erased once you terminate your instance and cannot be
recovered.