SlideShare une entreprise Scribd logo
1  sur  41
Télécharger pour lire hors ligne
RUNNING OPERATIONS IN 2 HOURS
Erno Aapa
ernoaapa
Erno Aapa
ernoaapa
erno.aapa@gmail.com
Operations engineer @ Shark Punch
Founder of DevOpsFinland
201520102005
Continuous
Delivery
Kanban DevOps DevOps
Finland
Docker

containers
Lean
Startup Lean
Cloud
There must be a
better way!
Continuous
Integration
Configuration
Management
Scrum
Infrastructure
Automation
ernoaapa
Clean

Code
DevTernity.
Startup
Mesos

Kubernetes
Terraform
Open DevOps Engineer position
Continuous Integration, Continuous delivery,
deployment automation, Agile, Scrum, Kanban, test
automation, Cloud, DevOps, Infrastructure automation,
Configuration Management, RDBMS, No-SQL, CDN,
network automation, Docker, containers, Hardware, ...
Responsibilities:
- Fullstack engineer
- Operations, network
- Infrastructure, sysadmin
- Team Manager,
- Be CIO, CTO, ...
132 new mail
KNOW 

EVERYTHING,
DO EVERYTHING!
ernoaapa
I'm DevOps? NO!
ernoaapa
Devops

!=
one man

two jobs
withwith
ulture
utomation
Easure
haring
This DevOps
means for me!
C
A
M
S
ernoaapa
ernoaapa
This is your product...
... and the crew is your team!
Make yourself replaceable!
ernoaapa
Refer to putting one person or thing 

in place of another
replaceable
/rɪˈpleɪs/
ernoaapa
No time
for learning
and
innovation
Repeat same
task over and
over again
No progress
in your career
High risk to
become
unemployed
You might
undermine
whole
company
Irreplaceable
ernoaapa
Being IRREplaceable is not good to you
• No time for learning because you use all your time doing
same task over and over again
• You don't develop because you don't have time for learning
and innovation
• You don't progress in your career because you company
cannot move you off from the task
• You become useless when product/service get changed
and your tasks disappear
• You end up being unemployed with outdated knowledge of
some legacy system what no one needs
ernoaapa
IRREplaceable is not good for company
• Your business is very vulnerable - what if that guy dies?
• That guy can use that to require high salary
• Company knowledge doesn't grow and you end up having
outdated tools, practices and technologies
• Company doesn't innovate and get stuck on single legacy
solution what new companies can outdo
ernoaapa
Share your knowledge Share responsibility
Time for
innovation
You become
more productive
ƔImprove the process
Teach others
to solve the problems
ernoaapa
ernoaapa
StartupEnterprise
ernoaapa
MY PERFECT PLAN
ernoaapa
MY PLAN OUR NEED
How I did cut off
-80%
operation work?
20%
ernoaapa
- 20% Remove all unnecessary
-20%
Remove legacy servers
Switch to cloud services
Remove all 

"I might need some day" -code
Clean up duplicate code
ernoaapa
-30% Simplify, SIMPLIFY But don't over-Simplify!
-30%
Remove rarely used features
Refactor codebase
Simplify technology stack
Remove legacy technologies
Split service to smaller pieces 

(micro services)
But DON'T force to single stack!
ernoaapa
- 30% Make your self replaceable
-30%
Automate your work
Push responsibility to the team
Teach everything you know to everyone
Make sure team can work without you
ernoaapa
Story of two companies
Intrepid
Titanic
From Ansible newsletter 9/15 / Matt Jaynes
ernoaapa
ƓƓƓƓƓƓƓƓƓƓƓƓƓƓƓƓƓƓƓƓ 20 servers
$60.000/Month
From Ansible newsletter 9/15 / Matt Jaynes
Revenue
Sysadmins
Servers
Operation costs
$5M/Year
ƔƔƔ 3 Administrators
Titanic
ernoaapa
$115M/Year
From Ansible newsletter 9/15 / Matt Jaynes
Revenue
Sysadmins
Servers
Operation costs
INTREPID
Ɣ ¼ Developer
ƓƓƓƓ 4 Servers
$2.500/Month
ernoaapa
From Ansible newsletter 9/15 / Matt Jaynes
Intrepid
Titanic
Operation costs per $1M revenue
$144 000
$260
That's over

500 times more!
ernoaapa
Buy as-a-Service all you can!
ernoaapa
$100Developer / day
Costs for the company
5Days
To setup server
$500Total costs
To setting up costs
+$200Costs / Month
Server and maintenance
ernoaapa
Self build and host cost
$100Total costs
To setting up costs
+$99Costs / Month
Grows by needs and usage
ernoaapa
"Buy-as-a-service" cost
$100Developer / day
Costs for the company
1Days
To setup server
-400$!
-101$!
Saas vs self hosted
Costs
Time
Self hosted
SaaS
Huge upfront invest
of time and money
to get started
Startup
rebuilds the stack
here anyway!
ernoaapa
Force team to not depend on you!
ernoaapa
Ɣ
Developer
Production
Ɣ
Test
Manager
Ɣ
Release
Manager
Ɣ
Operations
Engineer
Common enterprise deployment pipeline
Tests (manually)
that new version
works as expected
Decides
when change
can be deployed
Deploy new
version to
production
Risk!
Risk!
Risk!
Risk that
something goes wrong, 

