If your application architecture and deployment scenario allow to use rolling or immutable updates, AWS nowadays recommends these more flexible approaches over a CNAME swap – refer to table Deployment Methods within Deploying Applications to AWS Elastic Beanstalk Environments for a comparison of available deployment methods.
A typical workflow based on CloudFormation might look as follows:
upload the application source code (the 'Source Bundle') – see the Upload File(s) action of the Amazon S3 Object task
create/update the CloudFormation stack that provisions the Elastic Beanstalk application, application version and environment – see the Create Stack action of the AWS CloudFormation Stack task You can use the Update stack, if it already exists option to reuse the same Bamboo job for both actions
Frequently Asked Questions (FAQ)
Atlassian®, Atlassian Bamboo®, Bitbucket®, Atlassian Crowd®, Confluence®, Jira®,Jira Service Management™, Opsgenie®, and Statuspage™ are registered trademarks of Atlassian. Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.