SlideShare a Scribd company logo
1 of 33
Automating Deployments
with Bamboo and Ansible
Randall Thomson | Senior TechOps Engineer
Context
Automating Deployments with Bamboo and Ansible
• Bamboo - Atlassian Product for Building and
Deploying software
• Ansible - Open Source (RedHat) automation and
configuration management software
Why?
Automating Deployments with Bamboo and Ansible
• “Artisan-crafted”
server management
• SCP a .jar around & Perl
What is a Pod?
Automating Deployments with Bamboo and Ansible
All of the components required
to provide LogicMonitor for customers
Tomcat
Kafka
TSDB
MySQL
Relay
Global
Resources:
CloudProber
HAProxy
Redis
S3
SQS
ELBs
Sitemonitor
Proxy
SMTP
Render
ECSReporting
DNS
… what’s next?
ElasticSearch
Rserver
CloudBilling
Horizontally scalable Cell Architecture
Conflict
Automating Deployments with Bamboo and Ansible
• Scaling (infrastructure growth +
micro services)
• Consistent Process
• Resilient Process
Automating Deployments with Bamboo and Ansible
Empowering Developers (and others):
• Bamboo Deployments Plan (Scaling )
• Ansible Playbooks (Consistency )
• HipChat notifications (success/failure/verbose logging)
• Docker deploy agents (before it was a native Bamboo feature)
• LogicMonitor API (SDT + OpsNotes)
Overall Design (Resiliency )
Solution
Tasks: Ansible vs Bamboo
Automating Deployments with Bamboo and Ansible
Ansible Tasks Advantages:
• Can work with or without
Bamboo
• Playbooks can be managed in a
software repo
Bamboo Tasks Disadvantages:
• Challenging to SSH to multiple
hosts (not everyone is 100%
containers)
• Revision Control / audit trail is
not fully featured
• Automated
• Manual
Deployment Types
Automating Deployments with Bamboo and Ansible
Environment Types
• QA
• Stage
• Production
Deployment Strategy
Bamboo Ansible LogicMonitorBitbucket
Automating Deployments with Bamboo and Ansible
Timeline
Automating Deployments with Bamboo and Ansible
- 2007-2011/12: We would put the “bleeping” jar in the directory and run a perl
script to deploy (locally)
- 2012/2013: We introduced notion of war (also around the time we started
using Stash and Bamboo for builds)
- 2014/2015: We started deploying THINGs with bamboo, not production
- 2016/2017: Developers deploying all production apps across production
Takeaways
Automating Deployments with Bamboo and Ansible
OBJECTIVES: Automate, Automate, Automate
• Let the robots (and/or co-workers) do your job for you
• Minimize the number of methods needed for deployments
• Bamboo specs (deploy plans as code)
C
Questions?
randall.thomson@logicmonitor.com
AI Powered Full Stack
Monitoring of your Atlassian
Tools using Dynatrace
HIMANSHU CHHETRI | CTO | ADDTEQ | @ADDTEQ
Agenda
Full Disclosure
Monitoring Strategies for Atlassian Tools
Monitoring Tools
Why AI Powered Monitoring?
Examples of using Dynatrace
Summary
Monitoring Strategies
Alerting
Focus on customer-facing
performance problems rather than
individual metrics. Ideally reduce alert
fatigue.
Anomaly Detection
Automated baselines > Built-in static
thresholds > User-defined static
thresholds
Visibility
Infrastructure components that
comprise your Atlassian tool stack.
Eg: Application, Database, Load
Balancer.
Full Stack Monitoring
Infrastructure, Logs, Application
Performance Management,
Transaction Monitoring(Synthetic &
Real Users).
Host / Service APM Log
Monitoring
Full Stack
Monitoring Tools *
* By no means exhaustive but based on Addteq experience.
Monitoring Tools *
* By no means exhaustive but based on Addteq experience.
Host / Service
Built-in and
community plugins.
Based on user
defined static
thresholds. Eg: alert
when disk > 90% or
HTTP response
APM
Java agent needs to
be loaded into
application being
monitored. Features
including JVM,
Database and Web
transactions
Monitoring Tools *
* By no means exhaustive but based on Addteq experience.
Log
Monitoring
Analyze application
logs for errors,
problematic plugins,
service accounts
making lot of
requests etc
Full Stack
OS level agent to
monitor infra, APM,
logs and user
experience. AI based
automatic detection
of problems with
potential end user
impact.
After AI
Automatically detect performance &
availability issues. Pinpoint the potential
root cause. Automate the analysis of
volumes of monitoring data that can take
numerous hours when performed
manually by teams.
Before AI
Alert fatigue caused by too many or
missing alerts, constant tuning of user
defined thresholds. Too many metrics to
monitor constantly. Root cause analysis
time consuming and tedious.
A user reported that JIRA
issues in the project are
very slow to load.
Which JIRA projects or
Confluence spaces
contribute most to users
waiting for pages to be
loaded?
Dynatrace has
automatically detected
response time degradation
for Bamboo
Dynatrace A.I. detected a
problem with JIRA failure
rate increase.
Strategy
Focus on end user impact
and experience monitoring
A.I.
Automatic problem
detection and root cause
detection can be very
powerful!
Full Stack
Use full stack monitoring tools
if available
Summary
Addteq blog with more examples : http://bit.ly/dynatlasblog
Dynatrace free trial : https://www.dynatrace.com/trial/
Addteq’s JIRA integration for Dynatrace : https://marketplace.atlassian.com/1219206
Thank You

