AWS hosted JIRA / Confluence Server - upgrade from AWS Linux to AWS Linux 2

The RDS will remain identical, I just need to swap the EC2 machine to an EC2 machine running AWS Linux 2.

What is the best migration strategy? 

Mere copying the directory /opt/atlassian would obviously not work. Exporting and importing all would be an overkill??

1 answer

1 accepted

0 votes

Since it sounds like this is an upgrade to the operating system, I think the best course of action is to treat this as you would any other server migration.  Jira has a helpful guide in regards to Migrating JIRA applications to another server.   That guide is rather long, but it is comprehensive.    You could create a brand new database and then import an XML backup to this.  OR you could conversely just connect this new installation to your previous database.  

However either method you choose, you still need to make sure that you restore your attachments and avatars that are contained as flat files in the $JIRAHOME/data/ subdirectories.   If you're upgrading Jira at the same time, make sure you restore those files before you connect to your old database/restore the XML backup.   However if you install the same version as you had in the older install, you can restore these files at any time.


Jira and Confluence are not really as concerned about the specific operating system you are running.  However it is important that you are using an Oracle version of Java. These are both java programs, and both have a requirement to specifically use Oracle's JRE or JDK for the JVM of these applications.  This is documented in the support platforms. I have seen users try to use another Java JVM such as openjdk, however this JVM is not supported for either Jira or Confluence.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,095 views 13 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot