PETER LESCHEV • TEAM LEAD • ATLASSIAN • @PETERLESCHEV
Build Engineering @ Atlassian:
Scaling to 150k builds per month & beyond
Summit 2015
TEAM
INTRODUCTION
INFRASTRUCTURE
BAMBOO SERVERS
Introduction
CONCLUSION
Build platform & services
used internally within
Atlassian to
build, test & deliver
software
Developers expect a
reliable infrastructure
& fast CI feedback
• 12 Bamboo Servers
• maven.atlassian.com / 9 Nexus instances / 9 TB
• 7 Nexus proxies for internal traffic
• Monitoring
• opsview, graphite, statsd, newrelic, datadog
Build Engineering today @ Atlassian
• 1200 build agents on EC2
• include SCM clients, JDKs, JVM build tools, databases, headless
browser testing, Python builds, NodeJS, installers & more
• Maintain 20 AMIs of various build configurations
4 years ago:
Builds per month
21k
Last month:
Builds per month
225k
Build Engineering @ Atlassian
Scaling to 150,000 Builds a Month... and Beyond
JIRA alone has
Automated tests
49k
Scaling to 150,000 Builds a Month... and Beyond
3 stories of gaining
maturity to handle
Atlassian growth
INTRODUCTION
TEAM
INFRASTRUCTURE
BAMBOO SERVERS
Team
CONCLUSION
History of
team roles
Individual
Engineers
Information Silos
Fault investigation, requests for
advice, unplanned work
Little project work
Very interrupt driven
Duplication of effort
Limited to customer driven changes
Disturbed role
Knowledge Transfer
When switching between project /
disturbed roles is difficult
More project work
Non-disturbed can focus on larger tasks
Context switching
Reduction in duplication of effort,
promotes collaboration within the team
2 week rotation
Team expands
Infra Engineers
Developers
Build Engineers
Disturbed for
Dev & Infra
Too interrupt driven
To encourage knowledge transfer
between infra & dev
Staggered changeovers
Minimising disruption due to context
switching
Disturbed pairing
Couldn’t handle smaller customer
raised requests & interrupt driven
work
Supporting
Developers
team channel
Supporting
Developers
Questions for Confluence
Supporting
Developers
Questions for Confluence
1. Measure the pain
2. Continuous Improvement
Technical Debt
Technical Debt
Contact Rate
+ Confluence Questions
+ Hipchat queries
Customer JIRA issues
Number of Developers
( )
÷
=
Contact Rate
The Shield
http://www.clker.com/cliparts/e/d/c/4/11970889822084687040sinoptik_Medieval_shield.svg.hi.png
Rebranding Maintenance
Disturbed
Removing the negative attitude
towards the old role within the team
Project
work
Maintenance
The Shield
How do we avoid this in the future?
PETER LESCHEV
“ ”
Fix it now,
fix it for the future
Self service
Chat bots
Self Service
Self Service
Maven Self Help Tool
INTRODUCTION
INFRASTRUCTURE
TEAM
BAMBOO SERVERS
Infrastructure
CONCLUSION
Infrastructure as Code
= Puppet + SCM ?
4 years ago…
Started using Puppet
Manually maintained
snow flakes
Production rollout
puppetmaster
build agents
Production rollout failure
puppetmaster
build agents
Low confidence
of change
• Coding on Puppet Master
• Culture of manually modifying production - Configuration Drift
• Impact on Builds
Using Staging for Development
puppetmaster
build agents
staging puppet environment
Vagrant
www.vagrantup.com
Mitchell Hashimoto
@mitchellh
Packer
packer.io
Rolling out to staging
Rolling out to production
Broken build agents
Developing locally
Behaviour Driven Development
Cucumber
https://github.com/cucumber/aruba
But it works on my machine
EVERY DEVELOPER
“ ”
Continuous Integration
‘From scratch’ provisioning
Confidence that you can rebuild in disaster
The Pets: you give nice names, you stroke
them, and when they get ill, you nurse them
back to health, taking a long time over it.
“
”
The Cattle: you give them numbers. When
they get ill, you shoot them TIM BELL, CERN
Broken builds
master
Branch builds
BUILDENG-5670
BUILDENG-5669
master
Infrequent Releases
Manual
Puppet
Rollouts
git clone
librarian-puppet install
symlink update on puppet master
Bamboo Deployments
Available agents
Available agents Destination server
TASK 1
TASK 2
Task list
1.3
Build results
(Artifacts)
Release Environments
Repository Build artifacts Release
1.3
Build results
(Artifacts)
Release
1.0
1.3
1.3
Build results
(Artifacts)
Release Environments
Production
Development
1.0
1.3
1.3
1.3
Build results
(Artifacts)
Release Environments
Production
Development
1.0
1.31.3
Production
Development
1.31.3
Development
Repository Build artifacts Release
How artifacts work
1.3
1.0
1.31.3
Production
Development
1.31.3
Development
Release notes
Repository Build artifacts Release
staging
production
1.3
Build results
(Artifacts)
Release Environments
Repository Build artifacts Release
1.3
d results
rtifacts)
Release Environments
sitory Build artifacts Release
1.3
Build results
(Artifacts)
Release Environments
Repository Build artifacts Release
build
• git clone
• librarian-puppet
• to specific environments
• scp to puppet master &
symlink update
test deploy
• ‘delta’ & ‘from scratch’
vagrant provisions
1.3
Build artifacts Release
build & test AMIs
• Generated using Packer
• AMIs on Bamboo Servers updated
deploy AMIs
Puppet Build, Test & Deploy Pipeline
Puppet Build, Test & Deploy Pipeline
‘open prs’ Bot
Less human effort
through automation
=
Increased frequency
& reliability of releases
Snowflakes
Pets
Cattle
Stateless Machines
Infrastructure
consistency is key
INTRODUCTION
BAMBOO SERVERS
TEAM
INFRASTRUCTURE
Bamboo Servers
CONCLUSION
At scale is hard
Bamboo Servers
12
Build Plans
3500
Plan Branches
14k
Bamboo is great,
but hard to manage at scale
Build Configuration
as code
Plan
Templates
Bamboo Plugin:
Plan
Templates
Checked into SCM
Bamboo Plugin:
Reusable snippets
changes can be code reviewed
Export plans for backup, or move to
another Bamboo instance easily
Bulk changes
Export existing plans
Update 100s of job requirements with
a single commit
Pushing Bamboo
to its limits
Agent Smith
Wallboard
Bamboo Plugin:
Trend data sent to Graphite
https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugin.agent-smith-wallboard
Add metrics,
then alert on them
Bamboo
Monitoring
Plugin
Metrics to graphite
Bamboo Plugin:
Bamboo Health
ActiveMQ, Database connections,
Tomcat, JVM Memory usage.
Background thread workers. Number
of plans / plan branches, plans / plan
branches for deletion.
https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugin.bamboo-monitoring-plugin
Scaling to 150,000 Builds a Month... and Beyond
When a Bamboo
Server starts
misbehaving…
Infrastructure differences?
Is it Bamboo Configuration?
Is it a Bamboo Plugin?
Is it Bamboo the product?
How is it being used?
Infrastructure consistency
of Bamboo Servers is key
Bamboo
Puppet
provider
+
REST API for Administration
Bamboo Puppet Provider
REST calls
https://forge.puppetlabs.com/atlassian/bamboo_rest
Bamboo
Puppet
provider
https://forge.puppetlabs.com/atlassian/bamboo_rest
Hipchat Notification
Managed via Puppet
Bamboo Plugins
‘Continuous Plugin Deployment’ Task
This text box is not intended to
contain a bunch of copy.
1-click upgrades of
Available agents
Available agents Destination server
TASK 1
TASK 2
Task list Available agentsTask list
Task list
Production
Available agents Destination server
TASK 1
TASK 2
Task list
How artifacts work
1.3
1.0
1.31.3
Produc
Developm
1.31.3
Development
Release notes
Repository Build artifacts Release
How artifacts work
1.3
Build results
(Artifacts)
Release Environments
1.0
1.31.3
Production
Development
1.31.3
Development
Release notes
Repository Build artifacts Release
How artifacts work
1.3
1.0
1.31.3
Production
Development
1.31.3
Development
Artifacts
Ve
Test &
Build
JIRA
issue
Commit TriggerCode
Release notes
Repository Build artifacts Release
All Bamboo Servers
How artifacts work
1.3
Build results
(Artifacts)
Release Environments
1.0
1.31.3
Production
Development
1.31.3
Development
Repository Build artifacts Release
build
Deploy
How artifacts work
1.3
1.0
1.31.3
Production
Developmen
1.31.3
Development
Repository Build artifacts Release
build & test AMIs
Build
https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugins.deploy.continuous-plugin-deployment
Bamboo Servers
1-click upgrades of
Using scp / ssh & puppet
Available agents
Available agents Destination server
TASK 1
TASK 2
TASK 1
TASK 2
Task list Available agents
TASK 1
TASK 2
Task list
Task list
Production
Available agents Destination server
TASK 1
TASK 2
Task list
How artifacts work
1.3
Build results
(Artifacts)
Release Environments
De
1.0
1.31.3
Production
Development
1.31.3
Development
Repository Build artifacts Release
How artifacts work
1.3
1.3
1.3
Build results
(Artifacts)
Release Environments
Development
1.0
1.31.3
Production
Development
1.31.3
Development
Release notes
Repository Build artifacts Release
How artifacts work
1.3
1.0
1.31.3
Production
Development
1.31.3
Development
Artifacts
Versio
Test &JIRA
Release notes
Repository Build artifacts Release
How artifacts work
1
1.3
1.3
Build results
(Artifacts)
Release Environments
Development
1.0
1.31.3
Production
Development
1.31.3
Development
Repository Build artifacts Release
Upgrade Bamboo
1.3
1.0
1.31.3
Production
Development
1.31.3
Development
Repository Build artifacts Release
Build Bamboo
1.3
Build results
(Artifacts)
Release Environm
D
Repository Build artifacts
1.0
1.3
1.3
1.3
Build results
(Artifacts)
Release Environments
Production
Development
Repository Build artifacts Release
jira-bamboo
servicedesk-bamboo
Infrastructure differences?
Is it Bamboo Configuration?
Is it a Bamboo Plugin?
Is it Bamboo the product?
How is it being used?
TEAM
INFRASTRUCTURE
BAMBOO SERVERS
Conclusion
CONCLUSION
INTRODUCTION
Constant improvement
We’ve matured to handle
the growth of Atlassian
Thank you!
PETER LESCHEV • TEAM LEAD • ATLASSIAN • @PETERLESCHEV