More Related Content

What's hot

SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAP
SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAPSITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAP
SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAPsitist
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupIs Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupChase Douglas
 
Automate Mission Critical Business Workflows With JIRA
Automate Mission Critical Business Workflows With JIRAAutomate Mission Critical Business Workflows With JIRA
Automate Mission Critical Business Workflows With JIRAAtlassian
 
Splunk'ing JIRA for deep insights into application, database, and server heal...
Splunk'ing JIRA for deep insights into application, database, and server heal...Splunk'ing JIRA for deep insights into application, database, and server heal...
Splunk'ing JIRA for deep insights into application, database, and server heal...Cprime
 
Managing RightScale on RightScale
Managing RightScale on RightScaleManaging RightScale on RightScale
Managing RightScale on RightScaleRightScale
 
From Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
From Concept to Clustered JAC (jira.atlassian.com) - Graham CarrickFrom Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
From Concept to Clustered JAC (jira.atlassian.com) - Graham CarrickAtlassian
 
Integrating ONE Automation with Business Systems with the API
Integrating ONE Automation with Business Systems with the APIIntegrating ONE Automation with Business Systems with the API
Integrating ONE Automation with Business Systems with the APICA | Automic Software
 
Is Serverless The New Swiss Cheese?
Is Serverless The New Swiss Cheese?Is Serverless The New Swiss Cheese?
Is Serverless The New Swiss Cheese?Chase Douglas
 
Serverless Workflows on AWS - A Journey from SWF to Step Functions
Serverless Workflows on AWS - A Journey from SWF to Step FunctionsServerless Workflows on AWS - A Journey from SWF to Step Functions
Serverless Workflows on AWS - A Journey from SWF to Step FunctionsForrest Brazeal
 
Mockingbird – mock api
Mockingbird – mock apiMockingbird – mock api
Mockingbird – mock apiSagar Rao
 
I Don't Test Often ...
I Don't Test Often ...I Don't Test Often ...
I Don't Test Often ...Gareth Bowles
 
(SPOT302) Availability: The New Kind of Innovator’s Dilemma
(SPOT302) Availability: The New Kind of Innovator’s Dilemma(SPOT302) Availability: The New Kind of Innovator’s Dilemma
(SPOT302) Availability: The New Kind of Innovator’s DilemmaAmazon Web Services
 
Monitoring As Code: How to Integrate App Monitoring Into Your Developer Cycle
Monitoring As Code: How to Integrate App Monitoring Into Your Developer CycleMonitoring As Code: How to Integrate App Monitoring Into Your Developer Cycle
Monitoring As Code: How to Integrate App Monitoring Into Your Developer CycleAtlassian
 
Cloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load TestingCloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load TestingInCycleSoftware
 
Baking Stash in the AWS Cloud at Netflix
Baking Stash in the AWS Cloud at NetflixBaking Stash in the AWS Cloud at Netflix
Baking Stash in the AWS Cloud at NetflixAtlassian
 
(ISM309) Efficient Innovation:High-Velocity Cost Management at Netflix
(ISM309) Efficient Innovation:High-Velocity Cost Management at Netflix(ISM309) Efficient Innovation:High-Velocity Cost Management at Netflix
(ISM309) Efficient Innovation:High-Velocity Cost Management at NetflixAmazon Web Services
 
Kubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud appsKubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud appsAna-Maria Mihalceanu
 
Gcp cloud certification training course
Gcp cloud certification training courseGcp cloud certification training course
Gcp cloud certification training coursesrip30
 
