Software release cycles are now measured in days instead of months. Cutting-edge companies are continuously delivering high-quality software at a fast pace. In this session, you will learn how to begin your DevOps journey through best practices and tools used by the "two pizza" engineering teams at Amazon. We will showcase how you can accelerate developer productivity by implementing continuous integration and delivery workflows. We will also cover an introduction to AWS CodeStar, AWS CodeCommit, AWS CodeBuild, AWS CodePipeline, and AWS CodeDeploy - the services inspired by Amazon's internal developer tools and DevOps practice. Learn More: https://aws.amazon.com/government-education/
12. DevOps Practices
• Monitoring and Logging
• Track and analyze metrics and logs
• Understand real-time performance of
infrastructure and application
14. A look back at
development at
Amazon..
https://secure.flickr.com/photos/pixelthing/15806918992/
15. 2001
Development transformation at Amazon: 2001-2009
2009
monolithic architecture +
hierarchical organization
Decoupled services +
2 pizza teams
16. Things went much
better under this
model and teams
were releasing faster
than ever, but we felt
that we could still
improve.
17. In 2009, we
ran a study to
find out where
inefficiencies
might still exist
18. We were just waiting.
WaitWrite
Code WaitBuild
Code WaitDeploy
to Test
Deploy
to
Prod
19. We were just waiting.
WaitWrite
Code WaitBuild
Code WaitDeploy
to Test
Deploy
to
Prod
Mins Days Mins Days Mins Days Mins
20. We were just waiting.
WaitWrite
Code WaitBuild
Code WaitDeploy
to Test
Deploy
to
Prod
Weeks
Mins Days Mins Days Mins Days Mins
21. We were just waiting.
WaitWrite
Code WaitBuild
Code WaitDeploy
to Test
Deploy
to
Prod
Weeks
Mins Days Mins Days Mins Days Mins
22. We built tools to
automate our software
release process
https://secure.flickr.com/photos/lindseygee/5894617854/
23. Automated actions and
transitions; from check-
in to production
Development benefits:
• Faster
• Safer
• Simplification &
standardization
• Visualization of the
process
Pipelines
24. This has continued to work out really well:
In 2014:
• Thousands of service teams across Amazon
• Building microservices
• Practicing continuous delivery
• Many environments (staging, beta, production)
50 million deploys
25. This has continued to work out really well:
Every year at Amazon, we perform a survey of all our
software developers. The 2014 results found only one
development tool/service could be correlated statistically
with happier developers:
Our pipelines service!
continuous delivery == happier developers!
27. Introducing: AWS CodeStar
Quickly develop, build, and deploy applications on AWS
Start developing on AWS in minutes
Work across your team, securely
Manage software delivery easily
Choose from a variety of project templates
39. OLD APPROACH
To create great experiences for taxpayers online,
IRS needed a different way of working …
Linear product development life cycle
Static UI designs
No live testing with taxpayers
One-on-one stakeholder reviews via laptop
Technology constraints
40. Hard to adapt to evolving view of user needs
No way to test and verify design alternatives
Risk of missed taxpayer needs and expectations
Limited stakeholder feedback; single location
Limited team collaboration
IMPACT OF OLD
APPROACH
… that enabled a more user-focused and
collaborative approach.
41. Collaborative Prototyping With IRS Labs
PROTOTYPING
Any team member can
‘spin up’ a container to
host a web application in
minutes and post a front
end prototype to a live
URL.
USER EXPERIENCE
IRS can quickly and
easily gather feedback
from stakeholders and
taxpayers.
COLLABORATION
Teams can easily and
quickly collaborate on
prototypes within their
team and with
stakeholders.
42. Success Stories
Accelerated time to
market for a new
service concept
through agile
collaboration among
IRS business, IT and
online orgs, and
contractors at remote
and on-site locations.
E-AUTHENTICATION
Created over 60
interface prototypes
and conducted six
remote and in-person
usability tests with 30
taxpayers over a 4-
week period.
DIRECT PAY
Improved a service
that saw double-digit
usage increases by
refining the UI with
stakeholders using
responsive, interactive
front end prototypes.
ACCOUNT
43. …requirements
shared by
Product
Manager and
conduct user
research.
…concept or
prototype using
HTML or off-the-
shelf tools (e.g.,
Axure).
…concept or
prototype with
product team by
uploading it to IRS
Labs and
deploying a live
version.
…concept or
prototype with
potential users in
the field wherever
web access is
available.
…high-quality
product using
feedback obtained
through taxpayer
research.
Analyze … Design … Share … Test … Produce…
Optimize product features, navigation, and designs through
user research. Share concepts and prototypes with
stakeholders and study participants using IRS Labs.
Our GoalDesigns products using
input from stakeholders
and taxpayer research
User Journey: User Experience Designer Role
44. …requirements,
mockups, design
patterns and code
stubs from IRS
Labs.
…and version
control working
prototype based on
requirements and
designs discussed
with Team.
…seamlessly with
stakeholders and
contractors by
sharing project
artifacts and
iterative product
builds through IRS
Labs.
…and version
control code from
a contractor or
IRS site through
GitLab within IRS
Labs.
…and un-deploy
code in IRS Labs to
show features during
weekly sprints. Test
products on browsers
taxpayers’ common
devices.
Access … Build … Collaborate … Manage … Deploy…
Build and deploy an application with a joint government and
contractor team. Manage, test, and review iterations from
government or contractor facilities using IRS Labs.
Our GoalDevelops and deploys
software releases
User Journey: Software Developer Role
45. IRS Labs at a Glance
STORAGE
Amazon RDS, Amazon S3, MongoDB
HOSTING
Amazon EC2, Amazon Route 53
E-MAIL
Amazon SES
AUTOMATED CODE DEPLOYMENT
Docker, Amazon ECS
VERSION CONTROL
GITLAB, Zip Upload
USER MANAGEMENT & AUTHENTICATION
LDAP
STANDARDS-BASED INTERFACES
RESTful Architecture APIs
MODERN WEB TECHNOLOGIES
nginx, Node.js, Angular, CSS
46. IRS Labs Architecture
Proxy
NGINXInternet
Userlab
Persona
IRS Labs Team Site
Authentication
Redis
Auth Gateway
Host
Troubadour
Prototype
Prototypes (AWS ECS)
GitLab
Amazon S3,
SES, Route 53
MongoDBLDAP
Amazon RDS
Relational Database
Stevedore
Docker Image Builder
Amazon ECR
Docker Image Store
Matador
Container deployment Mgmt
Services
Legend
AWS Service
Other App/Service