AWS CloudFormation stacks with Bamboo
Asked by Bryce Ashey:

If I were to spin up an [AWS CloudFormation](https://aws.amazon.com/cloudformation/) stack, how would I dynamically create that environment in Bamboo? Any articles out there I can read up on?

Kind Regards,

Bryce


Answers:
author: Steffen Opel _Utoolity_
body: Unfortunately Bamboo doesn't support automated feature branching workflows based on deployment plans or environmentsas of today, despite Atlassian (rightfully) promoting this very development process in general, for example in section [Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow) within the excellent 'Getting Git Right' guide, or in section [Continuous delivery workflows with the branch-per-issue model](https://www.atlassian.com/continuous-delivery/continuous-delivery-workflows-with-feature-branching-and-gitflow) within the likewise excellent 'The Pipeline' guide to continuous delivery.

While [deployments from branches](https://confluence.atlassian.com/bamboo/deployments-from-branches-407724097.html) as such are available, the automated creation of deployment plans or environments similar to the [automated branch management](https://confluence.atlassian.com/bamboo/using-plan-branches-289276872.html#Usingplanbranches-Automaticbranchmanagement) for build plans is not (and neither any chance for a solid workaround due to the lack of a REST API for deployment plan CRUD) - please watch/vote/comment on the following issue to further raise Atlassian's priority around this notable gap in their offerings:

* <https://jira.atlassian.com/browse/BAM-14013>

### Partial Workaround {#toc-hId-1482328326}

Just briefly, given the disparity between what's supported for deployment plans vs. build plans, some users are not using deployment plans at all and facilitate a deploy stage in their build plans instead, i.e. simply try to model their entire CI/CD pipeline as a single pipeline indeed (see e.g. Patrick Cullen's update at the end of his answer to [Triggering integration tests after deployment](https://answers.atlassian.com/questions/245008/answers/10413627)); of course, this comes with its own set of pros and cons as usual.

comments: author: Bryce Ashey
body: Check out what was just posted yesterday... :smile: [http://blogs.atlassian.com/2016/04/scale-continuous-integration-bamboo-server-5-11-250-build-agents/?utm_source=product-release-email\&utm_medium=email\&utm_campaign=bamboo_5-11](http://blogs.atlassian.com/2016/04/scale-continuous-integration-bamboo-server-5-11-250-build-agents/?utm_source=product-release-email&utm_medium=email&utm_campaign=bamboo_5-11)

And the associated REST API: <https://docs.atlassian.com/bamboo/REST/5.11.0/#d2e1302>


author: Bryce Ashey
body: Steffen - thank you for the great summary. You answered my next question with regard to allowing us to do via the API. It's unfortunate that the API does not expose that functionality. I'm finding a lot of tools lack this functionality. I watched/up voted the issue you linked - thank you again.

Kind Regards,

Bryce


author: Steffen Opel _Utoolity_
body: The main functional difference with Bamboo Cloud is that it doesn't support 3rd party add-ons, including Tasks for AWS (see our resp. FAQ [Will Tasks for AWS be available for Bamboo Cloud?](https://utoolity.atlassian.net/wiki/questions/36306948/will-tasks-for-aws-be-available-for-bamboo-cloud-atlassian-ondemand) for details) - I tend to ask that first because the required answer might turn out to be entirely different accordingly (though not for the scenario at hand due to the hurdle being a feature lacking in Bamboo itself).


author: Bryce Ashey
body: Running a local trial version of Bamboo Server - is there significant difference in functionality? I was able to stand up the formation pretty readily using utoolity (<https://marketplace.atlassian.com/plugins/net.utoolity.atlassian.bamboo.tasks-for-aws/server/overview>) but I couldn't figure out how to dynamically turn that into environments. To provide more detail we're looking to run an environment per feature (and release). (there are reasons mainline dev won't work for us at this time).

Kind Regards,

Bryce


author: Steffen Opel _Utoolity_
body: Hi @Bryce Ashey - are you using Bamboo Cloud or Bamboo Server?


Tags: aws

bamboo-administration

cloudformation