Saving Money by Optimizing Your Cloud Add-On Infrastructure
Saving Money by Optimizing Your Cloud Add-On InfrastructureSaving Money by Optimizing Your Cloud Add-On Infrastructure
Saving Money by Optimizing Your Cloud Add-On InfrastructureAtlassian
 

What's hot (20)

SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAP
SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAPSITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAP
SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAP
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupIs Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
 
Automate Mission Critical Business Workflows With JIRA
Automate Mission Critical Business Workflows With JIRAAutomate Mission Critical Business Workflows With JIRA
Automate Mission Critical Business Workflows With JIRA
 
Splunk'ing JIRA for deep insights into application, database, and server heal...
Splunk'ing JIRA for deep insights into application, database, and server heal...Splunk'ing JIRA for deep insights into application, database, and server heal...
Splunk'ing JIRA for deep insights into application, database, and server heal...
 
Managing RightScale on RightScale
Managing RightScale on RightScaleManaging RightScale on RightScale
Managing RightScale on RightScale
 
From Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
From Concept to Clustered JAC (jira.atlassian.com) - Graham CarrickFrom Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
From Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
 
Integrating ONE Automation with Business Systems with the API
Integrating ONE Automation with Business Systems with the APIIntegrating ONE Automation with Business Systems with the API
Integrating ONE Automation with Business Systems with the API
 
Is Serverless The New Swiss Cheese?
Is Serverless The New Swiss Cheese?Is Serverless The New Swiss Cheese?
Is Serverless The New Swiss Cheese?
 
Serverless Workflows on AWS - A Journey from SWF to Step Functions
Serverless Workflows on AWS - A Journey from SWF to Step FunctionsServerless Workflows on AWS - A Journey from SWF to Step Functions
Serverless Workflows on AWS - A Journey from SWF to Step Functions
 
Mockingbird – mock api
Mockingbird – mock apiMockingbird – mock api
Mockingbird – mock api
 
I Don't Test Often ...
I Don't Test Often ...I Don't Test Often ...
I Don't Test Often ...
 
(SPOT302) Availability: The New Kind of Innovator’s Dilemma
(SPOT302) Availability: The New Kind of Innovator’s Dilemma(SPOT302) Availability: The New Kind of Innovator’s Dilemma
(SPOT302) Availability: The New Kind of Innovator’s Dilemma
 
Monitoring As Code: How to Integrate App Monitoring Into Your Developer Cycle
Monitoring As Code: How to Integrate App Monitoring Into Your Developer CycleMonitoring As Code: How to Integrate App Monitoring Into Your Developer Cycle
Monitoring As Code: How to Integrate App Monitoring Into Your Developer Cycle
 
Helm your way with Kubernetes
Helm your way with KubernetesHelm your way with Kubernetes
Helm your way with Kubernetes
 
Cloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load TestingCloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load Testing
 
Baking Stash in the AWS Cloud at Netflix
Baking Stash in the AWS Cloud at NetflixBaking Stash in the AWS Cloud at Netflix
Baking Stash in the AWS Cloud at Netflix
 
(ISM309) Efficient Innovation:High-Velocity Cost Management at Netflix
(ISM309) Efficient Innovation:High-Velocity Cost Management at Netflix(ISM309) Efficient Innovation:High-Velocity Cost Management at Netflix
(ISM309) Efficient Innovation:High-Velocity Cost Management at Netflix
 
Kubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud appsKubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud apps
 
Gcp cloud certification training course
Gcp cloud certification training courseGcp cloud certification training course
Gcp cloud certification training course
 
Saving Money by Optimizing Your Cloud Add-On Infrastructure
Saving Money by Optimizing Your Cloud Add-On InfrastructureSaving Money by Optimizing Your Cloud Add-On Infrastructure
Saving Money by Optimizing Your Cloud Add-On Infrastructure
 

Similar to Aug NYC July 12 event

How LogicMonitor Automates Deployments with Bamboo and Ansible
How LogicMonitor Automates Deployments with Bamboo and AnsibleHow LogicMonitor Automates Deployments with Bamboo and Ansible
How LogicMonitor Automates Deployments with Bamboo and AnsibleRandall Thomson
 
We-Donut.io presentation of Platform
We-Donut.io presentation of PlatformWe-Donut.io presentation of Platform
We-Donut.io presentation of PlatformDennis Reurings
 
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...Adrian Cockcroft
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeSteve Mercier
 
System design for Web Application
System design for Web ApplicationSystem design for Web Application
System design for Web ApplicationMichael Choi
 
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...Amazon Web Services
 
analytic engine - a common big data computation service on the aws
analytic engine - a common big data computation service on the awsanalytic engine - a common big data computation service on the aws
analytic engine - a common big data computation service on the awsScott Miao
 
