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

1 vote
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,722 views 17 21
Read article

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