devops for the enterprise: continuous integration

Post on 08-Sep-2014

1.683 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

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

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

ianmas@amazon.com@IanMmmm

“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

WHY CONTINUOUS INTEGRATION?

HOTELS MUSIC STORAGEMAGAZINES

OLD WORLD: INFRASTRUCTURE IN

weeks

ENTERPRISES CAN’T AFFORD TO BE SLOW

BASELINE

BRANCH

BRANCH

BRANCH

ELASPED TIME

INTEGRATION

INTEGRATIO

N

INTEGRATION

PRINCIPLES OF CONTINUOUS INTEGRATION

THE MORE I PRACTICETHE LUCKIER I GET - GARY PLAYER

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

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

COMPONENTS OF A CONTINUOUS INTEGRATION

ENVIRONMENT

DEVELOPER

SOURCE CODE REPOSITORY

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

PICK TASKS

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

SUBMIT CODE

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

SCHEDULE BUILD

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

RECURENT BUILDS

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

CODE FETCH

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

CODE QUALITY TESTS

TEST RESULTS

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER

BUILD OUTPUT

SOURCE CODE REPOSITORY

PROJECT MANAGEMENT SERVER

CONTINUOUS INTEGRATION SERVER DOCS

BINARIES / PACKAGES

CONTINUOUS INTEGRATION ON AWS

SOURCE CODE REPOSITORY

DNS

CONTINUOUS INTEGRATION SERVER

PROJECT MANAGEMENT SERVER

BUILDS

ON-DEMAND

PAY AS YOU GO

ELASTIC

=PROGRAMMABLE

PLATFORM

AWS CLOUDFORMATION

STACK-BASED DEPLOYMENT SERVICE

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

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

CLOUDFORMATION TEMPLATE

CONTINUOUS INTEGRATION SERVER

DEMO !

BUILDING & CONFIGURING A CI ENVIRONMENT ON AWS

APPLICATION VERSIONS

& INFRASTRUCTURE

VERSIONS

INFRASTRUCTURE AS CODE

CLOUDFORMATION TEMPLATE

aws.amazon.com/blogs/aws !

aws.amazon.com/new

@AWScloud @AWS_UKI

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

ianmas@amazon.com@IanMmmm

top related