Is your Automation Infrastructure ‘Well Architected’?

Adam Goucher
Adam Goucherconsultant and selenium expert at Element 34
Is your Automation
Infrastructure ‘Well
Architected’?
Adam Goucher

CTO, MobileXCo

@adamgoucher
[Browser based] Automation was
largely solved 6 years ago. The
infrastructure and operational
procedures around the automation
environments remain a huge
business risk.
Your Automation
Infrastructure
Automation

Framework
(scripts + runner +
drivers)
Application Under

Test
(your app)
3rd Party Services

(things not in your
control)
The ‘Well Architected Framework’
was designed by Amazon, but is [at
a high level] cloud neutral.
The Five Pillars
•Operational Excellence

•Security

•Reliability

•Performance Efficiency

•Cost Optimization
Operational
Excellence
Perform operations as code
Every time you provision or configure
a piece of cloud infrastructure by
hand, you are doing something
wrong.

Every time you log into a box to do
something, you have found something
you need to convert to code.
Annotate documentation
If your infrastructure updates its
documentation in real-time, it is one
less thing for you to forget to do
Make frequent, small,
reversible changes
‘and’ is a commit smell
Refine operations
procedures frequently
As infrastructure evolves to code,
treat it as such with code reviews,
etc.

Schedule routine audit of tools,
patterns, etc.
Anticipate Failure
Failure happens. Accept it. No,
embrace it.

Enter the Chaos Monkey!
Learn from all operational
failures
It is only a mistake if you don’t learn
from it.
Security
Implement a strong identity
foundation
Multi-factor auth all human
interactions

Short-lived tokens for CLI
interactions.

Service Roles for service-to-service
interactions
Enable traceability
Enable monitoring, alerting and
auditing of your infrastructure…

…and respond automatically!
Apply security at all layers
There is no such thing as a ‘trusted’
network.
Automate security best
practices
Best Practices are constantly
changing. (Apply the ones that are
relevant to you, ignore the ones that
don’t)

Security controls as code.
Protect data in transit and
at rest
At aggregate, all data eventually
becomes Personally Identifiable
Information.
Prepare for security events
You’re delusional if you think you’ll
never have a security event. How are
you going to react?
Reliability
Test recovery procedures
Failure is not an option, its a feature.
Automatically recover from
failures
Self-diagnosing

Self-healing
Scale horizontally to increase
aggregate system availability
Multiple smaller pieces are more
desirable that a single larger one.
Stop guessing capacity
Measure…

…and respond automatically.
Manage change in
automation
Your infrastructure should not be a
work of art.

It should be painfully boring.
Performance
Efficiency
Democratize advanced
technologies
As cool as learning a new tech is,
your automation team likely doesn’t
need to understand how it works.

(Beyond how to test with it.)
Go global in minutes
If your production infrastructure is
globally distributed, so should your
automation infrastructure.
Use serverless
architectures
(Or don’t.)

Maybe ‘Service Doubles’?
Experiment more often
(Or don’t.)

Maybe proving ground for
production changes? You know,
actual DevOps.
Mechanical sympathy
Before you can be efficient, need to
understand what success means in
your context…

…and then do what enables
success.
Cost Optimization
Adopt a consumption
model
Model your usage patterns and
automate them.
Measure overall efficiency
Does time have a measurable cost?

Does confidence have a measurable
cost?
Stop spending money on
data centre operations
(Except when you have to.)
Analyze and attribute
expenditure
‘How much does our automation
infrastructure cost’ should be an
answerable question.
Use managed services to
reduce cost of ownership
Your time is the expensive part of
automation.

Sometimes its worth paying more to
not have to worry about something.
So. Are you Well
Architected?
1 of 38

Recommended