More Related Content

PDF
Slam Dunk with Splunk and Stash Data Center
PDF
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
PDF
DevOps with Atlassian
PDF
Beyond Agile and DevOps: From Concepts to Products in Weeks, Not Months
PDF
A Product Manager's Place in a DevOps World
PDF
Black Belt Tips for JIRA Software
PDF
Inside Atlassian: Focusing on Customer Outcomes in Spite of Complexity
PDF
Web Performance at First Glance
Slam Dunk with Splunk and Stash Data Center
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
DevOps with Atlassian
Beyond Agile and DevOps: From Concepts to Products in Weeks, Not Months
A Product Manager's Place in a DevOps World
Black Belt Tips for JIRA Software
Inside Atlassian: Focusing on Customer Outcomes in Spite of Complexity
Web Performance at First Glance

What's hot (20)

PDF
DevOpsDays Austin: Helping Horses Become Unicorns, Chef's Operations Maturity...
PDF
Resolve Incidents Faster: Transforming Your Incident Management Process
PDF
How Standardizing on Atlassian Products is Helping Publicis.Sapient Scale and...
PDF
Black Belt Tips for JIRA Software
PDF
DevOps Picc12 Management Talk
PDF
Agile Fundamentals
PDF
Harnessing Your Product Manager Superpowers with Trello, Confluence, and Jira
PDF
The Big Migration: How Cerner Moved From Confluence 3.5 to 5.8
PDF
Advance ALM and DevOps Practices with Continuous Improvement
PPTX
ACE Dec Ahmedabad 2021
PDF
Continuous Delivery in a Legacy Shop—One Step at a Time
PDF
AtlasCamp 2015: Damn you Facebook - Raising the bar in SaaS
PDF
Finding Efficiencies in Your Development Lifecycle
PPTX
Top Lessons Learned From The DevOps Handbook
PDF
Atlassian, the latest and greatest / October 13
PDF
Upgrades and Admin at Scale: How to Become a Jira Admin Champion
PDF
Product Keynote: Jira Software and Bitbucket Cloud
PDF
BE A POD OF DOLPHINS, NOT A DANCING ELEPHANT
PDF
Like Herding Cats: How to Get Engineers to Update Their Status
PDF
Continuous Delivery at Wix, Yaniv Even Haim
DevOpsDays Austin: Helping Horses Become Unicorns, Chef's Operations Maturity...
Resolve Incidents Faster: Transforming Your Incident Management Process
How Standardizing on Atlassian Products is Helping Publicis.Sapient Scale and...
Black Belt Tips for JIRA Software
DevOps Picc12 Management Talk
Agile Fundamentals
Harnessing Your Product Manager Superpowers with Trello, Confluence, and Jira
The Big Migration: How Cerner Moved From Confluence 3.5 to 5.8
Advance ALM and DevOps Practices with Continuous Improvement
ACE Dec Ahmedabad 2021
Continuous Delivery in a Legacy Shop—One Step at a Time
AtlasCamp 2015: Damn you Facebook - Raising the bar in SaaS
Finding Efficiencies in Your Development Lifecycle
Top Lessons Learned From The DevOps Handbook
Atlassian, the latest and greatest / October 13
Upgrades and Admin at Scale: How to Become a Jira Admin Champion
Product Keynote: Jira Software and Bitbucket Cloud
BE A POD OF DOLPHINS, NOT A DANCING ELEPHANT
Like Herding Cats: How to Get Engineers to Update Their Status
Continuous Delivery at Wix, Yaniv Even Haim
Ad

