AWS Roadshow 2013
Über den Wolken – befreien Sie Ihre IT
Entwicklung und Test in der Cloud

Ratingen

Michael Hanisch
Mgr....
DEVELOPMENT
&
TEST
DEVELOPER
SOURCE CODE
REPOSITORY
SOURCE CODE
REPOSITORY

PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY

CONTINUOUS
INTEGRATION SERVER

PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY

CONTINUOUS
INTEGRATION SERVER

PROJECT MANAGEMENT
SERVER
PICK
TASKS
SOURCE CODE
REPOSITORY

SUBMIT
CODE
CONTINUOUS
INTEGRATION SERVER

PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY

CONTINUOUS
INTEGRATION SERVER

SCHEDULE
BUILD
PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY

CONTINUOUS
INTEGRATION SERVER
RECURRENT
BUILDS

PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY

CONTINUOUS
INTEGRATION SERVER

CODE
FETCH

PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY

CONTINUOUS
INTEGRATION SERVER
CODE QUALITY
TESTS

PROJECT MANAGEMENT
SERVER

TEST
RESULTS
SOURCE CODE
REPOSITORY

CONTINUOUS
INTEGRATION SERVER

BUILD OUTPUT
PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY

DOCS
CONTINUOUS
INTEGRATION SERVER
BINARIES
& PACKAGES

PROJECT MANAGEMENT
SERVER
SOURCE CODE
REPOSITORY
BUILDS

CONTINUOUS
INTEGRATION SERVER

DNS

PROJECT
MANAGEMENT SERVER
PAIN POINTS
•
•
•
•
•

UNIT TESTS INCOMPLETE
MOCK TESTS MAINTENANCE
EXPENSIVE TEST ENVIRONMENT
TEST ENVIRONMENT ≠ PRODUCTI...
ON-DEMAND

ELASTIC

PAY AS YOU GO
ON-DEMAND

ELASTIC

= no need for:
waiting,
procurement,
planning

= as many resources
as you need,
no limits

PAY AS YOU ...
BUT THERE IS
MORE
=

PROGRAMMABLE
PLATFORM
IF YOU CAN PROGRAM IT
YOU CAN AUTOMATE IT
Control via Configuration

