Running Bamboo Server in AWS
Installing and upgrading
このページの内容
関連コンテンツ
- 関連コンテンツがありません
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
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).
Yes, in case you temporarily don't need your instance, it can be stopped.
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.
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.
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.
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.
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.
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/ .
- 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.
関連コンテンツ
- 関連コンテンツがありません