Raise the bar! Reloaded by
Raise the bar! ReloadedRaise the bar! Reloaded
Raise the bar! ReloadedAlessandro Franceschi
3.2K views23 slides
Albert Witteveen - With Cloud Computing Who Needs Performance Testing by
Albert Witteveen - With Cloud Computing Who Needs Performance TestingAlbert Witteveen - With Cloud Computing Who Needs Performance Testing
Albert Witteveen - With Cloud Computing Who Needs Performance TestingTEST Huddle
450 views28 slides
Performance Design Patterns 3 by
Performance Design Patterns 3Performance Design Patterns 3
Performance Design Patterns 3Adam Feldscher
55 views7 slides
Overview of Site Reliability Engineering (SRE) & best practices by
Overview of Site Reliability Engineering (SRE) & best practicesOverview of Site Reliability Engineering (SRE) & best practices
Overview of Site Reliability Engineering (SRE) & best practicesAshutosh Agarwal
7.4K views39 slides
Applying SRE techniques to micro service design by
Applying SRE techniques to micro service designApplying SRE techniques to micro service design
Applying SRE techniques to micro service designTheo Schlossnagle
1.5K views18 slides
Preaparation for new software application by
Preaparation for new software applicationPreaparation for new software application
Preaparation for new software applicationAjay Jassi
265 views1 slide

More Related Content

What's hot

Monitoring 101 by
Monitoring 101Monitoring 101
Monitoring 101Theo Schlossnagle
1.1K views37 slides
Raise the bar! by
Raise the bar!Raise the bar!
Raise the bar!Alessandro Franceschi
1.4K views19 slides
Data-Driven Operations - Practice realtime data analyse by
Data-Driven Operations - Practice realtime data analyse Data-Driven Operations - Practice realtime data analyse
Data-Driven Operations - Practice realtime data analyse Guixing Bai
820 views27 slides
Engineering operations by
Engineering operationsEngineering operations
Engineering operationsSubbu Allamaraju
1.2K views15 slides
InterSystems test automation by
InterSystems test automationInterSystems test automation
InterSystems test automationMassTLC
1.1K views7 slides
Continuous Deployment by
Continuous DeploymentContinuous Deployment
Continuous DeploymentTimothy Fitz
1.9K views22 slides

What's hot(20)

Data-Driven Operations - Practice realtime data analyse by Guixing Bai
Data-Driven Operations - Practice realtime data analyse Data-Driven Operations - Practice realtime data analyse
Data-Driven Operations - Practice realtime data analyse
Guixing Bai820 views
InterSystems test automation by MassTLC
InterSystems test automationInterSystems test automation
InterSystems test automation
MassTLC1.1K views
Continuous Deployment by Timothy Fitz
Continuous DeploymentContinuous Deployment
Continuous Deployment
Timothy Fitz1.9K views
Chaos Engineering 101: A Field Guide by matthewbrahms
Chaos Engineering 101: A Field GuideChaos Engineering 101: A Field Guide
Chaos Engineering 101: A Field Guide
matthewbrahms513 views
Managing software projects & teams effectively by Ashutosh Agarwal
Managing software projects & teams effectivelyManaging software projects & teams effectively
Managing software projects & teams effectively
Ashutosh Agarwal866 views
The Why and How of Continuous Delivery by Nigel McNie
The Why and How of Continuous DeliveryThe Why and How of Continuous Delivery
The Why and How of Continuous Delivery
Nigel McNie1.7K views
Kanban - A Crash Course by Sam McAfee
Kanban - A Crash CourseKanban - A Crash Course
Kanban - A Crash Course
Sam McAfee14.8K views
Making disaster routine by Peter Varhol
Making disaster routineMaking disaster routine
Making disaster routine
Peter Varhol35 views
Test-Driven Design - ¿Porqué? by David Alfaro
Test-Driven Design - ¿Porqué?Test-Driven Design - ¿Porqué?
Test-Driven Design - ¿Porqué?
David Alfaro405 views
Automating your processes with JIRA by Adaptavist
Automating your processes with JIRAAutomating your processes with JIRA
Automating your processes with JIRA
Adaptavist606 views
ALM@Work - Typical developer day by DomusDotNet
ALM@Work - Typical developer dayALM@Work - Typical developer day
ALM@Work - Typical developer day
DomusDotNet343 views
Introduction to Puppet Enterprise Webinar, Dec. 3, 2015 by Puppet
Introduction to Puppet Enterprise Webinar, Dec. 3, 2015Introduction to Puppet Enterprise Webinar, Dec. 3, 2015
Introduction to Puppet Enterprise Webinar, Dec. 3, 2015
Puppet1.1K views
Site Reliability Engineering (SRE) - Tech Talk by Keet Sugathadasa by Keet Sugathadasa
Site Reliability Engineering (SRE) - Tech Talk by Keet SugathadasaSite Reliability Engineering (SRE) - Tech Talk by Keet Sugathadasa
Site Reliability Engineering (SRE) - Tech Talk by Keet Sugathadasa
Keet Sugathadasa435 views
Devops - Accelerating the Pace and Securing Along the Way - Thaddeus Walsh by Drew Malone
Devops - Accelerating the Pace and Securing Along the Way - Thaddeus WalshDevops - Accelerating the Pace and Securing Along the Way - Thaddeus Walsh
Devops - Accelerating the Pace and Securing Along the Way - Thaddeus Walsh
Drew Malone85 views
Shift Testability by Ash Winter
Shift TestabilityShift Testability
Shift Testability
Ash Winter429 views