AWS CloudFormation
AWS
CLOUDFORMATION
STACK-BASED DEPLOYMENT
SERVICE
CLOUDFORMATION
TEMPLATE
{
"Description" : "Create RDS with username and password",
"Resources" : {
"MyDB" : {
"Type" : "AWS::RDS::DBInstance",
"Pr...
"AWS::CloudFormation::Init" : {

"config" : {

"packages" : {
"yum" : {
"mysql"
: [],
"mysql-server" : [],
"httpd"
: [],
"...
{
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2
KeyPair to enable SSH
access to the instance",
"...
PROCEDURAL
DEFINITION

KNOWN
CONFIGURATION

Create it programmatically

Store stack configuration in
source control

CLOUD...
Control via Configuration
Automate deployment

S3 Bucket
Automate deployment

S3 Bucket
Automated

1 hour
Orange Digital uses AWS + Puppet for Application Development

USING PUPPET, ORANGE
DIGITAL CAN REPLICATE
A PRODUCTION
ENVI...
APPLICATION
VERSIONS

+
INFRASTRUCTURE
VERSIONS
CLOUDFORMATION
TEMPLATE
TEST ENVIRONMENTS
30,000 REQUESTS / SECOND
1 TB TRAFFIC / DAY
LOAD TESTING
USING AMAZON EC2 TO SIMULATE

2.4 MILLION PLAYERS
CONTINUOUS
DEPLOYMENT
SMALL, FREQUENT CHANGES
CONSTANTLY INTEGRATING INTO
PRODUCTION.
KEY = ITERATION
DEPLOYMENTS AT
AMAZON.COM
11.6s

1,079

10,000

30,000

Mean time
between
deployments
(weekday)

Max number of
deployments...
SOFTWARE DEPLOY

≠
PRODUCT LAUNCH
1.5 BILLION PAGE VIEWS
$83 MILLION IN TRANSACTIONS
4.2 MILLION ITEMS SOLD
OCTOBER 2012
30 DEPLOYS PER DAY
1 DEPLOY EVERY 20 MINUTES
AWS OPSWORKS
INTEGRATED APPLICATION
MANAGEMENT
14 BILLION REQUESTS/MONTH
50 000 DATABASE UPDATES / SEC
NO CACHE
A / B TESTING
CONTINUOUS
DEPLOYMENT
CONTINUOUS
INTEGRATION
CONTINUOUS
DEPLOYMENT
=
CONTINUOUS
EXPERIMENTATION
CONTINUOUS
DEPLOYMENT
=
CONTINUOUS
IMPROVEMENT
« Want to increase innovation?
Lower the cost of failure »
Joi Ito
SPEED AND AGILITY
“ON-PREMISE”
Experiment
Infrequently

Experiment
Often

Failure is
expensive

Fail quickly at
a low cost...
THANK YOU
Development & Test in the Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud
Upcoming SlideShare
Loading in …5
×

AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud

1,574 views

Published on

Vortrag von der AWS Roadshow Herbst 2013

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,574
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

AWS Roadshow Herbst 2013: Beschleunigen Sie Entwicklungs- und Test-Szenarien mit der Cloud

  1. 1. AWS Roadshow 2013 Über den Wolken – befreien Sie Ihre IT Entwicklung und Test in der Cloud Ratingen Michael Hanisch Mgr. Solutions Architecture Matthias Jung Solutions Architect Constantin Gonzalez Solutions Architect
  2. 2. DEVELOPMENT & TEST
  3. 3. DEVELOPER
  4. 4. SOURCE CODE REPOSITORY
  5. 5. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER
  6. 6. SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER PROJECT MANAGEMENT SERVER
  7. 7. SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER PROJECT MANAGEMENT SERVER PICK TASKS
  8. 8. SOURCE CODE REPOSITORY SUBMIT CODE CONTINUOUS INTEGRATION SERVER PROJECT MANAGEMENT SERVER
  9. 9. SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER SCHEDULE BUILD PROJECT MANAGEMENT SERVER
  10. 10. SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER RECURRENT BUILDS PROJECT MANAGEMENT SERVER
  11. 11. SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER CODE FETCH PROJECT MANAGEMENT SERVER
  12. 12. SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER CODE QUALITY TESTS PROJECT MANAGEMENT SERVER TEST RESULTS
  13. 13. SOURCE CODE REPOSITORY CONTINUOUS INTEGRATION SERVER BUILD OUTPUT PROJECT MANAGEMENT SERVER
  14. 14. SOURCE CODE REPOSITORY DOCS CONTINUOUS INTEGRATION SERVER BINARIES & PACKAGES PROJECT MANAGEMENT SERVER
  15. 15. SOURCE CODE REPOSITORY BUILDS CONTINUOUS INTEGRATION SERVER DNS PROJECT MANAGEMENT SERVER
  16. 16. PAIN POINTS • • • • • UNIT TESTS INCOMPLETE MOCK TESTS MAINTENANCE EXPENSIVE TEST ENVIRONMENT TEST ENVIRONMENT ≠ PRODUCTION DEPLOYMENT CYCLES
  17. 17. ON-DEMAND ELASTIC PAY AS YOU GO
  18. 18. ON-DEMAND ELASTIC = no need for: waiting, procurement, planning = as many resources as you need, no limits PAY AS YOU GO = save money: during the night, over the weekend, during vacation
  19. 19. BUT THERE IS MORE
  20. 20. = PROGRAMMABLE PLATFORM
  21. 21. IF YOU CAN PROGRAM IT YOU CAN AUTOMATE IT
  22. 22. Control via Configuration AWS CloudFormation
  23. 23. AWS CLOUDFORMATION STACK-BASED DEPLOYMENT SERVICE
  24. 24. CLOUDFORMATION TEMPLATE
  25. 25. { "Description" : "Create RDS with username and password", "Resources" : { "MyDB" : { "Type" : "AWS::RDS::DBInstance", "Properties" : { "AllocatedStorage" : "500", "DBInstanceClass" : "db.m1.small", "Engine" : "MySQL", "EngineVersion" : "5.5", "MasterUsername" : "MyName", "MasterUserPassword" : "MyPassword" } } } }
  26. 26. "AWS::CloudFormation::Init" : { "config" : { "packages" : { "yum" : { "mysql" : [], "mysql-server" : [], "httpd" : [], "php" : [], "php-mysql" : [] } }, "sources" : { "/var/www/html" : "https://s3.amazonaws.com/my-builds/build-v4.zip" } }
  27. 27. { "Parameters" : { "KeyName" : { "Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance", "Type" : "String" } }, }
  28. 28. PROCEDURAL DEFINITION KNOWN CONFIGURATION Create it programmatically Store stack configuration in source control CLOUDFORMATION TEMPLATE PARAMETER DRIVEN Dynamic and user-driven templates COLLABORATION Share templates with ease as plain files
  29. 29. Control via Configuration
  30. 30. Automate deployment S3 Bucket
  31. 31. Automate deployment S3 Bucket
  32. 32. Automated 1 hour
  33. 33. Orange Digital uses AWS + Puppet for Application Development USING PUPPET, ORANGE DIGITAL CAN REPLICATE A PRODUCTION ENVIRONMENT ON DEVELOPMENT LAPTOPS, THEREBY ENSURING CONSISTENCY THROUGHOUT THE LIFECYCLE “Moving to AWS has reduced the time to market for new products,” says Jennings. “Previously, this process took at least three months. AWS has removed a barrier, so time to market is dependent almost entirely on developing software and deciding what we want to do.”
  34. 34. APPLICATION VERSIONS + INFRASTRUCTURE VERSIONS
  35. 35. CLOUDFORMATION TEMPLATE
  36. 36. TEST ENVIRONMENTS
  37. 37. 30,000 REQUESTS / SECOND 1 TB TRAFFIC / DAY
  38. 38. LOAD TESTING
  39. 39. USING AMAZON EC2 TO SIMULATE 2.4 MILLION PLAYERS
  40. 40. CONTINUOUS DEPLOYMENT SMALL, FREQUENT CHANGES CONSTANTLY INTEGRATING INTO PRODUCTION.
  41. 41. KEY = ITERATION
  42. 42. DEPLOYMENTS AT AMAZON.COM 11.6s 1,079 10,000 30,000 Mean time between deployments (weekday) Max number of deployments in a single hour Mean number of hosts simultaneously receiving a deployment Max number of hosts simultaneously receiving a deployment
  43. 43. SOFTWARE DEPLOY ≠ PRODUCT LAUNCH
  44. 44. 1.5 BILLION PAGE VIEWS $83 MILLION IN TRANSACTIONS 4.2 MILLION ITEMS SOLD OCTOBER 2012
  45. 45. 30 DEPLOYS PER DAY 1 DEPLOY EVERY 20 MINUTES
  46. 46. AWS OPSWORKS INTEGRATED APPLICATION MANAGEMENT
  47. 47. 14 BILLION REQUESTS/MONTH 50 000 DATABASE UPDATES / SEC NO CACHE
  48. 48. A / B TESTING
  49. 49. CONTINUOUS DEPLOYMENT CONTINUOUS INTEGRATION
  50. 50. CONTINUOUS DEPLOYMENT = CONTINUOUS EXPERIMENTATION
  51. 51. CONTINUOUS DEPLOYMENT = CONTINUOUS IMPROVEMENT
  52. 52. « Want to increase innovation? Lower the cost of failure » Joi Ito
  53. 53. SPEED AND AGILITY “ON-PREMISE” Experiment Infrequently Experiment Often Failure is expensive Fail quickly at a low cost Less Innovation More Innovation
  54. 54. THANK YOU Development & Test in the Cloud

×