SlideShare a Scribd company logo
Cloudops fundamentals
    System Management

                   Bret Piatt
           Rackspace Hosting
Static configuration, meet the dodo bird
Severs "appear" based on demand..
Servers "disappear" and it isn't a problem "sometimes"..

Management systems must talk
to the cloud APIs. The source of
truth is no longer "the Visio"..




Diagrams now show functional elements, not specific
systems
"Instant" provisioning is not instant
To provision you have to get data to the new node....

5GB takes 7 minutes on a 100Mbps network..
5TB takes 12 hours on a 1Gbps network..
5PB takes a truck ... or 52 days on a 10Gbps network!
So what do I do with all of my tools?
Many tools end up in the garbage..

..unless they add (or you
write) a dynamic configuration
module..

..Devops, you may need to
code not just script..
Provision by API, configure by hand?!#?

    Chef




                            Puppet
Dev & Ops, sitting in a tree
Your revision control system is not just for source code...




Use it to track all system configuration files...

                           Who hasn't had a dream about the day
                                 they can see every change of a
                                    configuration file on a server
                                        over the entire lifespan?
Meet Pallet, your new cloud creating friend
Chef and Puppet are great for configuring systems...
...but we have to first... have systems to provision!

With Pallet you can create & configure
systems in a management shell..
;; We can create a node, by specifying a name tag and a template.
;; webserver-template is a vector specifying features we want in
;; our image.
(start-node context :webserver webserver-template)

;; At this point we can manage instance counts as a map.
;; e.g ensure that we have two webserver nodes
(with-node-templates templates
  (converge context {:webserver 2}))

;; Images are configured differently between clouds and os's.
;; We might want to update our machines to use the latest
;; package manager. pallet has a couple of templates, and
;; you can add your own, see resources/bootstrap. Templates
;; have a default implementation, but can be specialised
;; for a given tag or operating system family.
(with-node-templates templates
  (converge context {:webserver 1}
    (bootstrap-with (bootstrap-template :ensure-resolve)
              (bootstrap-template :update-pkg-mgr))))
Get it right once, never make a mistake again
Embrace TDD (Test Driven Design) in Ops..

Get the requirements from the business..
1. Maintain 1,000,000 open connections
2. Process 1,000 events per second
3. Run for 1 week without errors

Go build your tests..

Now hack the system until you have a configuration that
passes #1 and #2, then let the tests run until it passes #3..

..and since you built it with Chef/Puppet it is reusable!
Let the software work for you
Continuous Integration (CI) is for operations too!



Ops needs a development world view..

The job isn't done when, "Everything is working normal."

Continually try to improve configurations in the sand box..

..using TDD go from staging to production at improvement
milestones or a "sprint" release cycle...agile operations!
"Those lazy Ops guys.."
Unit tests now become
app monitoring
configuration files..


..eliminate the, "Our test
suite doesn't show the
error you see in
production" conflicts -- maintain a single suite.

def test_sign_up                             http://wiki.github.com/brynary/webrat/
visit "/" click_link "Sign up"
fill_in "Email", :with => "good@example.com"
select "Free account"
click_button "Register" ... end
The moral of the story, "Ops.."
.. is more programatic as APIs replace long lead time steps.

..needs to leverage development best practices.

..is not about just "keeping the lights on."

..is about optimizing everything below the app.

..must change the processes in use today.

..is more technical now than ever before.

..is becoming "software development" at the system level.
Questions?

      Twitter: @bpiatt
bret.piatt@rackspace.com

More Related Content

PDF
Cloud Deployment Toolkit
PPTX
Serverless
PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PPTX
Azure kubernetes service
PPTX
Serverless java
PPTX
Deeplearning and dev ops azure
PPTX
Immutable infrastructure tsap_v2
PDF
Mete Atamel
Cloud Deployment Toolkit
Serverless
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Azure kubernetes service
Serverless java
Deeplearning and dev ops azure
Immutable infrastructure tsap_v2
Mete Atamel

What's hot (20)

