Deploy on AWS into a new VPC

To install Bitbucket Data Center on AWS and instantly scale, view the Quick Start deployment guide. 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 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.

The Quick Start includes AWS CloudFormation templates that automate the deployment, and a guide that provides step-by-step instructions and configuration best practices to help you get the most out of your Bitbucket Data Center application on the AWS Cloud.

  • 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 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.
    • Your choice to create a new VPC or deploy into your existing VPC on AWS. The template that deploys the Quick Start into an existing VPC skips the components marked by asterisks above.

    For details, see the Quick Start deployment guide.

  • Deployment details

    Build your Bitbucket Data Center cluster in a few simple steps:

    1. Sign up for an AWS account.
    2. Get a license key for Bitbucket Data Center.
    3. Launch the Quick Start into a new VPC, if you want to build a new AWS infrastructure. (View template)
      Launch the Quick Start into an existing VPC, if you already have your AWS environment set up. (View template)
      The deployment takes about 30 minutes.
    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.  

    For detailed instructions, see the Quick Start deployment guide.

  • 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.