Bitbucket Test environment creation

We are in process to replicate Bitbucket prod which is running behind a reverse proxy to another test server with same configuration should be reflect here.


version 4.9.1, windows 2012, MSSQL DB.


4 answers

0 vote
Gonchik Tsymzhitov Community Champion Nov 14, 2017


1. it will be good if you set a developer license.

You can find more information here


2. Change base URL 

3. And other point if I remember it was blocking 5701 

iptables -A INPUT -p tcp --destination-port 5701 -i lo -j ACCEPT
iptables -A INPUT -p tcp --destination-port 5701 -j DROP

Because our test env wants to connect with production to be a cluster. 




Gonchik Tsymzhitov

Thanks for the quick reply, But the steps are not clear.

We want to replicate a test environment for Prod Bitbucket and woukd need the steps to follow

Gonchik Tsymzhitov Community Champion Nov 14, 2017

Okay, you prod based on VM? 

If it is, just create a clone, and follow my steps.

Hi Gonchik,


Can you please provide some step by step guide as we are very new here

Gonchik Tsymzhitov Community Champion Nov 14, 2017

Hi, Vivuu! 

Do you prod enviroment based on VM or on physical server? 



Gonchik Tsymzhitov

Physical server.

Can you please provide some step by step guide as we are very new here

We have migrated all our applications, Crowd, Jira, Bitbucket, Confluence to Test environment from Prod Servers.(By application data and DB data store to Test environment)
But , The application integration to Test Crowd and between Test applications how can make to Test Configuration for these applications, without affecting PROD

1)Test Crowd Should authenticate all test environemnt applications (Currently test crowd containing map with Prod application IP Addresses)

2)How The integration Between These applications in test environment can be replaced to Test application integration by removing PROD links

Since Production Data are copied and DB are restored, Now test applications will be having old trace with the production instances. How to revert it with test instances and what are the files need to be edited for enabling the integration

Now Our Prod setup-Bitbucket - 4.9.1 in Windows server and it should be migrated to linux machine in another domain with a different url .

currently in windows the atlassin application are running behind reverse proxy and for authentication we are using crowd internal directory ?

So please let us know what are the steps need to be implemented for data migration to new instance in the linux (windows to linux )


using MSSQl DB in both environment

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,319 views 1 5
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
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