Viewers also liked (20)

PDF
Atlassian Overview
PDF
Continuous Validation - Lean Startup Machine Sydney 2013
PDF
Enterprise Day 2015 - beyond software teams (Atlassian)
PDF
Atlassian Q&A - Inside and Out
PDF
JIRA Keynote Summit 2014
PDF
Getting and keeping your teams healthy... the Atlassian way
PDF
Tools for better storytelling
PDF
Inside the Atlassian OnDemand Private Cloud
PDF
AtlasCamp 2015: Confluence making your life EASier
PDF
Tailoring Confluence for Team Productivity
PDF
Turbo-Charge Your JIRA Service Desk with ITSM & Automation Awesomeness
PDF
Understanding git: Voxxed Vienna 2016
PDF
How Atlassian Uses Analytics to Build Better Products
PDF
The Inside Story of how Atlassian Makes Software
PDF
From the Atlassian Labs: FedEx Champions - Atlassian Summit 2010 - Lightning ...
PDF
6 to 106 in 4 years - The story of the Atlassian Design team
PDF
Agile for the Masses: How to Make Any Team More Effective - John Wetenhall
PDF
Data Science at Atlassian: 
The transition towards a data-driven organisation
PDF
Nailing Distributed Development With Effective Collaboration - Matt Ryall
PDF
Application Lifecycle Management at Scale
Atlassian Overview
Continuous Validation - Lean Startup Machine Sydney 2013
Enterprise Day 2015 - beyond software teams (Atlassian)
Atlassian Q&A - Inside and Out
JIRA Keynote Summit 2014
Getting and keeping your teams healthy... the Atlassian way
Tools for better storytelling
Inside the Atlassian OnDemand Private Cloud
AtlasCamp 2015: Confluence making your life EASier
Tailoring Confluence for Team Productivity
Turbo-Charge Your JIRA Service Desk with ITSM & Automation Awesomeness
Understanding git: Voxxed Vienna 2016
How Atlassian Uses Analytics to Build Better Products
The Inside Story of how Atlassian Makes Software
From the Atlassian Labs: FedEx Champions - Atlassian Summit 2010 - Lightning ...
6 to 106 in 4 years - The story of the Atlassian Design team
Agile for the Masses: How to Make Any Team More Effective - John Wetenhall
Data Science at Atlassian: 
The transition towards a data-driven organisation
Nailing Distributed Development With Effective Collaboration - Matt Ryall
Application Lifecycle Management at Scale
Ad

