devops for the enterprise: continuous integration

41
DEVOPS WEBINAR SERIES – EPISODE 2 ENABLING BUSINESS AGILITY: CONTINOUS INTEGRATION [email protected] @IanMmmm

Upload: amazon-web-services

Post on 08-Sep-2014

1.683 views

Category:

Technology


2 download

DESCRIPTION

Adopting DevOps in an organization can start in many ways but from the technical perspective, a solid continuous integration environment is the mandatory foundation for many of the tools used by a DevOps team. This webinar shows how to build a continuous integration environment on Amazon Web Services (AWS) using services such as Amazon EC2, Amazon RDS and AWS CloudFormation. We also cover the benefits of using Amazon VPC to enable VPN access to the environment components, such as the source code repository, or the issue tracking database. Demos included in this webinar: - Building a core continuous integration environment with components such as Jenkins, Git and Bugzila, using Amazon EC2, Amazon RDS and Amazon CloudFormation. - Baseline maintenance of the continuous integration environment. View the Recording: http://youtu.be/5dJxhX1ChT4

TRANSCRIPT

Page 1: DevOps for the Enterprise: Continuous Integration

DEVOPS WEBINAR SERIES – EPISODE 2 ENABLING BUSINESS AGILITY: CONTINOUS INTEGRATION

[email protected]@IanMmmm

Page 2: DevOps for the Enterprise: Continuous Integration

“The term “DevOps” typically refers to the emerging professional movement that advocates a collaborative working relationship between Development and IT Operations, resulting in the fast flow of planned work (i.e., high deploy rates), while simultaneously increasing the reliability, stability, resilience and security of the production environment.” !

– Gene Kim

Page 3: DevOps for the Enterprise: Continuous Integration

WHY CONTINUOUS INTEGRATION?

Page 4: DevOps for the Enterprise: Continuous Integration

HOTELS MUSIC STORAGEMAGAZINES

Page 5: DevOps for the Enterprise: Continuous Integration

OLD WORLD: INFRASTRUCTURE IN

weeks

ENTERPRISES CAN’T AFFORD TO BE SLOW

Page 6: DevOps for the Enterprise: Continuous Integration

BASELINE

BRANCH

BRANCH

BRANCH

ELASPED TIME

INTEGRATION

INTEGRATIO

N

INTEGRATION

Page 7: DevOps for the Enterprise: Continuous Integration

PRINCIPLES OF CONTINUOUS INTEGRATION

Page 8: DevOps for the Enterprise: Continuous Integration

THE MORE I PRACTICETHE LUCKIER I GET - GARY PLAYER

Page 9: DevOps for the Enterprise: Continuous Integration

KEEP THE BUILD FAST

TEST IN A CLONE OF PRODUCTION

MAKE IT EASY TO GET THE LAST DELIVERABLES

EVERYONE CAN SEE THE RESULTS OF THE LAST BUILD

AUTOMATE DEPLOYMENT

Page 10: DevOps for the Enterprise: Continuous Integration

MAINTAIN A CODE REPOSITORY

AUTOMATE THE BUILD

MAKE THE BUILD SELF TESTING

EVERYONE COMMITS TO THE BASELINE EVERY DAY

EVERY COMMIT (TO THE BASELINE) SHOULD BE BUILT

Page 11: DevOps for the Enterprise: Continuous Integration

COMPONENTS OF A CONTINUOUS INTEGRATION

ENVIRONMENT

Page 12: DevOps for the Enterprise: Continuous Integration

DEVELOPER

Page 13: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

Page 14: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

Page 15: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

Page 16: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

PICK TASKS

Page 17: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

SUBMIT CODE

Page 18: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

SCHEDULE BUILD

Page 19: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

RECURENT BUILDS

Page 20: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

CODE FETCH

Page 21: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

CODE QUALITY TESTS

TEST RESULTS

Page 22: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

BUILD OUTPUT

Page 23: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER DOCS

BINARIES / PACKAGES

Page 24: DevOps for the Enterprise: Continuous Integration

CONTINUOUS INTEGRATION ON AWS

Page 25: DevOps for the Enterprise: Continuous Integration
Page 26: DevOps for the Enterprise: Continuous Integration

SOURCE CODE REPOSITORY

DNS

CONTINUOUS INTEGRATION SERVER

PROJECT MANAGEMENT SERVER

BUILDS

Page 27: DevOps for the Enterprise: Continuous Integration

ON-DEMAND

PAY AS YOU GO

ELASTIC

Page 28: DevOps for the Enterprise: Continuous Integration

=PROGRAMMABLE

PLATFORM

Page 29: DevOps for the Enterprise: Continuous Integration

AWS CLOUDFORMATION

STACK-BASED DEPLOYMENT SERVICE

Page 30: DevOps for the Enterprise: Continuous Integration

{      "Parameters"  :  {      "KeyName"  :  {              "Description"  :  "Name  of  an  existing  EC2                                              KeyPair  to  enable  SSH                                              access  to  the  instance",              "Type"  :  "String"          }      },  }

Page 31: DevOps for the Enterprise: Continuous Integration

CLOUDFORMATION TEMPLATE

PROCEDURALDEFINITION

Create it programmatically

KNOWN CONFIGURATION Store stack configuration in source control

PARAMETER DRIVEN Dynamic and user-driven

templates

COLLABORATION Share templates with ease as just files

Page 32: DevOps for the Enterprise: Continuous Integration
Page 33: DevOps for the Enterprise: Continuous Integration

CLOUDFORMATION TEMPLATE

Page 34: DevOps for the Enterprise: Continuous Integration

CONTINUOUS INTEGRATION SERVER

Page 35: DevOps for the Enterprise: Continuous Integration

DEMO !

BUILDING & CONFIGURING A CI ENVIRONMENT ON AWS

Page 36: DevOps for the Enterprise: Continuous Integration

APPLICATION VERSIONS

& INFRASTRUCTURE

VERSIONS

Page 37: DevOps for the Enterprise: Continuous Integration

INFRASTRUCTURE AS CODE

Page 38: DevOps for the Enterprise: Continuous Integration

CLOUDFORMATION TEMPLATE

Page 39: DevOps for the Enterprise: Continuous Integration
Page 40: DevOps for the Enterprise: Continuous Integration

aws.amazon.com/blogs/aws !

aws.amazon.com/new

@AWScloud @AWS_UKI

Page 41: DevOps for the Enterprise: Continuous Integration

DEVOPS WEBINAR SERIES – EPISODE 2 ENABLING BUSINESS AGILITY: DEVOPS FOR THE ENTERPRISE

[email protected]@IanMmmm