PDF
Running containerized application in AWS ECS
PPTX
Azure dev ops
PPTX
Introduction to chef
PPTX
What's new in containers
PDF
DEVOPS AND MACHINE LEARNING
PPTX
Introducing to Azure Functions
PPTX
Genomics data insights
PDF
Contract-based Testing Approach as a Tool for Shift Lef
PPTX
Configure an environnement for ASP.NET Core 2
PDF
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
PPTX
CollabDays 2020 Barcelona - Serverless Kubernetes with KEDA
PPTX
AWS elastic beanstalk
PPT
Building and Deployment of Drupal sites with Features and Context
PPTX
Build and deployment with Jenkins and Code Deploy on AWS
PDF
6 Things You Need to Know to Safely Run Kubernetes
PPTX
Serverless in action
PDF
[143]Inside fuse deview 2016
PPTX
Introduction to-chef
PPTX
DevOps with Kubernetes and Helm - OSCON 2018
PDF
Apache Continuum Build, Test, and Release
Running containerized application in AWS ECS
Azure dev ops
Introduction to chef
What's new in containers
DEVOPS AND MACHINE LEARNING
Introducing to Azure Functions
Genomics data insights
Contract-based Testing Approach as a Tool for Shift Lef
Configure an environnement for ASP.NET Core 2
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
CollabDays 2020 Barcelona - Serverless Kubernetes with KEDA
AWS elastic beanstalk
Building and Deployment of Drupal sites with Features and Context
Build and deployment with Jenkins and Code Deploy on AWS
6 Things You Need to Know to Safely Run Kubernetes
Serverless in action
[143]Inside fuse deview 2016
Introduction to-chef
DevOps with Kubernetes and Helm - OSCON 2018
Apache Continuum Build, Test, and Release
Ad

Similar to Cloudops fundamentals management, tdd, test driven design, continuous integration, CI (20)

PPTX
Puppet - Scaling Configuration Management through Inventories
PDF
OSCON 2012 OpenStack Automation and DevOps Best Practices
PPTX
1 DevOp vs 1.000 servers - Amazon EC2 and Chef automation intro
PPTX
DevoxxUK 2016: "DevOps: Microservices, containers, platforms, tooling... Oh y...
PDF
Agile infrastructure
PDF
Puppet for Sys Admins
PPTX
DevOps and the cloud: all hail the (developer) king - Daniel Bryant, Steve Poole
PPTX
JAXLondon 2015 "DevOps and the Cloud: All Hail the (Developer) King"
PDF
Be DevOps Ready
PDF
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
PDF
Cooking security sans@night
ODP
Automating MySQL operations with Puppet
PDF
Opscode-Eucalyptus Webinar 20110721
PPTX
20171122 aws usergrp_coretech-spn-cicd-aws-v01
PPTX
WinOps Conf 2016 - Michael Greene - Release Pipelines
PDF
Openstack Operations Guide 1st Edition Tom Fifield Diane Fleming
PDF
Availability in a cloud native world v1.6 (Feb 2019)
PPTX
Dev ops and_infrastructure_immunology_v0.4
PDF
Automation through Chef Opscode A Hands on Approach to Chef 1st ed. Edition S...
PDF
Chef in the cloud [dbccg]
Puppet - Scaling Configuration Management through Inventories
OSCON 2012 OpenStack Automation and DevOps Best Practices
1 DevOp vs 1.000 servers - Amazon EC2 and Chef automation intro
DevoxxUK 2016: "DevOps: Microservices, containers, platforms, tooling... Oh y...
Agile infrastructure
Puppet for Sys Admins
DevOps and the cloud: all hail the (developer) king - Daniel Bryant, Steve Poole
JAXLondon 2015 "DevOps and the Cloud: All Hail the (Developer) King"
Be DevOps Ready
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
Cooking security sans@night
Automating MySQL operations with Puppet
Opscode-Eucalyptus Webinar 20110721
20171122 aws usergrp_coretech-spn-cicd-aws-v01
WinOps Conf 2016 - Michael Greene - Release Pipelines
Openstack Operations Guide 1st Edition Tom Fifield Diane Fleming
Availability in a cloud native world v1.6 (Feb 2019)
Dev ops and_infrastructure_immunology_v0.4
Automation through Chef Opscode A Hands on Approach to Chef 1st ed. Edition S...
Chef in the cloud [dbccg]
Ad

More from Bret Piatt (7)

