development & test on aws - ip expo 2013

47
Development and Test on AWS James Brown UK Business Development Lead

Upload: amazon-web-services

Post on 15-Jan-2015

582 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Development & Test on AWS - IP Expo 2013

Development and

Test on AWS

James Brown

UK Business Development Lead

Page 2: Development & Test on AWS - IP Expo 2013

Some Challenges Customers Tell Us About

Managing multiple environments

is tough

Experimentation is slow

Obtaining servers takes weeks

Page 3: Development & Test on AWS - IP Expo 2013

How The AWS Cloud Can Be Useful

Simplify management of

multiple environments

Adopt new development

practices

Obtaining Servers in minutes

Page 4: Development & Test on AWS - IP Expo 2013

Why is this problem more critical than ever?

Page 5: Development & Test on AWS - IP Expo 2013

The

Business

* Credit to Patrick Debois for this model

The

Customer

has to deliver to the…

Page 6: Development & Test on AWS - IP Expo 2013

The

Business

* Credit to Patrick Debois for this model

The

Customer

The business has to get to get high

quality solutions into the customers hands as quickly as it can.

Page 7: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

The

Customer

The

Business

Page 8: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

Ops &

Infra

The

Customer

The

Business

Page 9: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

Ops &

Infra

The

Customer

The

Business

Slow and

prone to failure

Page 10: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

The

Customer

The

Business

Agile

Development

Ops &

Infra

Page 11: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

Ops &

Infra

The

Customer

The

Business

Slow and

Infrastructure

constrained

Agile

Development

Page 12: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

The

Customer

The

Business

Agile

Development

Ops &

Infra

DevOps

& Cloud

Page 13: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

The

Customer

The

Business

Agile

Development

Ops &

Infra

Slow and

expensive

DevOps

& Cloud

Page 14: Development & Test on AWS - IP Expo 2013

* Credit to Patrick Debois for this model

Dev &

Test

The

Customer

The

Business

Agile

Development

Ops &

Infra

Cloud DevOps

& Cloud

Page 15: Development & Test on AWS - IP Expo 2013

Give Development and Test Teams the Infrastructure They Need

Page 16: Development & Test on AWS - IP Expo 2013

Let Dev & Test have the infrastructure they need

CI Build Smoke Test Development

Builds

Multiple

Versions

Staging Performance

Testing

Security

Testing UAT

Pre-

Production Soak Testing Hotfixes

Regression

Testing

Page 17: Development & Test on AWS - IP Expo 2013

Customer

Data Centers

Example Infrastructure

Source

Control

Build

Server

CI

Server

Dev

Machine

Page 18: Development & Test on AWS - IP Expo 2013

Customer

Data Centers

Example Infrastructure

VPN or Direct

Connect

Source

Control

Build

Server

CI

Server

Dev

Machine

Page 19: Development & Test on AWS - IP Expo 2013

Customer

Data Centers

Example Infrastructure

VPN or Direct

Connect

Source

Control

Build

Server

CI

Server

Dev

Machine

Amazon VPC

Page 20: Development & Test on AWS - IP Expo 2013

Customer

Data Centers

Example Infrastructure

VPN or Direct

Connect

Source

Control

Build

Server

CI

Server

Dev

Machine

Amazon VPC

Cloud

Formation

Template

Page 21: Development & Test on AWS - IP Expo 2013

Customer

Data Centers

Example Infrastructure

VPN or Direct

Connect

Source

Control

Build

Server

CI

Server

Dev

Machine

Amazon VPC

Cloud

Formation

Template

CI Build

Staging

UAT

Page 22: Development & Test on AWS - IP Expo 2013

Let Dev & Test have the infrastructure they need

• Use VPN or Direct Connect to link to AWS

• Use Amazon VPC so you can control IP Addressing

• Use Cloud Formation and AMIs to create templates

Page 23: Development & Test on AWS - IP Expo 2013

Let Dev & Test have the infrastructure they need

• Use VPN or Direct Connect to link to AWS