Similar to Is your Automation Infrastructure ‘Well Architected’?

Continuous Deployment by
Continuous DeploymentContinuous Deployment
Continuous DeploymentBrian Henerey
3.6K views29 slides
Operations: Production Readiness Review – How to stop bad things from Happening by
Operations: Production Readiness Review – How to stop bad things from HappeningOperations: Production Readiness Review – How to stop bad things from Happening
Operations: Production Readiness Review – How to stop bad things from HappeningAmazon Web Services
2.8K views52 slides
Raise the Bar! Reloaded by
Raise the Bar! ReloadedRaise the Bar! Reloaded
Raise the Bar! ReloadedCodemotion
218 views23 slides
An Introduction to Prometheus (GrafanaCon 2016) by
An Introduction to Prometheus (GrafanaCon 2016)An Introduction to Prometheus (GrafanaCon 2016)
An Introduction to Prometheus (GrafanaCon 2016)Brian Brazil
3.4K views48 slides
Using security to drive chaos engineering - April 2018 by
Using security to drive chaos engineering - April 2018Using security to drive chaos engineering - April 2018
Using security to drive chaos engineering - April 2018Dinis Cruz
832 views80 slides
Puppet automated config_mgmt by
Puppet automated config_mgmtPuppet automated config_mgmt
Puppet automated config_mgmtuNIX Jim
646 views10 slides

Similar to Is your Automation Infrastructure ‘Well Architected’?(20)

Continuous Deployment by Brian Henerey
Continuous DeploymentContinuous Deployment
Continuous Deployment
Brian Henerey3.6K views
Operations: Production Readiness Review – How to stop bad things from Happening by Amazon Web Services
Operations: Production Readiness Review – How to stop bad things from HappeningOperations: Production Readiness Review – How to stop bad things from Happening
Operations: Production Readiness Review – How to stop bad things from Happening
Amazon Web Services2.8K views
Raise the Bar! Reloaded by Codemotion
Raise the Bar! ReloadedRaise the Bar! Reloaded
Raise the Bar! Reloaded
Codemotion218 views
An Introduction to Prometheus (GrafanaCon 2016) by Brian Brazil
An Introduction to Prometheus (GrafanaCon 2016)An Introduction to Prometheus (GrafanaCon 2016)
An Introduction to Prometheus (GrafanaCon 2016)
Brian Brazil3.4K views
Using security to drive chaos engineering - April 2018 by Dinis Cruz
Using security to drive chaos engineering - April 2018Using security to drive chaos engineering - April 2018
Using security to drive chaos engineering - April 2018
Dinis Cruz832 views
Puppet automated config_mgmt by uNIX Jim
Puppet automated config_mgmtPuppet automated config_mgmt
Puppet automated config_mgmt
uNIX Jim646 views
Prometheus - Open Source Forum Japan by Brian Brazil
Prometheus  - Open Source Forum JapanPrometheus  - Open Source Forum Japan
Prometheus - Open Source Forum Japan
Brian Brazil549 views
Best practice adoption (and lack there of) by John Pape
Best practice adoption (and lack there of)Best practice adoption (and lack there of)
Best practice adoption (and lack there of)
John Pape490 views
The Automation Firehose: Be Strategic and Tactical by Thomas Haver by QA or the Highway
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
QA or the Highway243 views
Development and QA dilemmas in DevOps by Matteo Emili
Development and QA dilemmas in DevOpsDevelopment and QA dilemmas in DevOps
Development and QA dilemmas in DevOps
Matteo Emili152 views
Start Up Austin 2017: Production Preview - How to Stop Bad Things From Happening by Amazon Web Services
Start Up Austin 2017: Production Preview - How to Stop Bad Things From HappeningStart Up Austin 2017: Production Preview - How to Stop Bad Things From Happening
Start Up Austin 2017: Production Preview - How to Stop Bad Things From Happening
#DOAW16 - DevOps@work Roma 2016 - Testing your databases by Alessandro Alpi
#DOAW16 - DevOps@work Roma 2016 - Testing your databases#DOAW16 - DevOps@work Roma 2016 - Testing your databases
#DOAW16 - DevOps@work Roma 2016 - Testing your databases
Alessandro Alpi440 views
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing by Perfecto by Perforce
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Webinar: Machine learning analytics for immediate resolution to the most chal... by Melina Black
Webinar: Machine learning analytics for immediate resolution to the most chal...Webinar: Machine learning analytics for immediate resolution to the most chal...
Webinar: Machine learning analytics for immediate resolution to the most chal...
Melina Black197 views
The Continuous delivery Value @ codemotion 2014 by David Funaro
The Continuous delivery Value @ codemotion 2014The Continuous delivery Value @ codemotion 2014
The Continuous delivery Value @ codemotion 2014
David Funaro865 views
The Continuous delivery value - Funaro by Codemotion
The Continuous delivery value - FunaroThe Continuous delivery value - Funaro
The Continuous delivery value - Funaro
Codemotion394 views

