app centric devops - cloudstack 2014 collaboration conference #ccna14

30
Application Centric Devops A Real-life Case Study Uri Cohen GigaSpaces @uri1803 #CCNA14

Upload: uri-cohen

Post on 15-Jan-2015

848 views

Category:

Technology


2 download

DESCRIPTION

Slides from my session at #CCNA14 http://sched.co/1hESje8

TRANSCRIPT

Page 1: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Application Centric Devops

A Real-life Case Study

Uri Cohen GigaSpaces @uri1803#CCNA14

Page 2: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

The Grand Story

• Leading UK-based online betting house • 200K concurrent

visitors at peak• ~40 developers

Page 3: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

How Things Were

• Inspiration Strikes… • A long and hard

struggle begins…– Infrastructure– Dev– Ops

• Until you lose will

Page 4: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Bridges, Not Walls

Page 5: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

CI First(Because

That’s What the Devs

Understand & Control)

Page 6: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

But It’s Much More than CI

http://www.udidahan.com/wp-content/uploads/stateModel.gif

Page 7: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Streamline the Entire Flow from

Dev to Prod

Automate the build and deployment of software.

Page 8: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Streamline the Entire Flow from

Dev to Prod

Automate and enforce the quality assurance process.

Page 9: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Streamline the Entire Flow from

Dev to Prod

Increase the consistency between environments and across systems

Page 10: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Why It Matters

Reduce manual handovers

Page 11: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Why It Matters

Increase consistency and reliability

Page 12: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Why It Matters

Create a common vocabulary between dev and ops

Page 13: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Why It Matters

Share tools and practices across the organization, and deploy them as part of the platform

Page 14: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Objective: Automated Continuous Delivery Pipeline

Page 15: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Objective: Automated Continuous Delivery Pipeline

Page 16: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Solution: Common Platform

(as a Service)

Build a common tools set that can be consumed as a service by everyone

Page 17: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

The Good

• Same toolset across• Single point of

governance • Consistency

across projects

Page 18: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

The Bad

• Rigid application build and deployment lifecycle• Lose the benefits

of a Darwinian evolution of tools and technologies

Page 19: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Can Standard

PaaS Platforms

Really Fit the Bill?

Page 20: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

They’ve Decided to Build Their

Own!

http://www.fifoil.com/images/pageImages/builders_pic1.jpg

Page 21: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

CloudStack as a

Foundation

• Immutable servers– Bake vs Fry

• Provision and decommission on a per build basis

Page 22: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Chef for CM

Page 23: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Cloudify for Application Blueprints

Page 24: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Open Source Platform for Deploying, Managing and ScalingComplex Multi-Tier Applications on the Cloud

Page 25: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Automation Must Apply to All Layers

Proxy Config WAR Schema

Infrastructure

Middleware Apache Tomcat MySQL

Application

Host Networks Storage

Page 26: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Automation , High Level

Cloudify

Jenkins

Chef CloudStack

API

Page 27: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Automation , High Level

Cloudify

Jenkins

Monitoring & Alarming

Chef CloudStack

API

Page 28: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Where It Stands Today

• Fully automated pipeline, promotion to production is still manual • Moving forward to post deployment

Page 30: App Centric Devops - CloudStack 2014 Collaboration Conference #CCNA14

Thank You!