Similar to Scaling to 150,000 Builds a Month... and Beyond (20)

PDF
Practical Cloud & Workflow Orchestration
PDF
Docker, Continuous Integration, and You
PDF
Spring Boot & Spring Cloud on PAS- Nate Schutta (2/2)
PDF
AtlasCamp 2015: Game of Codes: The CI battle
PPTX
Aug NYC July 12 event
PDF
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
PDF
Atlassian Roadshow 2016 - DevOps Session
PPTX
Making sense of microservices, service mesh, and serverless
PDF
State of the Ecosystem - Atlassian Summit 2010
PDF
Infrastructure Engineering
PDF
Tackling complexity in giant systems: approaches from several cloud providers
PDF
WSO2Con EU 2015: Keynote - The Containerization of the Developer Workspace
PDF
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
PDF
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
PPSX
CI-CD Jenkins, GitHub Actions, Tekton
PDF
Kubernetes Operators 1st Edition Jason Dobies
PPTX
Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing
PDF
Event-driven automation, DevOps way ~IoT時代の自動化、そのリアリティとは?~
PDF
Building a full-stack app with Golang and Google Cloud Platform in one week
PDF
Bamboo Continuous Integration Server - Brief
Practical Cloud & Workflow Orchestration
Docker, Continuous Integration, and You
Spring Boot & Spring Cloud on PAS- Nate Schutta (2/2)
AtlasCamp 2015: Game of Codes: The CI battle
Aug NYC July 12 event
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
Atlassian Roadshow 2016 - DevOps Session
Making sense of microservices, service mesh, and serverless
State of the Ecosystem - Atlassian Summit 2010
Infrastructure Engineering
Tackling complexity in giant systems: approaches from several cloud providers
WSO2Con EU 2015: Keynote - The Containerization of the Developer Workspace
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CI-CD Jenkins, GitHub Actions, Tekton
Kubernetes Operators 1st Edition Jason Dobies
Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing
Event-driven automation, DevOps way ~IoT時代の自動化、そのリアリティとは?~
Building a full-stack app with Golang and Google Cloud Platform in one week
Bamboo Continuous Integration Server - Brief

