SlideShare a Scribd company logo
1 of 43
Deployment
Lee @codebeaker Hambley
Nobody cares!
What’s involved?
Application vs.
Infrastructure
Infrastructure   Application
Operating System




Infrastructure             Application
Operating System

            Certificates




Infrastructure             Application
Operating System

            Certificates

       Package Manager(s)




Infrastructure              Application
Operating System

            Certificates

       Package Manager(s)

                            Keys




Infrastructure                     Application
Operating System

            Certificates

       Package Manager(s)

                            Keys

                            Github




Infrastructure                       Application
Operating System

            Certificates

       Package Manager(s)

                                 Keys

                                Github

                            Log Configuration




Infrastructure                                 Application
Operating System

            Certificates

       Package Manager(s)

                                 Keys

                                Github

                            Log Configuration

                                        Virtual Host Configuration




Infrastructure                                                      Application
Operating System

            Certificates

       Package Manager(s)

                                 Keys

                                Github

                            Log Configuration

                                        Virtual Host Configuration

                                                           Application Code




Infrastructure                                                                Application
Operating System

            Certificates

       Package Manager(s)

                                                Keys

                                               Github

                                           Log Configuration

                                                       Virtual Host Configuration

                          Scheduled Jobs                                  Application Code




Infrastructure                                                                               Application
Operating System

            Certificates

       Package Manager(s)

                                                Keys

                                               Github

                                           Log Configuration

                                                       Virtual Host Configuration

                          Scheduled Jobs                                  Application Code

                                                                Database Configuration




Infrastructure                                                                               Application
Operating System

            Certificates

       Package Manager(s)

                                                Keys

                                               Github

                                           Log Configuration

                                                       Virtual Host Configuration

                          Scheduled Jobs                                  Application Code

                                                                Database Configuration

                                           Cache Configuration




Infrastructure                                                                               Application
Operating System

            Certificates

       Package Manager(s)

                                                Keys

                                               Github

                                           Log Configuration

                                                       Virtual Host Configuration

                          Scheduled Jobs                                  Application Code

                                                                Database Configuration

                                           Cache Configuration

                                               Log Data




Infrastructure                                                                               Application
Operating System

            Certificates

       Package Manager(s)

                                                  Keys

                                                 Github

                                             Log Configuration

                                                         Virtual Host Configuration

                            Scheduled Jobs                                  Application Code

                                                                  Database Configuration

                                             Cache Configuration

                                                 Log Data

                 Database

Infrastructure                                                                                 Application
Typical stack?
Nginx

     Resque

Unicorn / Unicorn /

  Rails / Sinatra

     Resque

  Elastic Search

              JVM

      Redis

   Memcached

    PostgreSQL

     logrotate

       cron
Tools?
Bosh       Puppet
         Vlad
                         Heroku
                Chef
Mina                   Scalarium
       Capistrano
Provisioning Configuration Deployment
 Puppet
  Chef
  BOSH
   Vlad
Capistrano
  Mina
 Heroku
Scalarium
UNIX™ Philosophy
Lots of small tools, each
    doing one thing.
Offenders
Apache
Passenger mod_rails
Monit
Because some tools are
       missing?
Truth Source

                                   Process Signaling


                       Graceful Restarts†

† Through signaling?
Truth Source
                       JSON/YAML Files?

                                          Process Signaling
                                           man (1) kill



                       Graceful Restarts†
        sudo kill -USR2 $(cat ./tmp/unicorn.pid)

† Through signaling?
Heroku?
http://12factor.net/
Lightening Quiz
# > touch /tmp/some-file

$ > touch /tmp/some-file
$ sudo su someuser

$ sudo su - someuser
Somebody wants to
start working on open
       source?
Signal a process when a
   checksum changes
I’ll help you.
спасибо

Thank You!

Dankeschön!

  дзякуй
http://lee.hambley.name/

More Related Content

Viewers also liked (17)

Aca interior
Aca interiorAca interior
Aca interior
 
Kamchia 2-05-en-hd
Kamchia 2-05-en-hdKamchia 2-05-en-hd
Kamchia 2-05-en-hd
 
Mag rails 2011 web application deployment for small teams
Mag rails 2011   web application deployment for small teamsMag rails 2011   web application deployment for small teams
Mag rails 2011 web application deployment for small teams
 
Mobile Marketing 2008 D2C
Mobile Marketing 2008 D2CMobile Marketing 2008 D2C
Mobile Marketing 2008 D2C
 
Intermediate Capistrano
Intermediate  CapistranoIntermediate  Capistrano
Intermediate Capistrano
 
Spm Bm Apr Rm 4
Spm Bm Apr Rm 4Spm Bm Apr Rm 4
Spm Bm Apr Rm 4
 
Pgjrn Puisi Mly Moden
Pgjrn Puisi Mly ModenPgjrn Puisi Mly Moden
Pgjrn Puisi Mly Moden
 
Teknik Pgjrn Cerpen
 Teknik Pgjrn Cerpen Teknik Pgjrn Cerpen
Teknik Pgjrn Cerpen
 
Sesion 3
Sesion 3Sesion 3
Sesion 3
 
Informe
InformeInforme
Informe
 
Food pic5
Food pic5Food pic5
Food pic5
 
Mapes !
Mapes !Mapes !
Mapes !
 
diapositivas
diapositivasdiapositivas
diapositivas
 
