SlideShare a Scribd company logo
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Vladimir Simek, Solutions Architect, AWS
21st May 2015
Continuous Integration and
Deployment on AWS
Prague AWS User Group
Agenda
• The Age of DevOps
• AWS Offering for DevOps
• CodeCommit
• CodePipeline
• CodeDeploy
• Demos
• Q&A
Software is eating the world1
1 Wall Street Journal article by Marc Andreessen (2011)
Software distribution and development changes
DevOps Principles
Definition
Collaboration - work as one team end to
end
Breakdown the barriers between
developers and IT ops
Continuous integration & deployment
Treat Infrastructure as code
Support business and IT agility
Automate everything
Test everything
Measure & monitor everything
AWS Offering for CI & CD
MonitorProvisionDeployTestBuildCode
Elastic Beanstalk
OpsWorks
Cloud
Watch
Cloud
Formation
Code
Deploy
Code
Commit
(preview)
Code
Pipeline
(preview)
Coding Phase
Developer creates a code.
How and where to store it? How to get the following functionality?
• Tracking all changes
• Distributed to allow collaboration
• Branching and merging
• Option to switch across different versions
Version Control System
AWS CodeCommit
AWS CodeCommit
git push CodeCommit
Git objects
in Amazon S3
Git index
in Amazon
DynamoDB
Encryption key
in AWS KMS
SSH or Smart HTTP
• Data redundancy across Availability Zones
• Data-at-rest encryption
• Integrated with AWS Identity and Access Management
• No repo size limit
Secure, scalable and managed source control
Demo (Code Commit / Git)
Build and Test Phase
1. Developers deploy code to the version control system (CodeCommit, Git)
2. SysOps build and deploy the software to the testing / staging environment
3. Q&A team executes load and performance test so the software can be
released for production use
AWS CodePipeline
AWS CodePipeline
Continuous Delivery and Release Automation
• Customizable workflow engine
• Integrate with partner and custom systems
• Visual editor and status
Source Staging Region 2
Region 3
Build
Unit
Tests
Deploy
UI
Test
DeployDeploy
Region 1
How CodePipeline Works
Deployment Phase
Software has to be deployed to different environments (dev/test/staging/production)
Deployment has to be automated as much as possible to minimize downtime
In case of issues, it has to allow roll-back to the previous version
AWS CodeDeploy
AWS CodeDeploy
• Automated application deployments to EC2,
and any Internet-connected computer
• Consistent and reliable releases, without downtime
• Scale from 1 instance to thousands
• Centralize deployment control and monitoring
Coordinate automated deployments, just like Amazon
How CodeDeploy Works
Agent Agent
Agent Agent
Agent
Agent
Deployment Group
Deployment
Amazon S3
GitHub
Application
Bundle
Coordinate automated deployments, just like Amazon
Deployment config – choose speed
v2 v1 v1 v1 v1 v1 v1 v1One at a time
v2 v2 v2 v2 v1 v1 v1 v1
v2 v2 v2 v2 v2 v2 v2 v2
Half-at-a-time
All-at-once
Rolling update – Deploy without downtime
Load Balancer
v1 v1 v1v1
Rolling update – Deploy without downtime
Load Balancer
v1 v1 v1v2
Rolling update – Deploy without downtime
Load Balancer
v1 v1v2 v2
Rolling update – Deploy without downtime
Load Balancer
v1 v2v2 v2
Rolling update – Deploy without downtime
Load Balancer
v1 v2v2 v2
Health Tracking – Catch Deployment Problems
Load Balancer
v1 v2v2 v2
Health Tracking – Catch Deployment Problems
Load Balancer
v1 v2v3 v2Stop
Health Tracking – Catch Deployment Problems
Load Balancer
v1 v2v3 v2
Rollback
Health Tracking – Catch Deployment Problems
Load Balancer
v1 v2v2 v2
Demo (CodeDeploy / CodePipeline)
Product Integrations
Thank you

More Related Content

PPTX
How to run your Hadoop Cluster in 10 minutes
PDF
Travel hackathon
PDF
Feedback on AWS re:invent 2016
PDF
Alfresco Summit 2014 London - Customer Case CIRB_CIBG
PDF
Reduce costs by using CICD for OpenStack
PPTX
Docker Indy Meetup - CICD 26-May-2015
PDF
Space Invading: an approach to sensing
PDF
Bringing Wireless Sensing to its full potential
How to run your Hadoop Cluster in 10 minutes
Travel hackathon
Feedback on AWS re:invent 2016
Alfresco Summit 2014 London - Customer Case CIRB_CIBG
Reduce costs by using CICD for OpenStack
Docker Indy Meetup - CICD 26-May-2015
Space Invading: an approach to sensing
Bringing Wireless Sensing to its full potential

