Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How we can migrate Bitbucket from on-prem infra to the cloud ?

We are working on building a plan for migrating Bitbucket from on-prem datacenter to the cloud ( AWS infrastructure or any other cloud provider…)

We need to find the best solution and the suitable architecture for the migration.
Could you recommend alternatives for that?
For the Database migration. How we can do that safely without losing data?
Any recommendation could help.


1 answer

1 accepted

0 votes
Answer accepted
Daniel Eads Atlassian Team Dec 14, 2020

Hi @Dhouha Melki , welcome to the Community!

For starters, we do have some resources that will be useful:

  • AWS Quickstart for Bitbucket Data Center - our official template for creating a Bitbucket Data Center environment with recommended sizing in AWS. There is a 27 page document describing this environment, as well as information on modifying the template as you need for your own organization's sizing.
  • Atlassian's officially provided Bitbucket Data Center Migration tool can help you export/import all the data from your on-premise environment to another Bitbucket Data Center environment. This uses application-level methods (the REST API) to copy data - you won't have to fiddle with the database directly. The two caveats with the migration tool:
    • Git LFS objects need to be copied manually (these would be on your shared filesystem)
    • Marketplace app data is not included with the tool - you will need to contact the publishers of any apps you have installed about migrating data

I'd start with those two items - you may find that's all you need to get going! I'm happy to answer more questions here as well. If you find that you need a significant amount of help, I'd also recommend searching our Partner directory for a partner who has experience with Bitbucket & Migrations. These specialists can be contracted to assist with or even fully handle a migration if you need.


Hey @Daniel Eads 

Thank you for your reply. It is really helpful.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,930 views 10 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you