© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MovingtoDevOps theAmazonWay
Glauber Gallego
Solutions Architecture Manager
Amazon Web Services
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
The DevOps pretext
How Amazon did it
Demo
Where to start your DevOps journey
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Enterprisesneedspeedandagility
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Reduce the cost of
supporting current
technology
TwobiggoalsforITtoday
Lead innovation and
transformation of business
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Whatweallarereallytryingto achieve…
Infrastructure
Support
Innovation
Infrastructure
Support
Innovation
Innovation
Support
✅
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Whatitmeansinnumbers…
30xMore frequent
deployments
440xShorter lead times
60xFewer failures
-21%Unplanned rework
44%New work
Source: Puppet State of DevOps Report 2017
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWSpaceofinnovation
0
250
500
750
1000
1250
1500
2010 2012 2014 YTD
Launches
1430 new
features/services
launched in 2017
As of January 2018
AWS has been continually expanding its
services to support virtually any cloud
workload
AWS has launched a total of 1430 new
features and/or servicesYTD*
61
159
516
1430
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
= Millions of deployments a year
Thousands of teams
× Microservice architecture
× Continuous delivery
× Multiple environments
Several types of deployments
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How ?
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HowAmazondidit
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Organizational mindset alignment,
engineering enablement, and builder
empowerment
Cultural
Philosoph
y
Practices
and
Patterns
Tools
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Monolithdevelopmentlifecycle
ReleaseTestBuild
Developers
Services Delivery pipeline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Needthenbecame
Becomeagileagain?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Identify and break processes into fine-grained units
Shipping
Labeling
Cart
Checkout
Stock
Search
Listing
Assign those units to small teams
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Process: Store products into slots
Microservice
(Software)
Builds Uses
Dev Team
Now, let each team operate as a start-up
Outcome: Customer obsession, ownership, freedom to innovate, agility
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1
9
Optimized flow by dedicating single-threaded teams
Dedicated product teams
ProductDevelopment
ProductGo-ToMarket
ProductManagers
ProjectManagers
Developers
Testers
Implementers
Operations&Support
Product Team B
Product Team A
Product Team C
Backlog A
• Story 1
• Story 2
• Story 3
• Story 4
Backlog A
• Story 1
• Story 2
• Story 3
• Story 4
Backlog A
• Story 1
• Story 2
• Story 3
• Story 4
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Example of scrum roles
Scrum master, developers, product owner
Teams adopted agile methodologies
Example of scrum board
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Silos” got discouraged in the organization
Operations
Database
team
Quality assurance
Application
security
Software dev
team
“We’re blocked waiting
the Dev environment setup”
“We’re blocked waiting
a new table/SQL script”
“We’re blocked waiting
performance tests”
”We’re blocked waiting source
code manual inspection”
”We’re blocked waiting
database security approvals”
”We’re blocked waiting
security tests to complete”
”We’re blocked waiting the
creation of security certificates”
“We’re blocked waiting the
setup of the database hosts”
“We’re blocked waiting new test hosts”
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Teams learned to work together (DevOps)
Operations
Database
Administrator
Quality Assurance
(Testers)
Application
Security
Software Dev
Team
“Working together”
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Our 2-Pizza Teams learned to do these
• Write application and infrastructure code
• Review code of others
• Write unit/integration/performance tests
• Create SQL queries
• Create and automate CI/CD pipelines
• Provision test and production hosts
• Use secure APIs and apply security policies
• Monitor production environments
• Be on-call on a rotation-basis
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
We built “guardrails”
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
We invested in sharing the
learnings, patterns, and
practices
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud
Mgmt.
AWS
Service Catalog
AWS
CloudTrail
AWS
Config
AWS Trusted
Advisor
AWS X-Ray
AWS
OpsWorks
Amazon
CloudWatch
AWS
CloudFormation
AWSSnowball
AWSSMS
AWS
Systems
Manager
AWSKMS
IAM
AWSDMS
Amazon
Inspector
Amazon Macie
Amazon
GuardDuty
Service
request
Inventory and
classification
Monitoring
and analytics
Packaging
and delivery (*)
Provisioning
and orchestration
Resource optimization
& Cost management
Cloud migration,
backup, and DR
Identity, security,
and compliance
AWSConfigAWSCodeDeploy
AWS
CodeCommit
AWS
CodePipeline
AWS
CodeBuild
(*) Not part of Gartner
representation
Source: Gartner Evaluation Criteria
for Cloud Management Platforms and
Tools May 2018
AWSCloud9
AWS
License
Manager
AWS Well-
Architected
Tool
AWS Control
Tower
AWS Cost
Explorer
AWSADS
AWS WAF
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Integrated
• Load Test
• UI Test
• Pen test
ReleaseProcess
Source Build Test Production
• Source Code
(.php, .js, .java)
• Code
Revision
• Compile
• Unit Test
• Metrics
• Image
Creation
• Delivery to PRD
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CI /CD
Source Build Test Production
Continuous Integration
Continuous Delivery
Continuous Deploy
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DEMO
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Whereto startyourDevOpsimplementation?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DevOps is an ongoing journey,
not a destination
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Whereto starttheDevOpsjourney
TIME
Align Organization
Align 3P
Define Operating model
Identify MVP scope
Form Pilot team
Decouple application services
Create e-2-e delivery platform
Create guardrails
Integrate functional groups
Adaptive Learning
Rinse and repeat ∞ parallel
De-coupling
Observability
AiOps
Well Architected
Chaos engineering
Get help from coaches
Define Pilot team
1. Start small, learn, iterate
2. Set framework to scale
3. Teach
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://aws.amazon.com/devops
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://aws.amazon.com/blogs/devops
Thank you!
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Glauber Gallego
glauberg@amazon.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Responda o questionário avaliando esta palestra!
Instruções para o preenchimento da pesquisa:
1 – Scaneie o QR Code com a câmera do seu celular, ou com
um aplicativo para leitor de QR Code.
2 – Se preferir, você pode acessar o site da pesquisa que se
encontra em baixo do QR Code.
3- Se preferir, você pode preencher a pesquisa física entregue
no começo do evento.
4- Caso tenha alguma dúvida ou queira entrar em contato
conosco envie um email para: pslatam-rsvp@amazon.com
5- Sua opinião é muito importante para nós!
http://bit.ly/InitiateSP2019

