SlideShare a Scribd company logo
Continuous Delivery in the Cloud
@flessa


  github.com/flessa
@nigelfds


  github.com/nigelfds
Continuous Delivery in the Cloud
BIG IDEAS
Real World
 Tested
What are we talking about?
Agenda
Ideas behind this workshop
       Ideas in practice
      Continuous integration
        System integration
      Production deployment

           Summary

          Questions
Infrastructure as code
Application


Environment


Infrastructure
Continuous Delivery in the Cloud
consistency from development to
           production

   accidental                     necessary
                             >>   inconsistency
inconsistency


 deployment process
 environment configuration
 testing tools
Automation
Rebuild from
 code + data
Continuous Delivery in the Cloud
Disk

          CPU
Network

            Memory
Continuous Delivery in the Cloud
Dev   Ops




Ops   Dev
In short.
1               2         3




Infrastructure   Automate   DevOps
    as code
continuous delivery

                   small feature chunks

                                                         time



software always production ready
   releases tied to business needs, not IT constraints

minimize the lead time from idea to live
  concept to cash
Agenda
Ideas behind this workshop

 Ideas in practice
  Continuous integration
    System integration
  Production deployment

        Summary

        Questions
Sample Application
     for #AWS Tweets




Sample
 App
github.com/nigelfds/aws-twitter-feed
WebApp


      Java/JVM

   Executable War      ~ 30 lines
                        of code
    Unix Service


Native Packaging/RPM
Lets see this working
Continuous Delivery in the Cloud
I win with




       Continuous Integration
while (true) {
     if (change checked into vcs) then build & test
     sleep 60
}
aws-twitter-feed repository


while (true) {
     if (change checked into vcs) then build & test
     sleep 60
}




                                                  RPM
Building Useful Servers
Application


Environment


Infrastructure
Puppet is IT automation software that helps system
administrators manage infrastructure
throughout its lifecycle, from
provisioning and configuration
to patch management and compliance.
Puppet definition for our GO machine
Puppet definition continued…
Don’t make the Version Control Sad
github.com/nigelfds/configuration-
                        master


Puppet definitions
and AWS scripts
To keep things moving, lets kick it off
S3 Bucket


           Self Configured
                                                        Puppet & AWS
   Build                                                   scripts
  Server

                                             Packaged
                                             Scripts
                      Cloud
                    Formation
                       APIs


                                   Create
                                   Machine
Behind the scenes
                                                    Nigel’s Laptop
AWS CloudFormation gives developers
and systems administrators an easy way to
create and manage a collection of
related AWS resources.
Once deployed, you can modify and update the AWS resources in a
controlled and predictable way allowing
                                you to version
control your AWS infrastructure in the same way
as you version control your software
Cloud Formation Template
…
…
 "Resources" : {
  "Ec2Instance" : {
    "Type" : "AWS::EC2::Instance",
    "Properties" : {
      "InstanceType" : "c1.medium",
      "SecurityGroups" : [ { "Ref" : "InstanceSecurityGroup" } ],
      "KeyName" : { "Ref" : "KeyName" },
      "ImageId" : { "Fn::FindInMap" : [ "RegionMap", { "Ref" : "AWS::Region" }, "AMI" ]},
      "UserData": { "Ref": "BootScript" }
    }
  },
…
…
Creating the stack with CloudFormation




Name of the stack                         Create the stack

                    Self configuration scripts (Invokes Puppet)
Lets see how we’re doing
Repeatable & Continuous
Continuous Delivery in the Cloud
Puppet definition for our GO machine




                          Server
                          Monitoring
In Short
Packaging for the target ( Using   PMs)


Continuous Integration (Using      )


Declarative Env. Conf. (Using          )


Infrastructure as Code (Using              )
Agenda
Ideas behind this workshop

    Ideas in practice
  Continuous integration
System integration
  Production deployment

        Summary

        Questions
Everything works by itself
But they need to work together
Bring in the conductor



        =
Complex !
How does this look in
Continuous Delivery in the Cloud
Self Configured    GO
                               Server
    App
   Server



                   Cloud
                 Formation
                    APIs




Behind the scenes
Creating the AMI




      Create an AMI from the running instace


                    Save a reference to the Image Id
Delete the running instance
Lets see this on AWS
Snapshot -> AMIs
  are awesome
Boot   Test      QA
          =
Speed   Prod   Instances
Agenda
 Ideas behind this workshop

      Ideas in practice
   Continuous integration
     System integration
Production deployment
         Summary

         Questions
To keep things moving, lets kick it off
ELB

                  Remove
            ZERO DOWNTIME !
                  ID-1
                  ID-2



              Autoscaling


Terminate
Instance              APP          APP
ID-1
ID-2                  V2.0
                      V1.0         V2.0
                                   V1.0


                      ID-3
                      ID-1         ID-2
                                   ID-4
Lets see this working
Agenda
Ideas behind this workshop

     Ideas in practice
  Continuous integration
    System integration
  Production deployment

      Summary
        Questions
1               2         3




Infrastructure   Automate   DevOps
    as code
Thank you and …
“How? By fast, automated of your on
 the production readiness
                          feedback

  applications every time there is a change
  whether code, infrastructure,
  configuration or database
                            ”
                                Jez Humble
                                Author
                                Continuous Delivery
Ps. We’re hiring ;-)