Business model driven cloud adoption - what NI is doing in the cloud
Business model driven cloud adoption -  what  NI is doing in the cloudBusiness model driven cloud adoption -  what  NI is doing in the cloud
Business model driven cloud adoption - what NI is doing in the cloudErnest Mueller
 
Google App Engine for Java
Google App Engine for JavaGoogle App Engine for Java
Google App Engine for JavaLars Vogel
 
10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M usersAmazon Web Services
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureRiverbed Technology
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureIan Downard
 
DevOps, CLI, APIs, Oh My! Security Gone Agile
DevOps, CLI, APIs, Oh My!  Security Gone AgileDevOps, CLI, APIs, Oh My!  Security Gone Agile
DevOps, CLI, APIs, Oh My! Security Gone AgileMatt Tesauro
 
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...Vikas Sahni
 
Building azure applications ireland
Building azure applications irelandBuilding azure applications ireland
Building azure applications irelandMichael Meagher
 
Simplified DevOps Bliss -with OpenAI API
Simplified DevOps Bliss -with OpenAI APISimplified DevOps Bliss -with OpenAI API
Simplified DevOps Bliss -with OpenAI APIVictorSzoltysek
 
Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016Matt Tesauro
 
To Scale Test Automation for DevOps, Avoid These Anti-Patterns
To Scale Test Automation for DevOps, Avoid These Anti-PatternsTo Scale Test Automation for DevOps, Avoid These Anti-Patterns
To Scale Test Automation for DevOps, Avoid These Anti-PatternsDevOps.com
 
Hortonworks Technical Workshop: Apache Ambari
Hortonworks Technical Workshop:   Apache AmbariHortonworks Technical Workshop:   Apache Ambari
Hortonworks Technical Workshop: Apache AmbariHortonworks
 
Migrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWSMigrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWSTom Laszewski
 

Similar to Aug NYC July 12 event (20)

How LogicMonitor Automates Deployments with Bamboo and Ansible
How LogicMonitor Automates Deployments with Bamboo and AnsibleHow LogicMonitor Automates Deployments with Bamboo and Ansible
How LogicMonitor Automates Deployments with Bamboo and Ansible
 
We-Donut.io presentation of Platform
We-Donut.io presentation of PlatformWe-Donut.io presentation of Platform
We-Donut.io presentation of Platform
 
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
 
System design for Web Application
System design for Web ApplicationSystem design for Web Application
System design for Web Application
 
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
 
analytic engine - a common big data computation service on the aws
analytic engine - a common big data computation service on the awsanalytic engine - a common big data computation service on the aws
analytic engine - a common big data computation service on the aws
 
Business model driven cloud adoption - what NI is doing in the cloud
Business model driven cloud adoption -  what  NI is doing in the cloudBusiness model driven cloud adoption -  what  NI is doing in the cloud
Business model driven cloud adoption - what NI is doing in the cloud
 
Google App Engine for Java
Google App Engine for JavaGoogle App Engine for Java
Google App Engine for Java
 
10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users10 Pro Tips for scaling your startup from 0-10M users
10 Pro Tips for scaling your startup from 0-10M users
 
Why and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in AzureWhy and How to Monitor Application Performance in Azure
Why and How to Monitor Application Performance in Azure
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in Azure
 
DevOps, CLI, APIs, Oh My! Security Gone Agile
DevOps, CLI, APIs, Oh My!  Security Gone AgileDevOps, CLI, APIs, Oh My!  Security Gone Agile
DevOps, CLI, APIs, Oh My! Security Gone Agile
 
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
 
Building azure applications ireland
Building azure applications irelandBuilding azure applications ireland
Building azure applications ireland
 
Simplified DevOps Bliss -with OpenAI API
Simplified DevOps Bliss -with OpenAI APISimplified DevOps Bliss -with OpenAI API
Simplified DevOps Bliss -with OpenAI API
 
Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016Taking AppSec to 11 - BSides Austin 2016
Taking AppSec to 11 - BSides Austin 2016
 
To Scale Test Automation for DevOps, Avoid These Anti-Patterns
To Scale Test Automation for DevOps, Avoid These Anti-PatternsTo Scale Test Automation for DevOps, Avoid These Anti-Patterns
To Scale Test Automation for DevOps, Avoid These Anti-Patterns
 
Hortonworks Technical Workshop: Apache Ambari
Hortonworks Technical Workshop:   Apache AmbariHortonworks Technical Workshop:   Apache Ambari
Hortonworks Technical Workshop: Apache Ambari
 
Migrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWSMigrating Enterprise Applications to AWS
Migrating Enterprise Applications to AWS
 

More from AUGNYC

NYCACE April 2022 Presentations.pdf
NYCACE April 2022 Presentations.pdfNYCACE April 2022 Presentations.pdf
NYCACE April 2022 Presentations.pdfAUGNYC
 
February 2022 NYC/TOR ACE
February 2022 NYC/TOR ACE February 2022 NYC/TOR ACE
February 2022 NYC/TOR ACE AUGNYC
 
ACE NYC November 2021 Slideshare Deck
ACE NYC November 2021 Slideshare DeckACE NYC November 2021 Slideshare Deck
ACE NYC November 2021 Slideshare DeckAUGNYC
 
ACE NYC and TOR Sep 2021 Slideshare Deck
ACE NYC and TOR Sep 2021 Slideshare DeckACE NYC and TOR Sep 2021 Slideshare Deck
ACE NYC and TOR Sep 2021 Slideshare DeckAUGNYC
 
Summer "Tuning" in Jira and DevSecOps
Summer "Tuning" in Jira and DevSecOpsSummer "Tuning" in Jira and DevSecOps
Summer "Tuning" in Jira and DevSecOpsAUGNYC
 
Team 21 Recap and ScriptRunner in the Cloud
Team 21 Recap and ScriptRunner in the CloudTeam 21 Recap and ScriptRunner in the Cloud
Team 21 Recap and ScriptRunner in the CloudAUGNYC
 
Future of Your Atlassian Platform - Data Center and Cloud Migration
Future of Your Atlassian Platform - Data Center and Cloud MigrationFuture of Your Atlassian Platform - Data Center and Cloud Migration
Future of Your Atlassian Platform - Data Center and Cloud MigrationAUGNYC
 
NYC ACE April 30 2020
NYC ACE April 30 2020NYC ACE April 30 2020
NYC ACE April 30 2020AUGNYC
 
NYC ACE May 28 2020
NYC ACE May 28 2020NYC ACE May 28 2020
NYC ACE May 28 2020AUGNYC
 
Aug NYC Jan 30
Aug NYC Jan 30Aug NYC Jan 30
Aug NYC Jan 30AUGNYC
 
The magic of ops genie
The magic of ops genieThe magic of ops genie
The magic of ops genieAUGNYC
 
The automation journey pdf
The automation journey pdfThe automation journey pdf
The automation journey pdfAUGNYC
 
How to kill jira with bad scripts
How to kill jira with bad scriptsHow to kill jira with bad scripts
How to kill jira with bad scriptsAUGNYC
 
To Change is Human - Kaylin Aarts, NOBL
To Change is Human - Kaylin Aarts, NOBL To Change is Human - Kaylin Aarts, NOBL
To Change is Human - Kaylin Aarts, NOBL AUGNYC
 
Atlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUG
Atlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUGAtlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUG
Atlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUGAUGNYC
 
Enable DevSecOps using JIRA Software
Enable DevSecOps using JIRA SoftwareEnable DevSecOps using JIRA Software
Enable DevSecOps using JIRA SoftwareAUGNYC
 
AUG NYC Presentation Feb 13 Event
AUG NYC Presentation Feb 13 EventAUG NYC Presentation Feb 13 Event
AUG NYC Presentation Feb 13 EventAUGNYC
 
Building an Award-Winning Virtual Office Space Using Confluence
Building an Award-Winning Virtual Office Space Using ConfluenceBuilding an Award-Winning Virtual Office Space Using Confluence
Building an Award-Winning Virtual Office Space Using ConfluenceAUGNYC
 
AUGNYC - Feb22 2018 Event Talks
AUGNYC - Feb22 2018 Event TalksAUGNYC - Feb22 2018 Event Talks
AUGNYC - Feb22 2018 Event TalksAUGNYC
 
AUG NYC - Atlassian Server Updates
AUG NYC - Atlassian Server UpdatesAUG NYC - Atlassian Server Updates
AUG NYC - Atlassian Server UpdatesAUGNYC
 

More from AUGNYC (20)

NYCACE April 2022 Presentations.pdf
NYCACE April 2022 Presentations.pdfNYCACE April 2022 Presentations.pdf
NYCACE April 2022 Presentations.pdf
 
February 2022 NYC/TOR ACE
February 2022 NYC/TOR ACE February 2022 NYC/TOR ACE
February 2022 NYC/TOR ACE
 
ACE NYC November 2021 Slideshare Deck
ACE NYC November 2021 Slideshare DeckACE NYC November 2021 Slideshare Deck
ACE NYC November 2021 Slideshare Deck
 
