Académique Documents
Professionnel Documents
Culture Documents
Leo Zhadanovsky
Principal Solutions Architect, AWS
April 12th, 2016
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why does DevOps matter?
• Continuous Delivery
• A software engineering approach in which teams keep
producing valuable software in short cycles and ensure that
the software can be reliably released at any time
• Continuous Integration
• The practice, in software engineering, of merging all
developer working copies to a shared mainline several times
a day
What are CI and CD?
SUBMIT
CODE CLOUDFORMATION
DOCS
CONTINUOUS
INTEGRATION SERVER
CODE
CODE QUALITY
RECURRENT
FETCH BINARIES
AMIS or CONTAINERS
TESTS
BUILDS & PACKAGES
SCHEDULE BUILD OUTPUT
BUILD
DEVELOPER
PROJECT MANAGEMENT
SERVER DEV FACING
PICK NOTIFICATIONS
TEST
TASKS
RESULTS
Components of traditional CI/CD on AWS
?
AWS Elastic Beanstalk
AWS OpsWorks
AWS Amazon
CloudFormation CloudWatch
CodeCommit: source control
Private Git repositories hosted on Amazon S3
Rapidly and reliably build, test and release your applications, Treat your infrastructure as code, manage container,
while improving quality and reducing time to market operating system, and application configurations
https://aws.amazon.com/s olutions/partners/dev-ops /
Today’s demo
Commit
AWS CodePipeline
AWS CodeDeploy
Deploy
Application architecture
3. CodePipeline
pulls n ew commits
into ZIP file in S 3 Jenkins WordPress servers
(on EC2 instance)
(Auto Scaled)
CodeDeploy lifecycle events
0. Instance is n otified o f n ew
deployment
6. ApplicationStart
Target Instance
• Start server 4. Install
Elastic Load • Register with load
balancer
Balancer
CodeDeploy default deployment configs
AllAtOnce
HalfAtATime
OneAtATime
CodeDeploy custom deployment configs
Deploy
version 1.5 version 1.4