IIRC in AWS you have the option to create a "final" snapshot of the DB instance when deleting it. I'm pretty sure that's the default behaviour when using the web console, but may merely be an option in the API interface.