DevOps with Amazon Web Services

36
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Julien Simon, Principal Technical Evangelist [email protected] @julsimon DevOps with Amazon Web Services

Transcript of DevOps with Amazon Web Services

Page 1: 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

Page 2: DevOps with Amazon Web Services
Page 3: DevOps with Amazon Web Services

Amazon Web Services

Platforme Scalable Globale

Page 4: DevOps with Amazon Web Services

Amazon Web Services

Platforme Scalable Globale

Page 5: DevOps with Amazon Web Services

http://www.allthingsdistributed.com/2016/09/aws-announce-eu-france-region.html

Page 6: DevOps with Amazon Web Services
Page 7: DevOps with Amazon Web Services
Page 8: DevOps with Amazon Web Services
Page 9: DevOps with Amazon Web Services

Monolith development lifecycle

developers

release test build

delivery pipeline app

Page 10: DevOps with Amazon Web Services
Page 11: DevOps with Amazon Web Services
Page 12: DevOps with Amazon Web Services

Service-Oriented Architecture (SOA) Single-purpose Connected through APIs Highly decoupled “Microservices”

Page 13: DevOps with Amazon Web Services

Two-pizza teams Full ownership Full accountability Aligned incentives “DevOps”

Page 14: DevOps with Amazon Web Services

Missing tools

developers delivery pipeline services

???

Page 15: DevOps with Amazon Web Services

Self-service Technology-agnostic Encourage best practices Single-purpose services

Page 16: DevOps with Amazon Web Services

Deployment service No downtime Health tracking Versioned artifacts Rollbacks

Page 17: DevOps with Amazon Web Services

Pipelines Continuous delivery Automated release process Faster and more reliable releases Used by >90% of teams

Page 18: DevOps with Amazon Web Services

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

Page 19: DevOps with Amazon Web Services

= 50 million deployments a year (1.5 deployment every second)

Thousands of teams × Microservice architecture

× Continuous delivery × Multiple environments

Page 20: DevOps with Amazon Web Services
Page 21: DevOps with Amazon Web Services

Science Fiction becomes reality

Page 22: DevOps with Amazon Web Services

How can we help others do this?

Page 23: DevOps with Amazon Web Services

Setting up a delivery pipeline

Testing Staging Production

deploy

deploy

deploy Source Build

release

AWS CodeDeploy

AWS CodePipeline

AWS CodeCommit

Page 24: DevOps with Amazon Web Services

AWS Code* partners

Page 25: DevOps with Amazon Web Services

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

Page 26: DevOps with Amazon Web Services

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

Page 27: DevOps with Amazon Web Services

AWS CodeDeploy Key Components

Page 28: DevOps with Amazon Web Services

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

Page 29: DevOps with Amazon Web Services

AWS CodePipeline Key Components

Page 30: DevOps with Amazon Web Services
Page 31: DevOps with Amazon Web Services

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

Page 32: DevOps with Amazon Web Services
Page 33: DevOps with Amazon Web Services

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

Page 34: DevOps with Amazon Web Services

AWS User Groups

Lille Paris Rennes Nantes Bordeaux Lyon Montpellier Toulouse

facebook.com/groups/AWSFrance/

@aws_actus

Page 35: DevOps with Amazon Web Services

AWS Enterprise Summit – 27/10/2016, Paris

http://amzn.to/1X2yp0i

Page 36: DevOps with Amazon Web Services

Thank you!

Julien Simon, Principal Technical Evangelist [email protected]

@julsimon