Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

AWS CodeCommit, CodeDeploy & CodePipeline


Published on

Talk @ AWS User Group Turkey, Istanbul, 13/04/2016

Published in: Technology
  • If you’re struggling with your assignments like me, check out ⇒ ⇐. My friend sent me a link to to tis site. This awesome company. After I was continuously complaining to my family and friends about the ordeals of student life. They wrote my entire research paper for me, and it turned out brilliantly. I highly recommend this service to anyone in my shoes. ⇒ ⇐.
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❤❤❤ ❤❤❤
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating direct: ❤❤❤ ❤❤❤
    Are you sure you want to  Yes  No
    Your message goes here

AWS CodeCommit, CodeDeploy & CodePipeline

  1. 1. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Julien Simon, Principal Technical Evangelist @julsimon 13/04/2016 AWS User Group Turkey AWS Code{Commit,Deploy,Pipeline} Based on DVO202 from AWS re:Invent 2015
  2. 2. What to expect from the session The Amazon DevOps story Developer tools for everyone •  AWS CodeDeploy •  AWS CodePipeline •  AWS CodeCommit End-to-end demo with a simple web application
  3. 3. What is DevOps? DevOps = anything that automates, accelerates, strengthens this lifecycle developers customers releasetestbuild plan monitor delivery pipeline feedback loop Software development lifecycle
  4. 4. ©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved The Amazon DevOps story
  5. 5. Monolith development lifecycle developers releasetestbuild delivery pipelineapp
  6. 6. Service-Oriented Architecture (SOA) Single-purpose Connected through APIs Highly decoupled “Microservices”
  7. 7. Two-pizza teams Full ownership Full accountability Aligned incentives “DevOps”
  8. 8. Missing tools developers delivery pipelineservices ???
  9. 9. Self-service Technology-agnostic Encourage best practices Single-purpose services
  10. 10. Deployment service No downtime deployments Health tracking Versioned artifacts and rollbacks
  11. 11. Pipelines Continuous delivery Automated release process Faster and more reliable releases >90% of teams
  12. 12. Microservice development lifecycle developers delivery pipelinesservices releasetestbuild releasetestbuild releasetestbuild releasetestbuild releasetestbuild releasetestbuild
  13. 13. = 50 million deployments a year (1.5 deployment every second) Thousands of teams × Microservice architecture × Continuous delivery × Multiple environments
  14. 14. How can others do this?
  15. 15. Setting up a delivery pipeline Testing Staging Production deploy deploy deploy Source Build release AWS CodeDeploy AWS CodePipeline AWS CodeCommit
  16. 16. ©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved AWS Code Services
  17. 17. AWS CodeCommit Use standard Git tools Scalability, availability, and durability of Amazon S3 Encryption at rest with customer-specific keys git  pull/push   CodeCommit Git objects in Amazon S3 Git index in Amazon DynamoDB Encryption key in AWS KMS SSH or HTTPS
  18. 18. AWS CodeDeploy Easy and reliable deployments (zero downtime) Scale with ease Deploy to any server Test CodeDeployv1, v2, v3 Production Dev
  19. 19. AWS CodeDeploy and EC2 Instances •  CodeDeploy requires an agent, available for Linux and Windows •  CodeDeploy can deploy to: •  On-premise instances (configuration required) •  Existing EC2 instances (configuration required) •  New EC2 instances pre-configured for CodeDeploy thanks to a CloudFormation templates (no configuration required)
  20. 20. AWS CodeDeploy Key Components Revision: versioned code + application specification file (AppSpec) Deployment group: a set of individual instances with a specific tag Deployment configuration: a set of rules and conditions used during a deployment Application: a name pointing to a revision, a deployment group and a deployment configuration
  21. 21. AWS CodeDeploy Key Components
  22. 22. AWS CodePipeline Connect to best-of-breed tools Accelerate your release process Consistently verify each release Build 1) Build 2) Unit test 1) Deploy 2) UI test Source Beta Production 1) Deploy 2) Perf test Gamma 1) Deploy canary 2) Deploy region 1 3) Deploy region 2 1) Pull
  23. 23. AWS CodePipeline Key Components Stage: a specific part of the pipeline (source, build, etc.), containing a sequence of actions Action: a task performed on an artifact in a stage. Actions occur in a specified order, in sequence or in parallel Revision: a change made to a source that is configured in a source action Transition: moving a revision to the next stage in the pipeline
  24. 24. AWS CodePipeline Key Components
  25. 25. AWS Code partners
  26. 26. Hands on with the AWS Code services CodeCommit source control CodePipeline continuous delivery CodeDeploy automated deployment Explore-Continuous-Delivery-in-AWS-with-the-Pipeline-Starter-Kit
  27. 27. Next steps DEEP DIVE ON CODE DEPLOY @ AWS re:Invent 2015 AWS CodeDeploy: Automating Your Software Deployments (DVO306) LEARN MORE AWS CodeDeploy & CodePipeline User Guides GET STARTED J
  28. 28. Thank you! Julien Simon, Principal Technical Evangelist @julsimon