Viewers also liked (10)

PPTX
Getting started with Serverless on AWS
PDF
Being Well Architected in the Cloud
PDF
8 ways to leverage AWS Lambda in your Big Data workloads
ZIP
Continuous Integration, Build Pipelines and Continuous Deployment
PPTX
Derive Insight from IoT data in minute with AWS
PDF
AWS re:Invent 2016 Day 1 Keynote re:Cap
PDF
AWS re:Invent 2016 Day 2 Keynote re:Cap
PPT
CI and CD with Jenkins
PDF
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
PDF
Death by PowerPoint
Getting started with Serverless on AWS
Being Well Architected in the Cloud
8 ways to leverage AWS Lambda in your Big Data workloads
Continuous Integration, Build Pipelines and Continuous Deployment
Derive Insight from IoT data in minute with AWS
AWS re:Invent 2016 Day 1 Keynote re:Cap
AWS re:Invent 2016 Day 2 Keynote re:Cap
CI and CD with Jenkins
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Death by PowerPoint
Ad

Similar to CI&CD with AWS - AWS Prague User Group - May 2015 (20)

PPTX
CI/CD on AWS
PDF
AWS CodeCommit, CodeDeploy & CodePipeline
PDF
A Pathway to Continuous Integration/Continuous Delivery on AWS
PDF
CI/CD Pipelines for Your Infrastructure...as Code!
PDF
Continuous Deployment with Amazon Web Services
PPTX
DevOps On AWS - Deep Dive on Continuous Delivery
PPTX
AWS Codepipeline presented by Techserverglobal
PDF
20201012 - Serverless Architecture Conference - Deploying serverless applicat...
PPTX
DevOps and AWS - Code PaLOUsa 2017
PDF
CI&CD on AWS - Meetup Roma Oct 2016
PPTX
Devops on AWS
PDF
DevOps and AWS
PDF
DevOps with Amazon Web Services (November 2016)
PDF
CI & CD on Amazon Web Services
PDF
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
PDF
Community day _aws_ci_cd_v0.2
PDF
Devops with Amazon Web Services (January 2017)
PDF
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
PPTX
CICD Pipeline - AWS Azure
PDF
DevOps Spain 2019. Pedro Mendoza-AWS
CI/CD on AWS
AWS CodeCommit, CodeDeploy & CodePipeline
A Pathway to Continuous Integration/Continuous Delivery on AWS
CI/CD Pipelines for Your Infrastructure...as Code!
Continuous Deployment with Amazon Web Services
DevOps On AWS - Deep Dive on Continuous Delivery
AWS Codepipeline presented by Techserverglobal
20201012 - Serverless Architecture Conference - Deploying serverless applicat...
DevOps and AWS - Code PaLOUsa 2017
CI&CD on AWS - Meetup Roma Oct 2016
Devops on AWS
DevOps and AWS
DevOps with Amazon Web Services (November 2016)
CI & CD on Amazon Web Services
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
Community day _aws_ci_cd_v0.2
Devops with Amazon Web Services (January 2017)
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
CICD Pipeline - AWS Azure
DevOps Spain 2019. Pedro Mendoza-AWS
Ad

More from Vladimir Simek (16)

PDF
Machine Learning with Amazon SageMaker
PDF
AWS CZSK Webinář 2020.03: AWS Outposts
PDF
AWS CZSK Webinar - Migrácia desktopov a aplikácií do AWS cloudu s Amazon Work...
PDF
News from re:Invent 2019
PDF
Serverless on AWS: Architectural Patterns and Best Practices
PDF
AWS CZSK Webinar 2019.07: Databazy na AWS
PDF
AWS CZSK Webinář 2019.05: Jak chránit vaše webové aplikace před DDoS útoky
PDF
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
PDF
AWS Česko-Slovenský Webinár 03: Vývoj v AWS
PDF
Gaming with AWS
PDF
Artificial Intelligence (Machine Learning) on AWS: How to Start
PDF
Artificial Intelligence (Machine Learning) on AWS: How to Start
PDF
AWS Webinar CZSK 02 Bezpecnost v AWS cloudu
PDF
AWS Webinar CZSK Uvod do cloud computingu
PDF
Introduction to EKS (AWS User Group Slovakia)
PDF
Running Docker Containers on AWS
Machine Learning with Amazon SageMaker
AWS CZSK Webinář 2020.03: AWS Outposts
AWS CZSK Webinar - Migrácia desktopov a aplikácií do AWS cloudu s Amazon Work...
News from re:Invent 2019
Serverless on AWS: Architectural Patterns and Best Practices
AWS CZSK Webinar 2019.07: Databazy na AWS
AWS CZSK Webinář 2019.05: Jak chránit vaše webové aplikace před DDoS útoky
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
AWS Česko-Slovenský Webinár 03: Vývoj v AWS
Gaming with AWS
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to Start
AWS Webinar CZSK 02 Bezpecnost v AWS cloudu
AWS Webinar CZSK Uvod do cloud computingu
Introduction to EKS (AWS User Group Slovakia)
Running Docker Containers on AWS

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation theory and applications.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation theory and applications.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Understanding_Digital_Forensics_Presentation.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Reach Out and Touch Someone: Haptics and Empathic Computing
Building Integrated photovoltaic BIPV_UPV.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Review of recent advances in non-invasive hemoglobin estimation
Cloud computing and distributed systems.

