# Rancher / EC2 Reset Lost Data

**URL:** <https://forums.suse.com/t/rancher-ec2-reset-lost-data/7528>\
**Category:** General\
**Created:** [October 9, 2017, 1:54pm UTC](https://forums.suse.com/t/rancher-ec2-reset-lost-data/7528 "2017-10-09T13:54:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttran](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@ttran](https://forums.suse.com/u/ttran)\
**Post date:** [October 9, 2017, 1:54pm UTC](https://forums.suse.com/t/rancher-ec2-reset-lost-data/7528/1 "2017-10-09T13:54:49Z")

</div>

When restarting my AWS Ec2 instance of Rancher, I lost all rancher data (even login information). Is there a documentation I can leverage to make sure that all of my rancher data doesn’t disappear when the rancher server restarts? Thanks!

---

<div class="post-metadata">

**Author:** ![flantel](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/flantel/32/5095_2.png) [@flantel](https://forums.suse.com/u/flantel)\
**Post date:** [October 9, 2017, 2:39pm UTC](https://forums.suse.com/t/rancher-ec2-reset-lost-data/7528/2 "2017-10-09T14:39:03Z")

</div>

Hi

You need to use an external database if you want it to persist. See [http://rancher.com/docs/rancher/v1.6/en/installing-rancher/installing-server/#single-container-external-database](http://rancher.com/docs/rancher/v1.6/en/installing-rancher/installing-server/#single-container-external-database)

Hope this helps.

-Barry Flanagan

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [October 9, 2017, 8:45pm UTC](https://forums.suse.com/t/rancher-ec2-reset-lost-data/7528/3 "2017-10-09T20:45:16Z")

</div>

The default embedded database is still persistent for the life of the container. Simply restarting the machine wouldn’t clear it, unless the underlying storage isn’t persistent.
