# Upgrading mattermost versions

**URL:** <https://forum.mattermost.com/t/upgrading-mattermost-versions/8693>\
**Category:** Troubleshooting\
**Created:** [December 23, 2019, 12:27pm UTC](https://forum.mattermost.com/t/upgrading-mattermost-versions/8693 "2019-12-23T12:27:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthik018](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/karthik018/32/3444_2.png) [@karthik018](https://forum.mattermost.com/u/karthik018)\
**Post date:** [December 23, 2019, 12:27pm UTC](https://forum.mattermost.com/t/upgrading-mattermost-versions/8693/1 "2019-12-23T12:27:39Z")

</div>

What is the procedure that we need to follow if I want to upgrade mattermost version hosted in Elastic Beanstalk?  
I have read the upgrade documentation, after reading the document I had a doubt, what happens to the data stored in the database while upgrading? Generally in two cases:

1. upgrading from team-edition to enterprise edition.
2. upgrading from old version to new version in same edition.

Also I need help installing mattermost in Elastic Beanstalk for production.
