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

DevOps with Amazon Web Services (November 2016)

Embed Size (px)

Citation preview

© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

DevOps with Amazon Web

Services

Julien Simon Principal Technical Evangelist Amazon Web Services [email protected] @julsimon 09/11/2016

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

git pull/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 http://aws.amazon.com/awscode http://blogs.aws.amazon.com/application-management http://blogs.aws.amazon.com/application-management/post/Tx2CIB02ZO05ZII/Explore-Continuous-Delivery-in-AWS-with-the-Pipeline-Starter-Kit https://aws.amazon.com/about-aws/whats-new/2016/11/aws-codepipeline-introduces-aws-cloudformation-deployment-action/

GET STARTED http://aws.amazon.com/free http://console.aws.amazon.com

More sessions

7/11, 15:00 Hands-on with AWS IoT 8/11, 10:00 A 60-minute tour of AWS Compute 9/11, 10:00 Deep Dive: DevOps on AWS 9/11, 11:00 Running Docker clusters on AWS 21/11, 11:00 Move fast, build things with AWS 22/11, 11:00 Deep Dive: Amazon RDS

Danke sehr!Julien Simon

Principal Technical Evangelist Amazon Web Services

[email protected]

@julsimon