DevOps with Amazon Web Services
-
Upload
julien-simon -
Category
Technology
-
view
715 -
download
2
Transcript of DevOps with Amazon Web Services
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Julien Simon, Principal Technical Evangelist [email protected]
@julsimon
DevOps with Amazon Web Services
Amazon Web Services
Platforme Scalable Globale
Amazon Web Services
Platforme Scalable Globale
http://www.allthingsdistributed.com/2016/09/aws-announce-eu-france-region.html
Monolith development lifecycle
developers
release test build
delivery pipeline app
Service-Oriented Architecture (SOA) Single-purpose Connected through APIs Highly decoupled “Microservices”
Two-pizza teams Full ownership Full accountability Aligned incentives “DevOps”
Missing tools
developers delivery pipeline services
???
Self-service Technology-agnostic Encourage best practices Single-purpose services
Deployment service No downtime Health tracking Versioned artifacts Rollbacks
Pipelines Continuous delivery Automated release process Faster and more reliable releases Used by >90% of teams
DevOps development lifecycle
developers delivery pipelines services
release test build
release test build
release test build
release test build
release test build
release test build
= 50 million deployments a year (1.5 deployment every second)
Thousands of teams × Microservice architecture
× Continuous delivery × Multiple environments
Science Fiction becomes reality
How can we help others do this?
Setting up a delivery pipeline
Testing Staging Production
deploy
deploy
deploy Source Build
release
AWS CodeDeploy
AWS CodePipeline
AWS CodeCommit
AWS Code* partners
AWS CodeCommit
Use standard Git tools Scalability, availability and durability of Amazon S3 Encryption at rest with customer-specific keys
gitpull/push CodeCommit
Git objects in Amazon S3
Git index in Amazon DynamoDB
Encryption key in AWS KMS
SSH or HTTPS
AWS CodeDeploy
Easy and reliable deployments (zero downtime, rollbacks) Scale with ease (support for Auto Scaling groups) Deploy to any server (Linux / Windows, EC2 / on-premise)
Test CodeDeploy v1, v2, v3
Production
Dev
AWS CodeDeploy Key Components
AWS CodePipeline
Define stages: Source, Build, Test, Deploy, Invoke, Approve Connect to best-of-breed tools Accelerate your release process Consistently verify each release
Build 1) Build 2) Unit test
1) Deploy 2) QA
Source Deploy Deploy SNS
Approve 1) Deploy canary 2) Deploy prod
1) Pull
AWS CodePipeline Key Components
us-east-1a us-east-1c
us-east-1
ProdWebApp01-02 ProdWebApp03-04
DevWebApp01
dev.julien.org
DevWebApp Deployment Group ProdWebApp
Deployment Group
ALB + Certificate
prod.julien.org
JenkinsServer CodeDeploy
CodePipeline
CloudFormation
AWS Code* demo Source (GitHub) à Build (Jenkins) à Deploy Dev (CodeDeploy) à Approve (SNS Email) à Deploy Prod (CodeDeploy) Code
+ appspec.yml + scripts
SNS
Next steps
LEARN MORE aws.amazon.com/awscode blogs.aws.amazon.com/application-management blogs.aws.amazon.com/application-management/post/Tx2CIB02ZO05ZII/Explore-Continuous-Delivery-in-AWS-with-the-Pipeline-Starter-Kit
GET STARTED aws.amazon.com/fr/free console.aws.amazon.com
AWS User Groups
Lille Paris Rennes Nantes Bordeaux Lyon Montpellier Toulouse
facebook.com/groups/AWSFrance/
@aws_actus
AWS Enterprise Summit – 27/10/2016, Paris
http://amzn.to/1X2yp0i