Moving to DevOps the Amazon Way

  • 2.
    © 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. MovingtoDevOps theAmazonWay Glauber Gallego Solutions Architecture Manager Amazon Web Services
  • 3.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda The DevOps pretext How Amazon did it Demo Where to start your DevOps journey
  • 4.
    © 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Enterprisesneedspeedandagility
  • 5.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Reduce the cost of supporting current technology TwobiggoalsforITtoday Lead innovation and transformation of business
  • 6.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Whatweallarereallytryingto achieve… Infrastructure Support Innovation Infrastructure Support Innovation Innovation Support ✅
  • 7.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Whatitmeansinnumbers… 30xMore frequent deployments 440xShorter lead times 60xFewer failures -21%Unplanned rework 44%New work Source: Puppet State of DevOps Report 2017
  • 8.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWSpaceofinnovation 0 250 500 750 1000 1250 1500 2010 2012 2014 YTD Launches 1430 new features/services launched in 2017 As of January 2018 AWS has been continually expanding its services to support virtually any cloud workload AWS has launched a total of 1430 new features and/or servicesYTD* 61 159 516 1430
  • 9.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. = Millions of deployments a year Thousands of teams × Microservice architecture × Continuous delivery × Multiple environments Several types of deployments
  • 10.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How ?
  • 11.
    © 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. HowAmazondidit
  • 12.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Organizational mindset alignment, engineering enablement, and builder empowerment Cultural Philosoph y Practices and Patterns Tools
  • 13.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 14.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 15.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Monolithdevelopmentlifecycle ReleaseTestBuild Developers Services Delivery pipeline
  • 16.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Needthenbecame Becomeagileagain?
  • 17.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Identify and break processes into fine-grained units Shipping Labeling Cart Checkout Stock Search Listing Assign those units to small teams
  • 18.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Process: Store products into slots Microservice (Software) Builds Uses Dev Team Now, let each team operate as a start-up Outcome: Customer obsession, ownership, freedom to innovate, agility
  • 19.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 9 Optimized flow by dedicating single-threaded teams Dedicated product teams ProductDevelopment ProductGo-ToMarket ProductManagers ProjectManagers Developers Testers Implementers Operations&Support Product Team B Product Team A Product Team C Backlog A • Story 1 • Story 2 • Story 3 • Story 4 Backlog A • Story 1 • Story 2 • Story 3 • Story 4 Backlog A • Story 1 • Story 2 • Story 3 • Story 4
  • 20.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Example of scrum roles Scrum master, developers, product owner Teams adopted agile methodologies Example of scrum board
  • 21.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Silos” got discouraged in the organization Operations Database team Quality assurance Application security Software dev team “We’re blocked waiting the Dev environment setup” “We’re blocked waiting a new table/SQL script” “We’re blocked waiting performance tests” ”We’re blocked waiting source code manual inspection” ”We’re blocked waiting database security approvals” ”We’re blocked waiting security tests to complete” ”We’re blocked waiting the creation of security certificates” “We’re blocked waiting the setup of the database hosts” “We’re blocked waiting new test hosts”
  • 22.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Teams learned to work together (DevOps) Operations Database Administrator Quality Assurance (Testers) Application Security Software Dev Team “Working together”
  • 23.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Our 2-Pizza Teams learned to do these • Write application and infrastructure code • Review code of others • Write unit/integration/performance tests • Create SQL queries • Create and automate CI/CD pipelines • Provision test and production hosts • Use secure APIs and apply security policies • Monitor production environments • Be on-call on a rotation-basis
  • 24.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. We built “guardrails”
  • 25.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. We invested in sharing the learnings, patterns, and practices
  • 26.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Mgmt. AWS Service Catalog AWS CloudTrail AWS Config AWS Trusted Advisor AWS X-Ray AWS OpsWorks Amazon CloudWatch AWS CloudFormation AWSSnowball AWSSMS AWS Systems Manager AWSKMS IAM AWSDMS Amazon Inspector Amazon Macie Amazon GuardDuty Service request Inventory and classification Monitoring and analytics Packaging and delivery (*) Provisioning and orchestration Resource optimization & Cost management Cloud migration, backup, and DR Identity, security, and compliance AWSConfigAWSCodeDeploy AWS CodeCommit AWS CodePipeline AWS CodeBuild (*) Not part of Gartner representation Source: Gartner Evaluation Criteria for Cloud Management Platforms and Tools May 2018 AWSCloud9 AWS License Manager AWS Well- Architected Tool AWS Control Tower AWS Cost Explorer AWSADS AWS WAF
  • 27.
    © 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Demo
  • 28.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Integrated • Load Test • UI Test • Pen test ReleaseProcess Source Build Test Production • Source Code (.php, .js, .java) • Code Revision • Compile • Unit Test • Metrics • Image Creation • Delivery to PRD
  • 29.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CI /CD Source Build Test Production Continuous Integration Continuous Delivery Continuous Deploy
  • 30.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEMO
  • 31.
    © 2019, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Whereto startyourDevOpsimplementation?
  • 32.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DevOps is an ongoing journey, not a destination
  • 33.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Whereto starttheDevOpsjourney TIME Align Organization Align 3P Define Operating model Identify MVP scope Form Pilot team Decouple application services Create e-2-e delivery platform Create guardrails Integrate functional groups Adaptive Learning Rinse and repeat ∞ parallel De-coupling Observability AiOps Well Architected Chaos engineering Get help from coaches Define Pilot team 1. Start small, learn, iterate 2. Set framework to scale 3. Teach
  • 34.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. https://aws.amazon.com/devops
  • 35.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. https://aws.amazon.com/blogs/devops
  • 36.
    Thank you! © 2019,Amazon Web Services, Inc. or its Affiliates. All rights reserved. Glauber Gallego glauberg@amazon.com
  • 37.
    © 2018, AmazonWeb Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Responda o questionário avaliando esta palestra! Instruções para o preenchimento da pesquisa: 1 – Scaneie o QR Code com a câmera do seu celular, ou com um aplicativo para leitor de QR Code. 2 – Se preferir, você pode acessar o site da pesquisa que se encontra em baixo do QR Code. 3- Se preferir, você pode preencher a pesquisa física entregue no começo do evento. 4- Caso tenha alguma dúvida ou queira entrar em contato conosco envie um email para: pslatam-rsvp@amazon.com 5- Sua opinião é muito importante para nós! http://bit.ly/InitiateSP2019