CI&CD with AWS - AWS Prague User Group - May 2015

  • 1. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Vladimir Simek, Solutions Architect, AWS 21st May 2015 Continuous Integration and Deployment on AWS Prague AWS User Group
  • 2. Agenda • The Age of DevOps • AWS Offering for DevOps • CodeCommit • CodePipeline • CodeDeploy • Demos • Q&A
  • 3. Software is eating the world1 1 Wall Street Journal article by Marc Andreessen (2011)
  • 4. Software distribution and development changes
  • 5. DevOps Principles Definition Collaboration - work as one team end to end Breakdown the barriers between developers and IT ops Continuous integration & deployment Treat Infrastructure as code Support business and IT agility Automate everything Test everything Measure & monitor everything
  • 6. AWS Offering for CI & CD MonitorProvisionDeployTestBuildCode Elastic Beanstalk OpsWorks Cloud Watch Cloud Formation Code Deploy Code Commit (preview) Code Pipeline (preview)
  • 7. Coding Phase Developer creates a code. How and where to store it? How to get the following functionality? • Tracking all changes • Distributed to allow collaboration • Branching and merging • Option to switch across different versions Version Control System
  • 9. AWS CodeCommit git push CodeCommit Git objects in Amazon S3 Git index in Amazon DynamoDB Encryption key in AWS KMS SSH or Smart HTTP • Data redundancy across Availability Zones • Data-at-rest encryption • Integrated with AWS Identity and Access Management • No repo size limit Secure, scalable and managed source control
  • 11. Build and Test Phase 1. Developers deploy code to the version control system (CodeCommit, Git) 2. SysOps build and deploy the software to the testing / staging environment 3. Q&A team executes load and performance test so the software can be released for production use
  • 13. AWS CodePipeline Continuous Delivery and Release Automation • Customizable workflow engine • Integrate with partner and custom systems • Visual editor and status Source Staging Region 2 Region 3 Build Unit Tests Deploy UI Test DeployDeploy Region 1
  • 15. Deployment Phase Software has to be deployed to different environments (dev/test/staging/production) Deployment has to be automated as much as possible to minimize downtime In case of issues, it has to allow roll-back to the previous version
  • 17. AWS CodeDeploy • Automated application deployments to EC2, and any Internet-connected computer • Consistent and reliable releases, without downtime • Scale from 1 instance to thousands • Centralize deployment control and monitoring Coordinate automated deployments, just like Amazon
  • 18. How CodeDeploy Works Agent Agent Agent Agent Agent Agent Deployment Group Deployment Amazon S3 GitHub Application Bundle Coordinate automated deployments, just like Amazon
  • 19. Deployment config – choose speed v2 v1 v1 v1 v1 v1 v1 v1One at a time v2 v2 v2 v2 v1 v1 v1 v1 v2 v2 v2 v2 v2 v2 v2 v2 Half-at-a-time All-at-once
  • 20. Rolling update – Deploy without downtime Load Balancer v1 v1 v1v1
  • 21. Rolling update – Deploy without downtime Load Balancer v1 v1 v1v2
  • 22. Rolling update – Deploy without downtime Load Balancer v1 v1v2 v2
  • 23. Rolling update – Deploy without downtime Load Balancer v1 v2v2 v2
  • 24. Rolling update – Deploy without downtime Load Balancer v1 v2v2 v2
  • 25. Health Tracking – Catch Deployment Problems Load Balancer v1 v2v2 v2
  • 26. Health Tracking – Catch Deployment Problems Load Balancer v1 v2v3 v2Stop
  • 27. Health Tracking – Catch Deployment Problems Load Balancer v1 v2v3 v2 Rollback
  • 28. Health Tracking – Catch Deployment Problems Load Balancer v1 v2v2 v2
  • 29. Demo (CodeDeploy / CodePipeline)