get misunderstood
or work queue up!
ernoaapa
Ɣ
Developer
Production
Provides environment
where is easy to deploy,
get visibility and
it's easy to maintain
Ɣ
Fellow
Developer
Review code changes
and give feedback
Ɣ
Test

Manager
Maintain
testing automation
and help with tests
Ɣ
Operations
Engineer
Autom
ation!
Continuous delivery pipeline
ernoaapa
ernoaapa
My man, Hubro!
Hubot: https://hubot.github.com/
My dad!
I'll deploy "frontweb" project

branch "feature-searchbar" to production


Contains commits:

- Add new search API to backend

- Implement searchbar to the front page
Reviewed: Approved:
Chatops
hubro deploy frontweb/feature-searchbar
ɔ Type to chat...
Developer
Deployment of "frontweb" project branch
"feature-searchbar" completed! Ŏ
Apply same
practice for server
configuration changes
too!
ernoaapa
Hubro
Hubro
@team Alert: response time change +20%
Chatops
hubot show production cpu usage
ɔ Type to chat...
Anyone
Production CPU usage last 7h
ernoaapa
Hubro
Hubro
How can I make team to 

own the monitoring?
ernoaapa
Alert!
ernoaapa
+ +Measure
Collect metrics
from your code
easily with Statsd
Detect
Add Sensu checks
into your project
repository in
JSON file
Alert
Everyone is in
paging team to
wake up for
alerts
ernoaapa
frontend.git
sensu/checks
page_size.json
backend.git
sensu/checks
response_time.json
operations.git
sensu/checks
cpu_usage.json
src/javascript src/java src/ansible
Team maintains
their own checks
and alerts in their
codebase like
they do with code
No need for strange UI,
take the settings to place where
the team is on their own!
ernoaapa
1 Do I really need it?
2 Can I buy it?
3 Can machine do it?
4 Can somebody else do it?
5 Ok, I'll do it!
Ask from yourself before
doing anything!
Build simple software what it easy to
understand. Write tests so it's easy to
maintain and make sure that it's transparent
and easy to operate.
MAKE YOUR SELF REPLACEABLE
ernoaapa
Make the infrastructure as simple as possible
and use SaaS services when it's possible.
Automate all changes and actions and 

push responsibility to solve issues to the team.
MAKE YOUR SELF REPLACEABLE
ernoaapa
Please give feedback

sayat.me/ernoaapa
Thank you!
Credits

Backgrounds: Mehmet Demiray, Turkey
"two companies"-story: Matt Jaynes, Ansible newsletter 9/15
ernoaapa

Contenu connexe

Tendances

Tendances (20)

We've being shifting
We've being shiftingWe've being shifting
We've being shifting
 
Kanban presentation
Kanban presentationKanban presentation
Kanban presentation
 
Kanban stand-up meetings
Kanban stand-up meetingsKanban stand-up meetings
Kanban stand-up meetings
 
Aol desktop gold problems
Aol desktop gold problemsAol desktop gold problems
Aol desktop gold problems
 
Scaling to 150,000 Builds a Month... and Beyond
Scaling to 150,000 Builds a Month... and BeyondScaling to 150,000 Builds a Month... and Beyond
Scaling to 150,000 Builds a Month... and Beyond
 
Cleaning up a WordPress Mess
Cleaning up a WordPress MessCleaning up a WordPress Mess
Cleaning up a WordPress Mess
 
DevOps Finland meetup - Is NoOps possible in the cloud 20181204
DevOps Finland meetup - Is NoOps possible in the cloud 20181204DevOps Finland meetup - Is NoOps possible in the cloud 20181204
DevOps Finland meetup - Is NoOps possible in the cloud 20181204
 
Kanban Methodology
Kanban MethodologyKanban Methodology
Kanban Methodology
 
The Four Principles of Atlassian Performance Tuning
The Four Principles of Atlassian Performance TuningThe Four Principles of Atlassian Performance Tuning
The Four Principles of Atlassian Performance Tuning
 
High availability in IT: AAAARGH
High availability in IT: AAAARGHHigh availability in IT: AAAARGH
High availability in IT: AAAARGH
 
Update Smart: Use a Staging Site!
Update Smart: Use a Staging Site!Update Smart: Use a Staging Site!
Update Smart: Use a Staging Site!
 
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
Building on the Shoulders of Giants: the Story of Bitbucket PipelinesBuilding on the Shoulders of Giants: the Story of Bitbucket Pipelines
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
 