More from Atlassian (20)

PPTX
International Women's Day 2020
PDF
10 emerging trends that will unbreak your workplace in 2020
PDF
Forge App Showcase
PDF
Let's Build an Editor Macro with Forge UI
PDF
Meet the Forge Runtime
PDF
Forge UI: A New Way to Customize the Atlassian User Experience
PDF
Take Action with Forge Triggers
PDF
Observability and Troubleshooting in Forge
PDF
Trusted by Default: The Forge Security & Privacy Model
PDF
Designing Forge UI: A Story of Designing an App UI System
PDF
Forge: Under the Hood
PDF
Access to User Activities - Activity Platform APIs
PDF
Design Your Next App with the Atlassian Vendor Sketch Plugin
PDF
Tear Up Your Roadmap and Get Out of the Building
PDF
Nailing Measurement: a Framework for Measuring Metrics that Matter
PDF
Building Apps With Color Blind Users in Mind
PDF
Creating Inclusive Experiences: Balancing Personality and Accessibility in UX...
PDF
Beyond Diversity: A Guide to Building Balanced Teams
PDF
The Road(map) to Las Vegas - The Story of an Emerging Self-Managed Team
PDF
Building Apps With Enterprise in Mind
International Women's Day 2020
10 emerging trends that will unbreak your workplace in 2020
Forge App Showcase
Let's Build an Editor Macro with Forge UI
Meet the Forge Runtime
Forge UI: A New Way to Customize the Atlassian User Experience
Take Action with Forge Triggers
Observability and Troubleshooting in Forge
Trusted by Default: The Forge Security & Privacy Model
Designing Forge UI: A Story of Designing an App UI System
Forge: Under the Hood
Access to User Activities - Activity Platform APIs
Design Your Next App with the Atlassian Vendor Sketch Plugin
Tear Up Your Roadmap and Get Out of the Building
Nailing Measurement: a Framework for Measuring Metrics that Matter
Building Apps With Color Blind Users in Mind
Creating Inclusive Experiences: Balancing Personality and Accessibility in UX...
Beyond Diversity: A Guide to Building Balanced Teams
The Road(map) to Las Vegas - The Story of an Emerging Self-Managed Team
Building Apps With Enterprise in Mind

