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 Can i integrate bitbucket server with AWS for deployment/ continuous integration/continuous deli

We have self hosted bitbucket server, in that we have to integrate only particular repo with AWS for deployment.

3 answers

The previous answers are a bit outdated, see here for currently supported scenarios:

Hi @Baskar, I've been working on this type of the implementation for the last few years.

In between, you will need a CI system in place, i recommend Bamboo since it's part of the ecosystem. Bamboo will check out the code from either Bitbucket Server or Cloud, build the package locally, then deploy to S3 bucket( Assume you will be using it). I use S3 as a repository to host the build artifact.

Once the artifact has been succuessfully pushed to S3, Bamboo can call the AWS instance via AWS RunCommand feature to trigger deployment which includes copy artifacts to the server and complete the deployment. If you are using Linux on AWS, you can even mount S3 bucket onto the system as a volume.

Alternatively, bamboo has AWS plugins, it works with various AWS services.

Hopefully it helps!


Hi @Baskar, I'm assuming that the bitbucket server is where you store your Git source repository and AWS is the target environment where the application needs to be deployed to.

In between these two environments, you will need a build/deploy solution. This can be either a self-hosted application like Jenkins (open-source) or Atlassian Bamboo or a hosted solution like Travis, CircleCI or CodeShip.

The build/deploy service is responsible for taking your code from BitBucket server, transforming it to the deliverable and deploying it to AWS.

Hope this helps!


Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

229 views 2 5
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