ACE NYC and TOR Sep 2021 Slideshare Deck
ACE NYC and TOR Sep 2021 Slideshare DeckACE NYC and TOR Sep 2021 Slideshare Deck
ACE NYC and TOR Sep 2021 Slideshare Deck
 
Summer "Tuning" in Jira and DevSecOps
Summer "Tuning" in Jira and DevSecOpsSummer "Tuning" in Jira and DevSecOps
Summer "Tuning" in Jira and DevSecOps
 
Team 21 Recap and ScriptRunner in the Cloud
Team 21 Recap and ScriptRunner in the CloudTeam 21 Recap and ScriptRunner in the Cloud
Team 21 Recap and ScriptRunner in the Cloud
 
Future of Your Atlassian Platform - Data Center and Cloud Migration
Future of Your Atlassian Platform - Data Center and Cloud MigrationFuture of Your Atlassian Platform - Data Center and Cloud Migration
Future of Your Atlassian Platform - Data Center and Cloud Migration
 
NYC ACE April 30 2020
NYC ACE April 30 2020NYC ACE April 30 2020
NYC ACE April 30 2020
 
NYC ACE May 28 2020
NYC ACE May 28 2020NYC ACE May 28 2020
NYC ACE May 28 2020
 
Aug NYC Jan 30
Aug NYC Jan 30Aug NYC Jan 30
Aug NYC Jan 30
 
The magic of ops genie
The magic of ops genieThe magic of ops genie
The magic of ops genie
 
The automation journey pdf
The automation journey pdfThe automation journey pdf
The automation journey pdf
 
How to kill jira with bad scripts
How to kill jira with bad scriptsHow to kill jira with bad scripts
How to kill jira with bad scripts
 
To Change is Human - Kaylin Aarts, NOBL
To Change is Human - Kaylin Aarts, NOBL To Change is Human - Kaylin Aarts, NOBL
To Change is Human - Kaylin Aarts, NOBL
 
Atlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUG
Atlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUGAtlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUG
Atlassian Summit 2019 Recap, Dileep Bhat & Kapil Samadhiya, NYC AUG
 
Enable DevSecOps using JIRA Software
Enable DevSecOps using JIRA SoftwareEnable DevSecOps using JIRA Software
Enable DevSecOps using JIRA Software
 
AUG NYC Presentation Feb 13 Event
AUG NYC Presentation Feb 13 EventAUG NYC Presentation Feb 13 Event
AUG NYC Presentation Feb 13 Event
 
Building an Award-Winning Virtual Office Space Using Confluence
Building an Award-Winning Virtual Office Space Using ConfluenceBuilding an Award-Winning Virtual Office Space Using Confluence
Building an Award-Winning Virtual Office Space Using Confluence
 
AUGNYC - Feb22 2018 Event Talks
AUGNYC - Feb22 2018 Event TalksAUGNYC - Feb22 2018 Event Talks
AUGNYC - Feb22 2018 Event Talks
 
AUG NYC - Atlassian Server Updates
AUG NYC - Atlassian Server UpdatesAUG NYC - Atlassian Server Updates
AUG NYC - Atlassian Server Updates
 

Recently uploaded

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