More Related Content

PDF
Test-Driven Infrastructure with CloudFormation and Cucumber.
PDF
Cloudops fundamentals management, tdd, test driven design, continuous integra...
PDF
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
PDF
Implementing Infrastructure as Code ConfigMgtCamp 2017
PDF
PPTX
Step by Step to learn Azure and get MCSE
PDF
[JAZUG Tohoku Azure DevOps] Azure DevOps
PDF
[AWS Dev Day] 실습워크샵 | 모두를 위한 컴퓨터 비전 딥러닝 툴킷, GluonCV 따라하기
Test-Driven Infrastructure with CloudFormation and Cucumber.
Cloudops fundamentals management, tdd, test driven design, continuous integra...
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Implementing Infrastructure as Code ConfigMgtCamp 2017
Step by Step to learn Azure and get MCSE
[JAZUG Tohoku Azure DevOps] Azure DevOps
[AWS Dev Day] 실습워크샵 | 모두를 위한 컴퓨터 비전 딥러닝 툴킷, GluonCV 따라하기

What's hot (18)

KEY
Building cloud-tools-for-netflix-code mash2012
PPTX
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
PPTX
Automated Release Pipelines with Azure DevOps
PDF
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | Edureka
PPTX
PowerShell and Azure DevOps
PPTX
Azure DevOps in Action
PPTX
Centralized configuration with azure app configuration
PDF
Azure DevOps for .NET - Fall into the Pit of Success, .NET Conf 2019
PPTX
Azure DevOps: the future of integration and traceability
PDF
Build embedded and IoT solutions with Microsoft Windows IoT Core (BRK30077)
PDF
アウトプットしよう これはあなたの成長の物語
PPTX
Exposing services with Azure API Management
PPTX
Azure for software development teams
PDF
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
PDF
Kubernetes on IBM Cloud + DevOps コンテナCIで簡易アプリ作ってみた
PDF
Azure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
PPTX
Azure DevOps for Developers
PDF
.NET Online TechTalk “Azure Cloud for DEV”
Building cloud-tools-for-netflix-code mash2012
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
Automated Release Pipelines with Azure DevOps
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | Edureka
PowerShell and Azure DevOps
Azure DevOps in Action
Centralized configuration with azure app configuration
Azure DevOps for .NET - Fall into the Pit of Success, .NET Conf 2019
Azure DevOps: the future of integration and traceability
Build embedded and IoT solutions with Microsoft Windows IoT Core (BRK30077)
アウトプットしよう これはあなたの成長の物語
Exposing services with Azure API Management
Azure for software development teams
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
Kubernetes on IBM Cloud + DevOps コンテナCIで簡易アプリ作ってみた
Azure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
Azure DevOps for Developers
.NET Online TechTalk “Azure Cloud for DEV”
Ad

Viewers also liked (16)