Understand Immutable infrastructure - at Build Stuff Kiev 2016
Understand Immutable infrastructure  - at Build Stuff Kiev 2016Understand Immutable infrastructure  - at Build Stuff Kiev 2016
Understand Immutable infrastructure - at Build Stuff Kiev 2016
 
Summer Startup Academy Session 4 with John Avery from Panasonic
Summer Startup Academy Session 4 with John Avery from PanasonicSummer Startup Academy Session 4 with John Avery from Panasonic
Summer Startup Academy Session 4 with John Avery from Panasonic
 
Testing in Infrastructure
Testing in InfrastructureTesting in Infrastructure
Testing in Infrastructure
 
pp25tutorial
pp25tutorialpp25tutorial
pp25tutorial
 
How to use 25pp
How to use 25ppHow to use 25pp
How to use 25pp
 
Moving from MAMP to Vagrant
Moving from MAMP to VagrantMoving from MAMP to Vagrant
Moving from MAMP to Vagrant
 
Workshop SMAU Milan
Workshop SMAU MilanWorkshop SMAU Milan
Workshop SMAU Milan
 
Kanban in 4 easy steps
Kanban in 4 easy steps Kanban in 4 easy steps
Kanban in 4 easy steps
 

Similaire à Running operations in 2 hours at DevTernity 2015

Functional training day1
Functional training day1Functional training day1
Functional training day1
Satyamitra maan
 
Continues Deployment - Tech Talk week
Continues Deployment - Tech Talk weekContinues Deployment - Tech Talk week
Continues Deployment - Tech Talk week
rantav
 

Similaire à Running operations in 2 hours at DevTernity 2015 (20)

Bycraft Conference - Running operations in 2 hours
Bycraft Conference - Running operations in 2 hoursBycraft Conference - Running operations in 2 hours
Bycraft Conference - Running operations in 2 hours
 
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
 
Functional training day1
Functional training day1Functional training day1
Functional training day1
 
The Business Value of PaaS Automation - Kieron Sambrook-Smith - Presentation ...
The Business Value of PaaS Automation - Kieron Sambrook-Smith - Presentation ...The Business Value of PaaS Automation - Kieron Sambrook-Smith - Presentation ...
The Business Value of PaaS Automation - Kieron Sambrook-Smith - Presentation ...
 
Continuous Delivery: The Dirty Details
Continuous Delivery: The Dirty DetailsContinuous Delivery: The Dirty Details
Continuous Delivery: The Dirty Details
 
Dev Ops without the Ops
Dev Ops without the OpsDev Ops without the Ops
Dev Ops without the Ops
 
Deployment for dev ops with service fabric
Deployment for dev ops with service fabricDeployment for dev ops with service fabric
Deployment for dev ops with service fabric
 
Devops is (not ) a buzzword
Devops is (not ) a buzzwordDevops is (not ) a buzzword
Devops is (not ) a buzzword
 
Jonny wooldridge DevOps Large and Small
Jonny wooldridge DevOps Large and SmallJonny wooldridge DevOps Large and Small
Jonny wooldridge DevOps Large and Small
 
OSMC 2019 | Directing the Director by Martin Schurz
OSMC 2019 | Directing the Director by Martin SchurzOSMC 2019 | Directing the Director by Martin Schurz
OSMC 2019 | Directing the Director by Martin Schurz
 
Mastering DevOps With Oracle
Mastering DevOps With OracleMastering DevOps With Oracle
Mastering DevOps With Oracle
 
Engineering at siroop
Engineering at siroopEngineering at siroop
Engineering at siroop
 
DATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backupDATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backup
 
Continues Deployment - Tech Talk week
Continues Deployment - Tech Talk weekContinues Deployment - Tech Talk week
Continues Deployment - Tech Talk week
 
We-Donut.io presentation of Platform
We-Donut.io presentation of PlatformWe-Donut.io presentation of Platform
We-Donut.io presentation of Platform
 
Aug NYC July 12 event
Aug NYC July 12 eventAug NYC July 12 event
Aug NYC July 12 event
 
Web performance optimization
Web performance optimizationWeb performance optimization
Web performance optimization
 
Can you do DevOps in SAP (DevOps -> SAP)
Can you do DevOps in SAP (DevOps -> SAP)Can you do DevOps in SAP (DevOps -> SAP)
Can you do DevOps in SAP (DevOps -> SAP)
 
Salt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environmentsSalt conf 2014 - Using SaltStack in high availability environments
Salt conf 2014 - Using SaltStack in high availability environments
 
Neotys PAC - Stijn Schepers
Neotys PAC - Stijn SchepersNeotys PAC - Stijn Schepers
Neotys PAC - Stijn Schepers
 

Dernier

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Dernier (20)

Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

Running operations in 2 hours at DevTernity 2015