Aug NYC July 12 event

  • 1. Automating Deployments with Bamboo and Ansible Randall Thomson | Senior TechOps Engineer
  • 2. Context Automating Deployments with Bamboo and Ansible • Bamboo - Atlassian Product for Building and Deploying software • Ansible - Open Source (RedHat) automation and configuration management software
  • 3. Why? Automating Deployments with Bamboo and Ansible • “Artisan-crafted” server management • SCP a .jar around & Perl
  • 4. What is a Pod? Automating Deployments with Bamboo and Ansible All of the components required to provide LogicMonitor for customers Tomcat Kafka TSDB MySQL Relay Global Resources: CloudProber HAProxy Redis S3 SQS ELBs Sitemonitor Proxy SMTP Render ECSReporting DNS … what’s next? ElasticSearch Rserver CloudBilling Horizontally scalable Cell Architecture
  • 5. Conflict Automating Deployments with Bamboo and Ansible • Scaling (infrastructure growth + micro services) • Consistent Process • Resilient Process
  • 6. Automating Deployments with Bamboo and Ansible Empowering Developers (and others): • Bamboo Deployments Plan (Scaling ) • Ansible Playbooks (Consistency ) • HipChat notifications (success/failure/verbose logging) • Docker deploy agents (before it was a native Bamboo feature) • LogicMonitor API (SDT + OpsNotes) Overall Design (Resiliency ) Solution
  • 7. Tasks: Ansible vs Bamboo Automating Deployments with Bamboo and Ansible Ansible Tasks Advantages: • Can work with or without Bamboo • Playbooks can be managed in a software repo Bamboo Tasks Disadvantages: • Challenging to SSH to multiple hosts (not everyone is 100% containers) • Revision Control / audit trail is not fully featured
  • 8. • Automated • Manual Deployment Types Automating Deployments with Bamboo and Ansible Environment Types • QA • Stage • Production
  • 9. Deployment Strategy Bamboo Ansible LogicMonitorBitbucket Automating Deployments with Bamboo and Ansible
  • 10. Timeline Automating Deployments with Bamboo and Ansible - 2007-2011/12: We would put the “bleeping” jar in the directory and run a perl script to deploy (locally) - 2012/2013: We introduced notion of war (also around the time we started using Stash and Bamboo for builds) - 2014/2015: We started deploying THINGs with bamboo, not production - 2016/2017: Developers deploying all production apps across production
  • 11. Takeaways Automating Deployments with Bamboo and Ansible OBJECTIVES: Automate, Automate, Automate • Let the robots (and/or co-workers) do your job for you • Minimize the number of methods needed for deployments • Bamboo specs (deploy plans as code)
  • 13. AI Powered Full Stack Monitoring of your Atlassian Tools using Dynatrace HIMANSHU CHHETRI | CTO | ADDTEQ | @ADDTEQ
  • 14. Agenda Full Disclosure Monitoring Strategies for Atlassian Tools Monitoring Tools Why AI Powered Monitoring? Examples of using Dynatrace Summary
  • 15. Monitoring Strategies Alerting Focus on customer-facing performance problems rather than individual metrics. Ideally reduce alert fatigue. Anomaly Detection Automated baselines > Built-in static thresholds > User-defined static thresholds Visibility Infrastructure components that comprise your Atlassian tool stack. Eg: Application, Database, Load Balancer. Full Stack Monitoring Infrastructure, Logs, Application Performance Management, Transaction Monitoring(Synthetic & Real Users).
  • 16. Host / Service APM Log Monitoring Full Stack Monitoring Tools * * By no means exhaustive but based on Addteq experience.
  • 17. Monitoring Tools * * By no means exhaustive but based on Addteq experience. Host / Service Built-in and community plugins. Based on user defined static thresholds. Eg: alert when disk > 90% or HTTP response APM Java agent needs to be loaded into application being monitored. Features including JVM, Database and Web transactions
  • 18. Monitoring Tools * * By no means exhaustive but based on Addteq experience. Log Monitoring Analyze application logs for errors, problematic plugins, service accounts making lot of requests etc Full Stack OS level agent to monitor infra, APM, logs and user experience. AI based automatic detection of problems with potential end user impact.
  • 19. After AI Automatically detect performance & availability issues. Pinpoint the potential root cause. Automate the analysis of volumes of monitoring data that can take numerous hours when performed manually by teams. Before AI Alert fatigue caused by too many or missing alerts, constant tuning of user defined thresholds. Too many metrics to monitor constantly. Root cause analysis time consuming and tedious.
  • 20.
  • 21.
  • 22. A user reported that JIRA issues in the project are very slow to load.
  • 23.
  • 24.
  • 25. Which JIRA projects or Confluence spaces contribute most to users waiting for pages to be loaded?
  • 26.
  • 27. Dynatrace has automatically detected response time degradation for Bamboo
  • 28.
  • 29. Dynatrace A.I. detected a problem with JIRA failure rate increase.
  • 30.
  • 31. Strategy Focus on end user impact and experience monitoring A.I. Automatic problem detection and root cause detection can be very powerful! Full Stack Use full stack monitoring tools if available Summary
  • 32. Addteq blog with more examples : http://bit.ly/dynatlasblog Dynatrace free trial : https://www.dynatrace.com/trial/ Addteq’s JIRA integration for Dynatrace : https://marketplace.atlassian.com/1219206