More from Adam Goucher

Lightsabers, Time Machines and other Automation Heuristics by
Lightsabers, Time Machines and other Automation HeuristicsLightsabers, Time Machines and other Automation Heuristics
Lightsabers, Time Machines and other Automation HeuristicsAdam Goucher
4 views13 slides
SeleniumConf London 2019 - "Part 3: Practice what you Preach" by
SeleniumConf London 2019 - "Part 3: Practice what you Preach"SeleniumConf London 2019 - "Part 3: Practice what you Preach"
SeleniumConf London 2019 - "Part 3: Practice what you Preach"Adam Goucher
178 views20 slides
Your Job Is To Collect Stories by
Your Job Is To Collect StoriesYour Job Is To Collect Stories
Your Job Is To Collect StoriesAdam Goucher
1.2K views12 slides
[Automation] Trick-or-Treat Style by
[Automation] Trick-or-Treat Style[Automation] Trick-or-Treat Style
[Automation] Trick-or-Treat StyleAdam Goucher
1.4K views18 slides
Proxy and Executor by
Proxy and ExecutorProxy and Executor
Proxy and ExecutorAdam Goucher
3K views36 slides
Maintainable Automation FTW by
Maintainable Automation FTWMaintainable Automation FTW
Maintainable Automation FTWAdam Goucher
849 views14 slides

More from Adam Goucher(20)

