Professional Documents
Culture Documents
AWS Marketplace DevOps Workshop Series Module 2 Slides
AWS Marketplace DevOps Workshop Series Module 2 Slides
AWS Marketplace DevOps Workshop Series Module 2 Slides
Chris Chapman
Sr. Specialist Solutions Architect at AWS
chapmanInTheCloud
Steve Pereira
Ambassador, DevOps Institute
@steveelsewhere
Devopsto
About DevOps Institute
DevOps Institute’s mission is to advance the
human elements of DevOps by creating a
safe and interactive environment where our
members can network, gain knowledge,
grow their careers, support enterprise
transformation and celebrate professional
achievements.
Automation
@steveelsewhere
Example
Pipelines
The Value Cycle
Monitoring and observability provide Vision and goals are set and
insights into customer reaction to aligned to epics, features, PBIs
changes and report on value and user stories.
realization.
The Value
Cycle
CONTINUOUS
CONTINUOUS TESTING
DELIVERY
Functional and non-functional
The changes are
testing takes place at every
approved, released and
commit at every step or gate
operated in the live
through route to live.
environment.
CONTINUOUS INTEGRATION
Continuous Learning
Continuous Improvement
Continuous Funding
Sublime
Continuous Continuous
Integration
Continuous
Delivery
Continuous
Deployment
customer
Testing
experience
Continuous Compliance
Continuous Intelligence
#1 and 2 Must-Have Automation Skills
CI + CD are leading valuable skills
The approach helps reduce the cost, time, and risk of delivering
changes by allowing for more incremental updates to applications in
production. A straightforward and repeatable deployment process
is important for continuous delivery.
https://en.wikipedia.org/wiki/Continuous_delivery
Or in Other Words…
15
Continuous Delivery & Continuous Deployment
Automatic Manual
trigger trigger
Continuous Delivery
Integration Acceptance
Dev Unit Test Production
Test Test
Continuous Deployment
Integration Acceptance
Dev Unit Test Production
Test Test
From: Mirco Hering: notafactoryanymore.com, author of ‘DevOps for the Modern Enterprise’ 16
Key Ingredients that Differentiate Continuous Delivery
CloudShell
Pipeline Workflow
Lucidchart
The Delivery Pipeline
Sample Pipeline
Testing
Smoke
Security
Performance Testing
Exploratory Smoke
Mock Functional
Stakeholder
Rapid Development Cycle
Regression validation
Cross-device
Automation available
Visible
Pipeline Examples
GitLab
Pipeline Creation and Improvement
Pipeline Creation and Improvement
Pipeline Creation and Improvement
Pipeline Creation and Improvement
Centralized Continuous Integration
Develop
Local
Workstation
Ready for CI
stage
Build & Test
push
“Commit”
Branching and Merging Best Practices
Source code, images and test versions in same branch structure ensures consistency
http://eugenedvorkin.com/continuous-integration-strategies-for-branching-and-merging/
"No Feature Branches" Best Practice
Use an artifact repository to store binaries, reports, and metadata for each of your
release candidates (E.g., Archiva, Nexus, JFrog).
CI Prerequisite - Automated Build
• Compilation failures
• Excessive warnings and
code style breaches
• Unit test failures
• Functional test failures
• Architectural breaches
• Slow tests
The Testing Myth
Myth
Testing is a phase between
integration and delivery.
Truth
Testing is not a phase!
“lint”
checks
</> Integrate Build Acceptance Merge Prod
repo Test
CI/CD Pipeline
The DevOps
Toolchain
Building Your Toolchain
Categories of tools
Build for Speed Test and Fix Continuously Borrow & Build
● CI/CD is for getting fast feedback, ● It’s never too early to test ● You can’t shoehorn your team into
not just shipping fast ● Build failures need an effective someone else’s workflow
triage process
● Driving down cycle time for ● Start small and incrementally
feedback means less context ● Automation helps you level up and automate what will have the most
switching and context loss focus on harder problems positive impact
● Unified tools can simplify
● Small changes mean quick fixes operations and reduce overhead ● Automation should support your
humans
Chris Chapman
Sr. Specialist Solutions Architect at AWS
chapmanInTheCloud
Steps for automating DevOps pipelines
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Start Simple
AWS CodePipeline
Amazon Elastic
Container Registry
(Amazon ECR)
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Buildspec files
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Incremental pipeline build – add validation
AWS CodePipeline
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Incremental pipeline build – add security
AWS CodePipeline
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Building a shared self-service platform
AWS CodePipeline
AWS Fargate
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Enhance pipeline capabilities with AWS Partners
AWS CodePipeline
Available in
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
8,000+ 1,600+ 24 290,000+ 1.5M+
listings ISVs regions customers subscriptions
And more
coming soon!
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Important links and next steps
Bookmark the Workshop Series landing page to navigate to all series content and subscribe for email updates
Start putting knowledge into practice with the Module 2 hands-on labs
Visit the AWS Marketplace website to learn more and experiment with DevOps tooling
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Module 2 Hands-on Labs
https://pages.awscloud.com/awsmp-wsm-dev-workshop-series-
module2-cicd-pipelines-ty.html
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Move on to Module 3: Evolving to Continuous Deployment
https://pages.awscloud.com/awsmp-wsm-dev-workshop-series-module3-evolving-to-continuous-deployment.html
© 2021, Amazon Web Services, Inc. or its Affiliates. All rights reserved.