0244 001
0244 0010244 001
0244 001
 
Affiche asteroïden
Affiche asteroïdenAffiche asteroïden
Affiche asteroïden
 
Suljee cem 1
Suljee cem 1Suljee cem 1
Suljee cem 1
 
Approach sqlinjection
Approach sqlinjectionApproach sqlinjection
Approach sqlinjection
 

Similar to Ruby Open Air presentation

Getting started with Puppet
Getting started with PuppetGetting started with Puppet
Getting started with Puppet
jeyg
 
Mee go是您的新机遇
Mee go是您的新机遇Mee go是您的新机遇
Mee go是您的新机遇
OpenSourceCamp
 
Enterprise Source and Release Management Using StratoSource
Enterprise Source and Release Management Using StratoSourceEnterprise Source and Release Management Using StratoSource
Enterprise Source and Release Management Using StratoSource
Salesforce Developers
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITPro
Enrique Lima
 
SF DevOps: Introducing Vagrant
SF DevOps: Introducing VagrantSF DevOps: Introducing Vagrant
SF DevOps: Introducing Vagrant
Mitchell Hashimoto
 

Similar to Ruby Open Air presentation (20)

Getting started with Puppet
Getting started with PuppetGetting started with Puppet
Getting started with Puppet
 
ANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
ANODE – Continuous Deployment with Node.js over Azure, Yosef DinersteinANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
ANODE – Continuous Deployment with Node.js over Azure, Yosef Dinerstein
 
Accelerate your PaaS to the Mobile World: Silicon Valley Code Camp 2012
Accelerate your PaaS to the Mobile World: Silicon Valley Code Camp 2012Accelerate your PaaS to the Mobile World: Silicon Valley Code Camp 2012
Accelerate your PaaS to the Mobile World: Silicon Valley Code Camp 2012
 
Mee go是您的新机遇
Mee go是您的新机遇Mee go是您的新机遇
Mee go是您的新机遇
 
Enterprise Source and Release Management Using StratoSource
Enterprise Source and Release Management Using StratoSourceEnterprise Source and Release Management Using StratoSource
Enterprise Source and Release Management Using StratoSource
 
Configuration management benefits for everyone - Rudder @ FLOSSUK Spring Conf...
Configuration management benefits for everyone - Rudder @ FLOSSUK Spring Conf...Configuration management benefits for everyone - Rudder @ FLOSSUK Spring Conf...
Configuration management benefits for everyone - Rudder @ FLOSSUK Spring Conf...
 
Balconies, Patios, Terraces, and Bridges. Architectural approaches for moving...
Balconies, Patios, Terraces, and Bridges. Architectural approaches for moving...Balconies, Patios, Terraces, and Bridges. Architectural approaches for moving...
Balconies, Patios, Terraces, and Bridges. Architectural approaches for moving...
 
SharePoint 2010 as a Development Platform
SharePoint 2010 as a Development PlatformSharePoint 2010 as a Development Platform
SharePoint 2010 as a Development Platform
 
Introducing PaaS in a Box - Scalable, Flexible, Portable PHP in the Cloud
Introducing PaaS in a Box - Scalable, Flexible, Portable PHP in the CloudIntroducing PaaS in a Box - Scalable, Flexible, Portable PHP in the Cloud
Introducing PaaS in a Box - Scalable, Flexible, Portable PHP in the Cloud
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITPro
 
Software Testen mit Visual Studio Lab Management
Software Testen mit Visual Studio Lab ManagementSoftware Testen mit Visual Studio Lab Management
Software Testen mit Visual Studio Lab Management
 
Team Development and Release Management
Team Development and Release ManagementTeam Development and Release Management
Team Development and Release Management
 
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
(ATS3-GS03) Accelrys Enterprise Platform Deeper Dive
 
Rudder - Configuration management benefits for everyone (FOSDEM 2012)
Rudder - Configuration management benefits for everyone (FOSDEM 2012)Rudder - Configuration management benefits for everyone (FOSDEM 2012)
Rudder - Configuration management benefits for everyone (FOSDEM 2012)
 
(ATS3-DEV05) Coding up Pipeline Pilot Components
(ATS3-DEV05) Coding up Pipeline Pilot Components(ATS3-DEV05) Coding up Pipeline Pilot Components
(ATS3-DEV05) Coding up Pipeline Pilot Components
 
Japan aws user group osaka study session #0 LT: DevOps
Japan aws user group osaka study session #0   LT: DevOpsJapan aws user group osaka study session #0   LT: DevOps
Japan aws user group osaka study session #0 LT: DevOps
 
Dell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-publicDell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-public
 
SF DevOps: Introducing Vagrant
SF DevOps: Introducing VagrantSF DevOps: Introducing Vagrant
SF DevOps: Introducing Vagrant
 
Architecting for continuous delivery (33rd Degree)
Architecting for continuous delivery (33rd Degree)Architecting for continuous delivery (33rd Degree)
Architecting for continuous delivery (33rd Degree)
 
Yann Albou & Sébastien Féré - GitOps as a way to manage enterprise K8s and vi...
Yann Albou & Sébastien Féré - GitOps as a way to manage enterprise K8s and vi...Yann Albou & Sébastien Féré - GitOps as a way to manage enterprise K8s and vi...
Yann Albou & Sébastien Féré - GitOps as a way to manage enterprise K8s and vi...
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Ruby Open Air presentation

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n