Lightsabers, Time Machines and other Automation Heuristics by Adam Goucher
Lightsabers, Time Machines and other Automation HeuristicsLightsabers, Time Machines and other Automation Heuristics
Lightsabers, Time Machines and other Automation Heuristics
Adam Goucher4 views
SeleniumConf London 2019 - "Part 3: Practice what you Preach" by Adam Goucher
SeleniumConf London 2019 - "Part 3: Practice what you Preach"SeleniumConf London 2019 - "Part 3: Practice what you Preach"
SeleniumConf London 2019 - "Part 3: Practice what you Preach"
Adam Goucher178 views
Your Job Is To Collect Stories by Adam Goucher
Your Job Is To Collect StoriesYour Job Is To Collect Stories
Your Job Is To Collect Stories
Adam Goucher1.2K views
[Automation] Trick-or-Treat Style by Adam Goucher
[Automation] Trick-or-Treat Style[Automation] Trick-or-Treat Style
[Automation] Trick-or-Treat Style
Adam Goucher1.4K views
Maintainable Automation FTW by Adam Goucher
Maintainable Automation FTWMaintainable Automation FTW
Maintainable Automation FTW
Adam Goucher849 views
Selenium Page Objects101 by Adam Goucher
Selenium Page Objects101Selenium Page Objects101
Selenium Page Objects101
Adam Goucher3.5K views
Selenium IDE - The future if plugin-y by Adam Goucher
Selenium IDE - The future if plugin-ySelenium IDE - The future if plugin-y
Selenium IDE - The future if plugin-y
Adam Goucher636 views
You're doing it wrong by Adam Goucher
You're doing it wrongYou're doing it wrong
You're doing it wrong
Adam Goucher1.4K views
Everything I learned about Agile I learned from Pirates by Adam Goucher
Everything I learned about Agile I learned from PiratesEverything I learned about Agile I learned from Pirates
Everything I learned about Agile I learned from Pirates
Adam Goucher964 views
Agile Test Case Management by Adam Goucher
Agile Test Case ManagementAgile Test Case Management
Agile Test Case Management
Adam Goucher5.9K views
The Many Hats of a Tester by Adam Goucher
The Many Hats of a TesterThe Many Hats of a Tester
The Many Hats of a Tester
Adam Goucher1.5K views
Quality through the lens of Astrophysics by Adam Goucher
Quality through the lens of AstrophysicsQuality through the lens of Astrophysics
Quality through the lens of Astrophysics
Adam Goucher473 views
Legend of Zealot Anarchist Robot by Adam Goucher
Legend of Zealot Anarchist RobotLegend of Zealot Anarchist Robot
Legend of Zealot Anarchist Robot
Adam Goucher702 views
Scripting Recipes KWSQA2009 by Adam Goucher
Scripting Recipes KWSQA2009Scripting Recipes KWSQA2009
Scripting Recipes KWSQA2009
Adam Goucher849 views

Recently uploaded

TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors by
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensorssugiuralab
11 views15 slides
STPI OctaNE CoE Brochure.pdf by
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdfmadhurjyapb
12 views1 slide
Future of Learning - Khoong Chan Meng by
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengNUS-ISS
31 views7 slides
Attacking IoT Devices from a Web Perspective - Linux Day by
Attacking IoT Devices from a Web Perspective - Linux Day Attacking IoT Devices from a Web Perspective - Linux Day
Attacking IoT Devices from a Web Perspective - Linux Day Simone Onofri
15 views68 slides
[2023] Putting the R! in R&D.pdf by
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdfEleanor McHugh
38 views127 slides
DALI Basics Course 2023 by
DALI Basics Course  2023DALI Basics Course  2023
DALI Basics Course 2023Ivory Egg
14 views12 slides

Recently uploaded(20)

TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors by sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab11 views
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb12 views
Future of Learning - Khoong Chan Meng by NUS-ISS
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
NUS-ISS31 views
Attacking IoT Devices from a Web Perspective - Linux Day by Simone Onofri
Attacking IoT Devices from a Web Perspective - Linux Day Attacking IoT Devices from a Web Perspective - Linux Day
Attacking IoT Devices from a Web Perspective - Linux Day
Simone Onofri15 views
[2023] Putting the R! in R&D.pdf by Eleanor McHugh
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh38 views
DALI Basics Course 2023 by Ivory Egg
DALI Basics Course  2023DALI Basics Course  2023
DALI Basics Course 2023
Ivory Egg14 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman25 views
Spesifikasi Lengkap ASUS Vivobook Go 14 by Dot Semarang
Spesifikasi Lengkap ASUS Vivobook Go 14Spesifikasi Lengkap ASUS Vivobook Go 14
Spesifikasi Lengkap ASUS Vivobook Go 14
Dot Semarang35 views
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... by NUS-ISS
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
NUS-ISS23 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10165 views
handbook for web 3 adoption.pdf by Liveplex
handbook for web 3 adoption.pdfhandbook for web 3 adoption.pdf
handbook for web 3 adoption.pdf
Liveplex19 views
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu... by NUS-ISS
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
NUS-ISS32 views
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor... by Vadym Kazulkin
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
Vadym Kazulkin70 views
Future of Learning - Yap Aye Wee.pdf by NUS-ISS
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdf
NUS-ISS38 views

Is your Automation Infrastructure ‘Well Architected’?