PPTX
3 Tips to Stay Safe Online in 2017
PDF
OpenStack Tutorial
PPTX
Future of Data Storage in the Cloud
PPTX
How Open Source Cloud Platforms Can Solve Big Data Needs in a Location-Aware,...
PPTX
Alternative Database Technology in the Cloud
PPTX
Drupal In The Cloud
PDF
Future of Open Source in a Cloudy World
3 Tips to Stay Safe Online in 2017
OpenStack Tutorial
Future of Data Storage in the Cloud
How Open Source Cloud Platforms Can Solve Big Data Needs in a Location-Aware,...
Alternative Database Technology in the Cloud
Drupal In The Cloud
Future of Open Source in a Cloudy World

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Spectroscopy.pptx food analysis technology
PDF
Network Security Unit 5.pdf for BCA BBA.
Programs and apps: productivity, graphics, security and other tools
Building Integrated photovoltaic BIPV_UPV.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
Agricultural_Statistics_at_a_Glance_2022_0.pdf
sap open course for s4hana steps from ECC to s4
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Big Data Technologies - Introduction.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Spectroscopy.pptx food analysis technology
Network Security Unit 5.pdf for BCA BBA.

Cloudops fundamentals management, tdd, test driven design, continuous integration, CI

  • 1. Cloudops fundamentals System Management Bret Piatt Rackspace Hosting
  • 2. Static configuration, meet the dodo bird Severs "appear" based on demand.. Servers "disappear" and it isn't a problem "sometimes".. Management systems must talk to the cloud APIs. The source of truth is no longer "the Visio".. Diagrams now show functional elements, not specific systems
  • 3. "Instant" provisioning is not instant To provision you have to get data to the new node.... 5GB takes 7 minutes on a 100Mbps network.. 5TB takes 12 hours on a 1Gbps network.. 5PB takes a truck ... or 52 days on a 10Gbps network!
  • 4. So what do I do with all of my tools? Many tools end up in the garbage.. ..unless they add (or you write) a dynamic configuration module.. ..Devops, you may need to code not just script..
  • 5. Provision by API, configure by hand?!#? Chef Puppet
  • 6. Dev & Ops, sitting in a tree Your revision control system is not just for source code... Use it to track all system configuration files... Who hasn't had a dream about the day they can see every change of a configuration file on a server over the entire lifespan?
  • 7. Meet Pallet, your new cloud creating friend Chef and Puppet are great for configuring systems... ...but we have to first... have systems to provision! With Pallet you can create & configure systems in a management shell.. ;; We can create a node, by specifying a name tag and a template. ;; webserver-template is a vector specifying features we want in ;; our image. (start-node context :webserver webserver-template) ;; At this point we can manage instance counts as a map. ;; e.g ensure that we have two webserver nodes (with-node-templates templates (converge context {:webserver 2})) ;; Images are configured differently between clouds and os's. ;; We might want to update our machines to use the latest ;; package manager. pallet has a couple of templates, and ;; you can add your own, see resources/bootstrap. Templates ;; have a default implementation, but can be specialised ;; for a given tag or operating system family. (with-node-templates templates (converge context {:webserver 1} (bootstrap-with (bootstrap-template :ensure-resolve) (bootstrap-template :update-pkg-mgr))))
  • 8. Get it right once, never make a mistake again Embrace TDD (Test Driven Design) in Ops.. Get the requirements from the business.. 1. Maintain 1,000,000 open connections 2. Process 1,000 events per second 3. Run for 1 week without errors Go build your tests.. Now hack the system until you have a configuration that passes #1 and #2, then let the tests run until it passes #3.. ..and since you built it with Chef/Puppet it is reusable!
  • 9. Let the software work for you Continuous Integration (CI) is for operations too! Ops needs a development world view.. The job isn't done when, "Everything is working normal." Continually try to improve configurations in the sand box.. ..using TDD go from staging to production at improvement milestones or a "sprint" release cycle...agile operations!
  • 10. "Those lazy Ops guys.." Unit tests now become app monitoring configuration files.. ..eliminate the, "Our test suite doesn't show the error you see in production" conflicts -- maintain a single suite. def test_sign_up http://wiki.github.com/brynary/webrat/ visit "/" click_link "Sign up" fill_in "Email", :with => "good@example.com" select "Free account" click_button "Register" ... end
  • 11. The moral of the story, "Ops.." .. is more programatic as APIs replace long lead time steps. ..needs to leverage development best practices. ..is not about just "keeping the lights on." ..is about optimizing everything below the app. ..must change the processes in use today. ..is more technical now than ever before. ..is becoming "software development" at the system level.
  • 12. Questions? Twitter: @bpiatt bret.piatt@rackspace.com