reference deployment

Bitbucket Data Center on AWS

Code collaboration with high availability and scalability on the AWS Cloud

This Quick Start sets up a flexible, scalable AWS Cloud environment, and launches Bitbucket Data Center automatically into a configuration of your choice.

Bitbucket gives professional teams of any size, across any distance, full control of their source code. Use this Quick Start to deploy Bitbucket Data Center on AWS in less than 30 minutes for instant scalability and flexibility.

You might also want to check out the AWS Quick Start for JIRA products and the AWS Quick Start for Confluence Data Center, and view our complete Quick Start catalog.


This Quick Start was developed by Atlassian in collaboration with AWS. Atlassian is an
APN Partner.

  •  What you'll build
  •  How to deploy
  •  Cost and licenses
  •  What you'll build
  • Use this Quick Start to set up the following Bitbucket Data Center environment on AWS:

    • A virtual private cloud (VPC) configured with public and private subnets. This provides the network infrastructure for your Bitbucket Data Center deployment.*
    • An internet gateway to to provide access to the internet.*
    • In the public subnets, managed network address translation (NAT) gateways to allow outbound internet access for resources in the private subnets.*
    • In the public subnets, Linux bastion hosts in an Auto Scaling group to allow inbound Secure Shell (SSH) access to EC2 instances in public and private subnets.*
    • In the private subnets, Amazon Relational Database Service (Amazon RDS) PostgreSQL as the external database for Bitbucket Data Center.
    • In a private subnet, an NFS server instance. This provides a shared file system with an attached Amazon Elastic Block Store (Amazon EBS) volume for storing repositories.
    • In the private subnets, an Auto Scaling group with Bitbucket Data Center instances based on Amazon Linux.
    • Amazon Elasticsearch Service (Amazon ES) for Elasticsearch 2.3 indexing and searching functionality.

    * The template that deploys the Quick Start into an existing VPC skips the tasks marked by asterisks and prompts you for your existing VPC configuration.

  •  How to deploy
  • Build your Bitbucket Data Center cluster in a few simple steps:

    1. If you don't already have an AWS account, sign up at
    2. Get a license key for Bitbucket Data Center.
    3. Launch the Quick Start. Each deployment takes less than an hour. You can choose from two options:
    4. Configure Bitbucket Data Center for multiple nodes.
    5. Add nodes to the cluster.

    To customize your deployment, you can choose different instance types for your resources, configure your cluster nodes, and adjust file server and database settings.

  •  Cost and licenses
  • You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using the Quick Start.

    The AWS CloudFormation template for this Quick Start includes configuration parameters that you can customize. Some of these settings, such as instance type, storage size, and IOPS, will affect the cost of deployment. See the pricing pages for each AWS service for cost estimates.

    The Quick Start requires an Atlassian account and a license to use Bitbucket Data Center.