• Use Amazon VPC so you can control IP Addressing

• Use Cloud Formation and AMIs to create templates

• Build the infrastructure when you need it

• Build as much as you want

• Shut it down when you are not using it

Page 24: Development & Test on AWS - IP Expo 2013

Now they have the infrastructure, make sure they can use the tools they want

Page 25: Development & Test on AWS - IP Expo 2013

Operating Systems

• Windows Server

• AWS Linux

• Ubuntu

• SUSE Linux Enterprise

• Oracle Enterprise Linux

• RedHat Enterprise Linux

• CentOS

• Debian

Page 26: Development & Test on AWS - IP Expo 2013

SDKs, Command Line and IDE ToolKits

• SDKs

• Android

• iOS

• Java

• .NET

• Node.js

• Python

• PHP

• Ruby

• IDE ToolKits

• Eclipse

• Visual Studio

• Command Line Tools

• Powershell

• AWS CLI

Page 27: Development & Test on AWS - IP Expo 2013

Eco-System of Development and Test Tools

• TeamCity

• Jenkins

• Octopus

• Banboo

• CruiseControl

• NuGet

• Hudson

• BugZilla

• Mantis

• Chef

• Puppet

• CloudBees

• Splunk

• NewRelic

• Scalr

• AppFirst

• RightScale

• Subversion

• Git

• Team Foundation Server

• Bees with machine guns

• ChaosMonkey

Page 28: Development & Test on AWS - IP Expo 2013

Now they have the tools and the infrastructure, they can become more

efficient with DevOps and Agile Development practices

Page 29: Development & Test on AWS - IP Expo 2013

Continuous Integration / Deployment

Page 30: Development & Test on AWS - IP Expo 2013

Continuous Integration and Deployment

Paul Klipp

“The primary goal of continuous deployment is not to deploy continuously.

Page 31: Development & Test on AWS - IP Expo 2013

Continuous Integration and Deployment

Paul Klipp

“The primary goal of continuous deployment is not to deploy continuously.

It is to be able to deploy continuously”

Page 32: Development & Test on AWS - IP Expo 2013

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Developer

Page 33: Development & Test on AWS - IP Expo 2013

Submit

Code

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Developer

Page 34: Development & Test on AWS - IP Expo 2013

Build

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Developer

Page 35: Development & Test on AWS - IP Expo 2013

Fetch

Code

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Developer

Page 36: Development & Test on AWS - IP Expo 2013

Build

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Developer

Page 37: Development & Test on AWS - IP Expo 2013

Output

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Install

Package

Developer

Page 38: Development & Test on AWS - IP Expo 2013

Start

Deployment

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Install

Package

Developer

Page 39: Development & Test on AWS - IP Expo 2013

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Build AWS

Environment

Web

Server DB

Server

Install

Package

Developer

Page 40: Development & Test on AWS - IP Expo 2013

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Deploy Code

Web

Server DB

Server

Install

Package

Developer

Page 41: Development & Test on AWS - IP Expo 2013

Source Code

Repository

Deployment

Server

Continuous Integration

Server

Run Test

Web

Server DB

Server

Install

Package

Developer

Page 42: Development & Test on AWS - IP Expo 2013

CONTINUOUS DEPLOYMENT IN THE REAL WORLD

Customer - amazon.com

Page 43: Development & Test on AWS - IP Expo 2013

Deployment the old way

4

3

Page 44: Development & Test on AWS - IP Expo 2013

Why not run two infrastructures?

4

4

Page 45: Development & Test on AWS - IP Expo 2013

Why not run two infrastructures?

4

5

Page 46: Development & Test on AWS - IP Expo 2013

11.6s

Average time

between

deployments

(weekday)

1,079

Max number of

deployments in a

single hour

(or approx every

3 seconds)

10,000

Average number

of instances

simultaneously

receiving a

deployment

30,000

Max number of

instances

simultaneously

receiving a

deployment

Deployments at amazon.com

Page 47: Development & Test on AWS - IP Expo 2013

Thank You!