Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Extracted AWS Security Credentials section to dedicated page.

...

width64%

 

...

Tasks for your DevOps workflows - provision and operate Amazon Web Services resources from Bamboo build and deployment projects for development, testing and disaster recovery scenarios

...

:

Image Added

 

...

 

...

 

...

Panel
bgColor#eeeeee

On this page:

Table of Contents

...

Available Tasks

...

Panel

AWS CloudFormation Stack

...

AWS CloudFormation StackImage Added

Create, update or delete

...

CloudFormation

...

stacks defined by a template provided via URL or inline and specify template parameters and advanced options.

Image Removed

Amazon EC2 Instance

This Task enables you to start, stop or reboot provisioned Elastic Compute Cloud instances on demand, e.g. only when needed by the build itself (development) or at specific times of the day (operations).

Image Removed

Amazon EC2 Image

See Using the AWS CloudFormation Stack task in Bamboo for details.

Panel

AWS Elastic Beanstalk Application

Image Added

Create, update or delete Elastic Beanstalk applications on demand.

See Using the AWS Elastic Beanstalk Application task in Bamboo for details.

Panel

AWS Elastic Beanstalk Application Version

Image Added

Create, update or delete Elastic Beanstalk application versions on demand.

Panel

AWS Elastic Beanstalk Environment

Image Added

Create, update, rebuild, restart, swap or terminate Elastic Beanstalk environments on demand.

Panel

Amazon EBS Snapshot

Amazon EBS SnapshotImage Added

Create, delete or backup snapshots of Elastic Block Store volumes; in particular, the Task provides backup management with retention handling and backup set correlation.

Image Removed

...

task in Bamboo for details.

Panel

Amazon EC2 Image

Amazon EC2 ImageImage Added

Create, delete or backup

...

images of

...

EBS backed Elastic Compute Cloud instances; in particular, the Task provides backup management with retention handling and backup set correlation

...

.

See Using the Amazon EC2 Image task in Bamboo for details.

Panel

Amazon EC2 Instance

Amazon EC2 InstanceImage Added

Start, stop or reboot provisioned Elastic Compute Cloud instances on demand, e.g. only when needed by the build itself (development) or at specific times of the day (operations).

See Using the Amazon EC2 Instance task in Bamboo for details.

Panel

Amazon S3 Object

...

Amazon S3 ObjectImage Added

Upload, download, delete or copy Structured Storage Service objects (files); in particular you can upload your Bamboo job's build artifacts or select local files and directories (optionally via Ant Patterns) - when addressing S3 objects (files), it matches those by key prefix, which allows to operate on multiple objects at once (virtual directories resp. folder hierarchies).

...

See Using the Amazon S3 Object task in Bamboo for details.

 

Bamboo Variable Substitution/Definition

See Bamboo Variable Substitution/Definition for details.

AWS Security Credentials

The AWS credentials need to be specified for each task currently, which can be cumbersome quickly. Pending a more generic solution, it is already possible to ease this a bit via variable substitution as follows:

  • configure Access Key and Secret Key as e.g. ${bamboo.awsAccessKeyPassword} and ${bamboo.awsSecretKeyPassword}
  • define plan and/or global variables for the configured variable names (i.e. awsAccessKeyPassword and awsSecretKeyPassword given this example) with the actual credentials, which will then be substituted on task execution accordingly

See  AWS Security Credentials for details.

AWS Client Configuration

See AWS Client Configuration for details.

...

Limitations

You should be aware of the following limitations regarding AWS API coverage and integration:

AWS CloudFormation

  • We have focused on API coverage so far and usability is not up to speed yet accordingly, there is obviously room for improvements, e.g.:
    • Some configuration screen polish should get us a long way already.
    • Fetching existing AWS resources for selection during configuration would avoid manual copying of information.
    • Offering several samples/defaults to ease getting started.
    • ...
  • Stack rollback is currently handled as follows, hopefully covering the majority of use cases (please let us know otherwise):
    • A stack rolled back successfully by CloudFormation is treated as a failed build by Bamboo.
    • A stack not rolled back due to rollback being disabled explicitly is still treated as a failed build by Bamboo.

Amazon Elastic Compute Cloud (EC2)

  • We currently consider instance lifecycle goals (i.e. create/terminate) to be sufficiently addressed by the CloudFormation Task, hopefully covering the majority of use cases (please let us know otherwise).

 

...