Editor's Notes

  1. Hello. I’m Randall Thomson, Sr. TechOps Engineer at LogicMonitor. “LogicMonitor provides SaaS-based IT infrastructure performance monitoring for cloud, data center and on-premises environments. It provides native support for thousands of devices and instances and is integrated with a wide range of IT tools such as ServiceNow, Puppet and Atlassian.” Our TechOps team manages the infrastructure which provides LogicMonitor service for our customers. We straddle the line between re-active and pro-active work to ensure uptime while managing near constant change and growth. This talk is about what our team has done to enable other teams to manage their own software deployments. I’m presenting our story because I'm proud of what we’ve built and know it would be useful for other people or organizations to implement for themselves. At the time we were trying to solve our problems there were not a lot of concrete results on Google. So here goes…
  2. I tend to jump right into the nitty gritty so I want to spend a brief couple slides going over the two main subjects to talk: Bamboo and Ansible (I will keep referring to these two things) So I just want to take a quick raise-your-hand poll: (ask audience) Who has heard of or has experience with using Bamboo for software deployments? Who uses Ansible? And does anyone use them together? OK great. Now I want to give some background on how we got to this point and why we use BOTH products.
  3. A variety of things were going on at LogicMonitor when I joined 2.5 years ago: We had a monolithic app evolving into a microservice architecture Monolith —> microservice leads to more applications, coordination, complexity Growth (more places to deploy the applications) Time is precious, so we outsource tasks when we can The Old Way didn’t scale. Co-worker described it as “artisan crafted” server management As an example, at one point we were SCP’ing a JAR around and using some Perl scripts executed on each host to manage deployments
  4. One additional bit of context. We refer to the all of the components required to provide LogicMonitor as a Pod. As we add more customers we must increase the number of Pods. If a new component is developed it must be applied to all Pods. All Pods must be the same so that we are not concerned with one-off problems. So this leads us to a summary of our challenges.
  5. Needed consistent and reliable deployments Scaling with infrastructure growth as well as increase in microservices (ie: number of apps you need to deploy) (old processes were not scaling with either of these growth factors) Deployment process should be consistent irrespective of environments (and if possible applications) How do you provide a resilient deployment process while not relying upon your team to be human keyboards? This brings us to our solution.
  6. Enabled developers to click a button in order to deploy their components (to QA, staging and Production!) Operations can enforce controls and processes - this is critical not only for maintaining sanity but it helps ensure compliance with security policies HipChat notifications provide company-wide visibility of deployments - this is useful because…. This Docker image is intended to provide a self-container environment that can be used to deploy LogicMonitor applications Dockerizing the ansible playbook meant we could control the ansible version, include any custom modules, etc… We then integrate with our own LogicMonitor API so we can set scheduled downtimes for our services to prevent pages from being sent out. In addition we log a note about the new version of the app being deployed which provides meaningful context when diagnosing issues (good or bad!). At this point you may be wondering why the added complication of Ansible instead of using native Bamboo tasks. I’m going to cover that next.
  7. The Complication - Why use Ansible? Bamboo was not the starting place for our deployments. Initially they were run locally via Ansible playbooks. Bamboo then started running the playbooks. We were familiar with Ansible and the notion of feeding an inventory file. We also moved to a dynamic inventory model - populated at runtime via consul queries - mention this up front in cool neat things. So instead of porting all of our Ansible tasks to Bamboo tasks we trigger Ansible via Bamboo. This also ensures that even someone with admin rights to a deploy plan cannot alter the code that’s doing the actual app upgrades.
  8. We use both manual and automated Bamboo deployments. For our QA environments we typically auto-deploy based upon say a commit to develop branch. Staging environments may require a Jira ticket to be set to approved before a Lambda triggers the deployment. For most production environments the deploys are triggered manually by the component team lead. We have found this practice to work well. Developers are often best poised to understand the changes at play during a deployment. And they are often required to mitigate any issues that arise after the deployment.
  9. So where are we at today? And were mistakes made? All projects (even non-customer facing) are (should be :)) hosted in Bitbucket. We use Jira to enforce restrictions on branch commits, for example requiring two senior member approvals before a PR merge to master. We use Bamboo to both build and deploy software. Ansible governs the process required by each microservice app to facilitate a smooth upgrade. LogicMonitor ensures the app is providing the expected service to customers. The Ansible playbook also sets SDTs so nobody gets paged and OpsNotes so that we can correlate events along our monitoring graphs. Let’s review our timeline and I’ll cover a few mistakes.
  10. Mistake - copy/paste “bugs” - early on we had a production deployment plan using the develop branch release…
  11. Here are some things I hope you can take home from this. - Let the robots (and/or co-workers) do your job for you. Enable someone else. They probably don’t need to know how the app is deployed, but they will be better suited to understand if something does wrong with the application. Minimize the number of methods needed for deployments - the more common ground between applications you can find the better. Using deploy environment vars is one example Bamboo specs - it will help you further evolve better organization, enforce standards and help scale your deployment plans alongside infrastructure growth.
  12. Questions? If time, Brief demo of Santaba QA deployment.