Recently uploaded (20)

PDF
AI-Powered Fuzz Testing: The Future of QA
PPTX
Full-Stack Developer Courses That Actually Land You Jobs
PDF
Sun and Bloombase Spitfire StoreSafe End-to-end Storage Security Solution
PDF
Guide to Food Delivery App Development.pdf
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
PPTX
Presentation by Samna Perveen And Subhan Afzal.pptx
PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PPTX
Chapter 1 - Transaction Processing and Mgt.pptx
PPTX
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
PPTX
R-Studio Crack Free Download 2025 Latest
PDF
BoxLang Dynamic AWS Lambda - Japan Edition
PPTX
ROI Analysis for Newspaper Industry with Odoo ERP
PDF
Practical Indispensable Project Management Tips for Delivering Successful Exp...
PPT
3.Software Design for software engineering
PPTX
Lecture 5 Software Requirement Engineering
PDF
MiniTool Power Data Recovery 12.6 Crack + Portable (Latest Version 2025)
PPTX
4Seller: The All-in-One Multi-Channel E-Commerce Management Platform for Glob...
PDF
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
PPTX
hospital managemt ,san.dckldnklcdnkdnkdnjadnjdjn
PDF
AI Guide for Business Growth - Arna Softech
AI-Powered Fuzz Testing: The Future of QA
Full-Stack Developer Courses That Actually Land You Jobs
Sun and Bloombase Spitfire StoreSafe End-to-end Storage Security Solution
Guide to Food Delivery App Development.pdf
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Presentation by Samna Perveen And Subhan Afzal.pptx
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
Chapter 1 - Transaction Processing and Mgt.pptx
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
R-Studio Crack Free Download 2025 Latest
BoxLang Dynamic AWS Lambda - Japan Edition
ROI Analysis for Newspaper Industry with Odoo ERP
Practical Indispensable Project Management Tips for Delivering Successful Exp...
3.Software Design for software engineering
Lecture 5 Software Requirement Engineering
MiniTool Power Data Recovery 12.6 Crack + Portable (Latest Version 2025)
4Seller: The All-in-One Multi-Channel E-Commerce Management Platform for Glob...
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
hospital managemt ,san.dckldnklcdnkdnkdnjadnjdjn
AI Guide for Business Growth - Arna Softech

Scaling to 150,000 Builds a Month... and Beyond