Running Bamboo Server in AWS

There are no special prerequisites or configuration options required to run your server in AWS. If you're an experienced AWS user, you can set up your instance using the regular installation instructions.

You may also choose to use our Bamboo Server EC2 Wizard, which will get your Bamboo server up and running in AWS in less than 10 minutes.

Prerequisites

  • Amazon Web Services account access (you will need AWS Access and Secret Key, with sufficient access rights to run an instance and perform some maintenance tasks)
  • Bamboo EC2 Wizard binary (download from here, optionally verify the SHA256 checksum)
  • Java JRE 8 (download from here)

結果

After the wizard finishes, it will provide you with a HTTPS link to a Bamboo Server instance set up on Linux Ubuntu 16.04 LTS and Postgres DBMS. All data will be located on a separate persistent EBS volume.

Running the wizard

To run the wizard, execute:

java -jar bamboo-server-ec2-wizard.jar

You can safely execute that command - the wizard provides extensive guidance and will not perform any actions without asking for your permission.

FAQ

Does Atlassian have access to my EC2 instance or manage it any way?

No, we do not. In terms of access, support, or management, the instance does not differ from regular instances in any way.

The instance can only be accessed using the SSH key provided by you during the installation (or generated by the wizard, if you chose that option).

Can I restart my EC2 instance without data loss?

Yes, you can restart your instance – the Bamboo server is set up to automatically start up after a restart of the EC2 instance.

Can I stop my EC2 instance?

Yes, in case you temporarily don't need your instance, it can be stopped.

Can I shut down my EC2 instance?

Yes. The data volume will not be destroyed during shutdown. You will be able to reattach it to a new instance later. You can also decide to destroy the data volume if you no longer need the data.

How can I add more resources (memory, CPU, I/O) to my EC2 instance?

Shut down your EC2 instance (note: stopping is not enough) and re-run the wizard. It will detect the data volume and offer you the option to reattach it. You will be able to select a new instance type. Use Amazon documentation to find an instance type more appropriate for your Bamboo server traffic.

How can I back up my Bamboo instance?

In the root directory of data volume (/media/atlassian-data) there's a script called backupInstance.sh . You will need to provide credentials with permissions to create EBS snapshots.

How can I upgrade Bamboo?

Note: before upgrading, Atlassian recommends backing up your data.

In the root directory of data volume (/media/atlassian-data) there's a script called upgradeBamboo.sh . Run it and give it a version number (or "latest") as a parameter, eg:

upgradeBamboo.sh 5.14.1

または

upgradeBamboo.sh latest

The script will stop your server, download the new Bamboo version, and start the server again. No additional steps are required.

I need shell access and I've lost my SSH key, how can I access the EC2 instance?

You can't. Shut down the instance and re-run the wizard, it will give you the option to start a new server using existing data. Remember to choose a new key.

I want to get rid of the privacy warning, what can I do?

You need to install a valid certificate instead of the default self-signed one. The files you need to replace are under /etc/apache2/ssl/ .

What customisations are present on the EC2 instance after I run the wizard?

Overview of changes done by the wizard:
  • a couple of packages (DBMS, java, git etc.) are installed using the standard packaging system
  • the DBMS data directory is redirected to the EBS mount
  • Bamboo start/stop script is added to startup scripts
  • Apache reverse proxy setup
  • HTTPS certificate is generated

In general, the changes are not fragile, so you should be able to add your customisations without problems.

Where do I request support/give feedback/report bugs?

Use the regular communication channels - http://support.atlassian.com for support, http://answers.atlassian.com.com  for community support, http://jira.atlassian.com (project Bamboo) for feedback/bugs.

最終更新日 2017 年 8 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.