Run Bitbucket in AWS
This page provides an overview of the options available for running self-managed Bitbucket Data Center and Bitbucket Server instances on Amazon Web Services.
Running Bitbucket on Amazon Web Services (AWS) gives you scalable computing capacity without the need to invest in hardware up front, while retaining control over where and how your code is hosted within your organization.
アトラシアンでは次のものを提供しています。
- AWS クイック スタート形式の参照デプロイメント。これは Bitbucket Data Center および必要なサービスを、AWS のセキュリティと可用性のベスト プラクティスを使用して、数分で起動、構成、および実行します。
- an Amazon Machine Image (AMI) that can be used for running Bitbucket on EC2 as an application server building block in more heavily customised deployments
- tools and guidelines for manually deploying, backing up, restoring, sizing, and administering Bitbucket Server and Bitbucket Data Center instances on AWS
Installing Bitbucket Server in AWS
To install Bitbucket Server in AWS, you'll need to launch the Atlassian Bitbucket Server AMI in AWS. You can do this directly from the AWS Console, or by running the EC2 launch wizard. See Launching Bitbucket Server in AWS manually for more information.
パフォーマンスのガイドライン
To get the best performance out of your Bitbucket deployment in AWS, it's important to not under-provision your instance's CPU, memory, or I/O resources. See Recommendations for running Bitbucket Server in AWS for more information.
Whether you choose to deploy Bitbucket Data Center, which offers performance gains via horizontal scaling, or a single node Bitbucket Server instance, we have specific recommendations on choosing AWS EC2 and EBS settings for best performance per node.
Backing up Bitbucket in AWS
Atlassian also provides utilities suitable for backing up and restoring your Bitbucket instance using native AWS snapshots. This provides a number of advantages:
- パフォーマンス: AWS スナップショットは非同期で実行されるため、インスタンスでのバックアップのダウンタイムが短くなります
- 耐久性: AWS スナップショットの基盤となるストレージは Amazon S3 であり、これは冗長性と高い耐久性を確保する方法で保存されています
- 可用性: AWS スナップショットは AWS リージョン全体で利用でき、アベイラビリティ ゾーン (AZ) 全体に影響するような障害が発生した場合でも復元できます
To learn more about how to back up and restore a Bitbucket instance in AWS, see Using Bitbucket DIY Backup in AWS.
AWS での Bitbucket の管理
See Administering Bitbucket Server in AWS for information about performing administration tasks on a Bitbucket instance within AWS, including:
- configuring variables when launching Bitbucket in AWS
- maintaining, resizing, upgrading, migrating, and customizing your Bitbucket deployment in AWS
- Bitbucket AMI 内のコンポーネントの追加の詳細事項
Securing Bitbucket within AWS
AWS is accessed over the public Internet, so it is important to apply appropriate security measures when running Bitbucket Server in AWS. See Best practices for securing Bitbucket in AWS for security guidance on a range of security topics, including Amazon Virtual Private Cloud (VPC), Security Groups, and SSL.