Getting started with Bitbucket Data Center in Azure

Bitbucket Data Center is an excellent fit for the Microsoft Azure environment. Azure provides a number of managed services that work out of the box with Bitbucket Data Center instances, and handle all their configuration and maintenance automatically. You can also choose the number and size of your nodes to suit your organization's needs, and if you need to scale up or down, Azure allows you to do this.

We've set up a reference template that lets you deploy Bitbucket Data Center in Microsoft Azure, and you can then configure it depending on your organization's Azure best practices. We strongly recommend you set up user management, central logging storage, a backup strategy, and monitoring, just as you would for a Bitbucket Data Center installation running on your own hardware.


Here's an architectural overview of what you'll get when deploying Bitbucket Data Center using the template:


  • One or more Azure standard Linux VM instances as cluster nodes, running Bitbucket, in a VM Scale Set.
  • An NFS server deployed on a Linux VM, hosting the Bitbucket home directory.
  • One or more Azure standard Linux VM instances as cluster nodes, running Elasticsearch.
  • Azure SQL server or PostgreSQL database.
  • A jumpbox.
  • A load balancer and an application gateway.

The application gateway receives all the HTTP traffic, while the load balancer receives all of the SSH traffic and load balances them to the Bitbucket nodes.


You can't use the deployment template to upgrade an existing Bitbucket deployment, or to provision new nodes running a different version to the rest of your cluster. 

Deploying Bitbucket Data Center to Azure via Azure marketplace

This method uses the Azure Marketplace to deploy Bitbucket Data Center using our deployment templates as a reference. 

You will need Owner permissions on the resource group into which the deployment is planned. This means adding the RBAC role “Owner” to your Azure subscription.

For related information, see What is role-based access control (RBAC) for Azure resources? (from the Azure documentation).

To deploy Bitbucket Data Center to Azure using our Marketplace app:

  1. Azure ポータルにログインします。
  2. Choose Create a resource to start a new deployment from the New menu.
  3. In New, search for Atlassian then select Bitbucket Data Center from the list of Marketplace apps.
  4. [作成] を選択してデプロイの構成を開始します。
  5. ウィザードの指示に従ってデプロイを構成します。詳細は、以下のパラメーター テーブルを参照してください。 
  6. Confirm all the details are correct then click Create to purchase the subscription. Deployment will take about 30 minutes.  
  7. Once deployment is complete, go to the Bitbucket URL listed in the deployment outputs to start using Bitbucket Data Center.  




サブスクリプション Microsoft Azure サブスクリプション タイプ。
リソース グループ 既存のリソース グループがある場合は、それを使用するか、新しく作成できます。
場所 Azure がデプロイメントを格納する領域です。
Bitbucket Version Specify the version of Bitbucket you'd like to install in full (for example, 6.2.0). Head to Bitbucket Server release notes for a list of all releases.
Database configuration

Choose between an Azure SQL Database, or Azure Database for PostgreSQL. Provide a username and password for the database admin user.

同じ場所およびリソース グループに既存のデータベースがある場合、既存のデータベースを選択して使用できます。詳細をここに入力します。

Bitbucket admin credentials

Provide a name, email, and password for the initial Bitbucket administrator in your instance.

SSH アクセス

Provide an SSH public key to be used to SSH into the instance that will act as bastion host, and a username and password for SSH access to the Bitbucket nodes.

Microsoft Azure ドキュメントの「Create and use an SSH public-private key pair for Linux VMs in Azure (Azure 内に Linux VM 用の SSH 公開/秘密キーのペアを作成して使用する)」を参照してください。

Bitbucket cluster Specify the initial number of Bitbucket application nodes, and the size of each node. This can be reconfigured at a later date.
File server Specify the size of the NFS file server and its disk size.
Elasticsearch details Specify the initial number of Elasticsearch nodes, along with the instance size and disk size of each one.

組織の CNAME (Canonical Name record)。提供されない場合、Azure はインスタンス用にランダムなサブドメインを生成します。

HTTP/SSL Azure Application Gateway 上の SSL 終端に使用する証明書とパスワードを指定します。
監視 Choose the monitoring and analytics services that you would like to enable. Subject to availability in your location. See Monitoring for related information.

Deploying Bitbucket Data Center to Azure using the CLI

This method uses the Azure command line interface to deploy Bitbucket Data Center using our deployment templates as a reference. You'll need to install the Azure CLI to do this.

デプロイメント テンプレートを直接使用すると、さらに細かい構成を行うことができます。クラスタ ノードの数、サイズ、ディスク サイズ、OS タイプなど、すべてのハードウェアの選択をパラメータとして設定可能です。 

Head to and check out the README to find out how to to deploy using the CLI. 


プロビジョニングするリソースの多くは Azure によって管理されるため、監視に多くのオプションを利用できます。例:

  • The application gateway will automatically monitor its backend pool (the Bitbucket application nodes), sending the alerts to the Bitbucket admin email address specified in the deployment. See Application Gateway health monitoring overview in the Microsoft Azure documentation. 


最終更新日 2019 年 6 月 12 日




Powered by Confluence and Scroll Viewport.