DOC
PRTE 640 Evaluación Kirkpatrick del Proyecto de V. Cotto
PPSX
auberge gardoise
PPTX
Nghiên cứu Marketing - Chương 5 : Đo lường
PPTX
Taking Your GWT App to Tablets with GXT 4.0
PDF
Standardization Andean Languages
PPTX
La concepción del mundo
PDF
Phau thuat mieng tap 1 nxb giao duc by phuhmtu
 
PDF
Team Support in Concourse CI 2.0 #concourse_tokyo
PDF
なぜデータモデリングが重要なのか?
PDF
ビックデータ最適解とAWSにおける新しい武器
PPT
лицей пушкина
PDF
Armes silencieuses pour guerres tranquilles
PPTX
Voice analytics
PPTX
ARCHITECTURE MICROSERVICE : TOUR D’HORIZON DU CONCEPT ET BONNES PRATIQUES
PDF
Les outils de suivi ( Frédéric Gigandet,Hôpital du Jura bernois)
PRTE 640 Evaluación Kirkpatrick del Proyecto de V. Cotto
auberge gardoise
Nghiên cứu Marketing - Chương 5 : Đo lường
Taking Your GWT App to Tablets with GXT 4.0
Standardization Andean Languages
La concepción del mundo
Phau thuat mieng tap 1 nxb giao duc by phuhmtu
 
Team Support in Concourse CI 2.0 #concourse_tokyo
なぜデータモデリングが重要なのか?
ビックデータ最適解とAWSにおける新しい武器
лицей пушкина
Armes silencieuses pour guerres tranquilles
Voice analytics
ARCHITECTURE MICROSERVICE : TOUR D’HORIZON DU CONCEPT ET BONNES PRATIQUES
Les outils de suivi ( Frédéric Gigandet,Hôpital du Jura bernois)
Ad

Similar to Continuous Delivery in the Cloud (20)

PPTX
LAST Conference - Dev-Ops and Continuous Delivery
PPTX
Continuous Deployment with Amazon Web Services by Carlos Conde
PDF
Infrastructure as Code
PDF
Introduction to DevOps
PPTX
Introduction to DevOps on AWS
PDF
DevOps Spain 2019. Pedro Mendoza-AWS
PDF
CI/CD Pipelines for Your Infrastructure...as Code!
PPTX
How Easy to Automate Application Deployment on AWS
PDF
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
PDF
Continuous Deployment @ AWS Re:Invent
PDF
Amazon Web Services
PDF
Overview of Amazon Web Services
PDF
Aws in enterprise applications
PPTX
Immutable infrastructure isn’t the answer
PDF
DevOps and AWS
PPTX
AWS DevDay Berlin - Automating building blocks choices you will face with con...
PDF
Aws and Alfresco Solutions
PDF
Getting to Walk with DevOps
PDF
AWS_DevOps
PDF
Jeff barr Seattle_interactive_2011_q4
LAST Conference - Dev-Ops and Continuous Delivery
Continuous Deployment with Amazon Web Services by Carlos Conde
Infrastructure as Code
Introduction to DevOps
Introduction to DevOps on AWS
DevOps Spain 2019. Pedro Mendoza-AWS
CI/CD Pipelines for Your Infrastructure...as Code!
How Easy to Automate Application Deployment on AWS
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Deployment @ AWS Re:Invent
Amazon Web Services
Overview of Amazon Web Services
Aws in enterprise applications
Immutable infrastructure isn’t the answer
DevOps and AWS
AWS DevDay Berlin - Automating building blocks choices you will face with con...
Aws and Alfresco Solutions
Getting to Walk with DevOps
AWS_DevOps
Jeff barr Seattle_interactive_2011_q4

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Approach and Philosophy of On baking technology
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Machine learning based COVID-19 study performance prediction
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
NewMind AI Monthly Chronicles - July 2025
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Approach and Philosophy of On baking technology
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Modernizing your data center with Dell and AMD
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Per capita expenditure prediction using model stacking based on satellite ima...
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine learning based COVID-19 study performance prediction

Continuous Delivery in the Cloud