Download - Dev and Ops to Cloud - Softshake 2013
©2013 CloudBees, Inc. All Rights Reserved
(Dev & Ops).toCloud()Cyrille Le Clerc - CloudBees
©2013 CloudBees, Inc. All Rights Reserved
/me
!2
Cyrille Le Clerc
@cyrilleleclerc
Open Source
CTO
DevOps, Infra as Code
Solution Architect
Cloud
©2013 CloudBees, Inc. All Rights Reserved
/you
!3
Dev? Ops? Cloud?
©2013 CloudBees, Inc. All Rights Reserved
IaaS, PaaS & SaaS
!4
Infrastructure as a Service
Platform as a Service
Software as a Service
Linux + storage + network
App runtime + middleware
Managed“Traditional” admin
Business App
Managed
©2013 CloudBees, Inc. All Rights Reserved
Agenda
!5
• Public Cloud
•toSaaS()
•toIaaS()
•toPaaS()
•toPrivateCloud()
• Conclusion
©2013 CloudBees, Inc. All Rights Reserved
(Dev & Ops).toSaaS()
!6
©2013 CloudBees, Inc. All Rights Reserved
Welcome to Salesforce World!!7
No Software
©2013 CloudBees, Inc. All Rights Reserved
End of the Road for Sysadmins?
!8
• Apps are managed for you
• Most of the work disappears
• Remaining
• Integration: network, identity /
SSO, ...
• Securitycredit http://www.flickr.com/photos/freefoto/4008710985/
©2013 CloudBees, Inc. All Rights Reserved
New Generation of DEV Teams
• Most of the work disappears
• SaaS programming = 4GL
• Sexy for “hardcore DEVs”?
!9
credit http://10-ers.livejournal.com/572299.html
©2013 CloudBees, Inc. All Rights Reserved
(Dev & Ops).toSaaS()
• You don’t know it but you already use it
• Accept it, don’t reject it
• OPS: keep the integration stuff
• DEV: delegate to specialized consulting companies or hire dedicated teams
!10
©2013 CloudBees, Inc. All Rights Reserved
(Dev & Ops).toIaaS()
!11
©2013 CloudBees, Inc. All Rights Reserved
New Territories
• Start new servers anywhere in minutes
• Infinite storage, servers, ...
• Everything is possible
!12
credit http://www.flickr.com/photos/pineapples101/3698169502/
©2013 CloudBees, Inc. All Rights Reserved
Depressing Dreary Territories?
!13
• No choice of hardware manufacturer
• Super limited choice of options and box sizes
Ford Model Tcredit http://my-forex-trading-room.com/forex-trading-made-simple/model-t-trading-system/simplicity-rocks/
©2013 CloudBees, Inc. All Rights Reserved
Great Playground
• Everything is new: datacenter, storage, hard-drive, network, security, ...
• New skills, learn everything
!14
credit http://www.flickr.com/photos/35393854@N00/2250714845/
©2013 CloudBees, Inc. All Rights Reserved
Software Defined Networks
• Virtualization of the network
• SDN is to network what Hypervisor is to servers
• Have fun with Amazon VPC, Elastic IPs, Security Groups...
!15
credit http://dsynegrafix.deviantart.com/art/Labyrinth-200164220
©2013 CloudBees, Inc. All Rights Reserved
New Security Rules
!16
On Premises
Cloud
©2013 CloudBees, Inc. All Rights Reserved
New Security Rules
!16
On Premises
Cloud
Firewall
Internet
Firewall
• Layers in the data center • Critical servers are
NOT visible on the Internet
©2013 CloudBees, Inc. All Rights Reserved
New Security Rules
!16
On Premises
Cloud
Firewall
Internet
Firewall
• Layers in the data center • Critical servers are
NOT visible on the Internet
• No layers of the data center • Critical servers are
visible on the Internet • Different/limited firewalling
Internet
©2013 CloudBees, Inc. All Rights Reserved
New High Availability Rules
!17
• SAN is slow & not shareable
• Fast disk is “ephemeral”
• Multiple data centers are everywhere
• Servers and storage are infiniteAmazon: regions & availability zones
©2013 CloudBees, Inc. All Rights Reserved
Era of Infrastructure as Code
!18
• The cloud is “API infected”
• Infrastructure as Code is in the DNA of the cloud
• Chef, Puppet, AWS CloudFormation, AWS OpsWorks, CloudInit...
credit http://www.flickr.com/photos/don_hoey/4417513748/
©2013 CloudBees, Inc. All Rights Reserved
Design for Failure
!19
• “Everything fails, all the time” Werner Vogels, CTO Amazon.com
• Cloud components can WILL FAIL
• Architectural patterns for the cloudcredit http://moby.to/hcz19c
©2013 CloudBees, Inc. All Rights Reserved
Design for Failure
!19
• “Everything fails, all the time” Werner Vogels, CTO Amazon.com
• Cloud components can WILL FAIL
• Architectural patterns for the cloudcredit http://moby.to/hcz19c
“Design for failure and nothing fails”
©2013 CloudBees, Inc. All Rights Reserved
For DEV: Evolution or Revolution?
!20
• Infrastructure services are still built by the OPS team ⇒ not new
• But the mindset of OPS teams can change to “as a Service”
• Opportunity to embrace Infrastructure as Code
Evolution Revolution
©2013 CloudBees, Inc. All Rights Reserved
IaaS is Just a Transition to PaaS
• IaaS platforms are adding services
• 30+ services on Amazon AWS
• Running your own MySQL on the cloud???
!21
credit http://www.flickr.com/photos/54947227@N07/9706539751/sizes/o/in/photostream/
©2013 CloudBees, Inc. All Rights Reserved
(Dev & Ops).toIaaS()
• Go Go Go!
• Great source of innovation and opportunity for improvement
• Not a silver bullet to adopt the “as a Service” culture
• Don’t underestimate the learning curve and the difference of skills
!22
©2013 CloudBees, Inc. All Rights Reserved
How.toIaaS()
• Choose a green field infrastructure
• With the Infrastructure as Code team (Chef, Puppet, ...)
• Innovate, adapt your procedures and technical solutions
!23
©2013 CloudBees, Inc. All Rights Reserved
(Dev & Ops).toPaaS()
!24
©2013 CloudBees, Inc. All Rights Reserved
New Territories
• Start new applications and build environments anywhere in minutes
• Everything is “Project Team Friendly”
!25
credit http://www.flickr.com/photos/pineapples101/3698169502/
©2013 CloudBees, Inc. All Rights Reserved
Depressing Dreary Territories?
!26
• Sorry, NO hacking the middleware
Ford Model Tcredit http://my-forex-trading-room.com/forex-trading-made-simple/model-t-trading-system/simplicity-rocks/
©2013 CloudBees, Inc. All Rights Reserved
Not a “Mad Scientist Place”
• Tweaking everything is NOT possible
• Stronger constraints: ephemeral disk, smaller servers...
• But you can use best of breed technology
!27
credit http://www.flickr.com/photos/35393854@N00/2250714845/
©2013 CloudBees, Inc. All Rights Reserved
New Role for Ops
!28
• Apps are installed and run for you
• Some work disappears
• Remaining:
• 24x7 Level 3 support
• Reproducibility
• Integration, securitycredit http://www.flickr.com/photos/54947227@N07/9706539751/sizes/o/in/photostream/
©2013 CloudBees, Inc. All Rights Reserved
DEV.toPaaS()
• Best practices and Design Patterns are key in the cloud:
• Scalability
• High-availability
• Ephemeral file system...
• Cloud Services Oriented Architecture: exciting but learn how to choose them
• Don’t try to tweak initially
!29
©2013 CloudBees, Inc. All Rights Reserved
(Dev & Ops).toPaaS()
• Go Go Go!
• Great accelerator for projects and innovation place
• Learn the “as a Service” culture
!30
©2013 CloudBees, Inc. All Rights Reserved
How.toPaaS()
• Choose a green field application
• With a “lightweight” DEV team
• Innovate, adapt your procedures and technical solutions
!31
©2013 CloudBees, Inc. All Rights Reserved
.toPrivateCloud()
!32
©2013 CloudBees, Inc. All Rights Reserved
.toPrivateCloud()
!33
• Infrastructure as a Service Software
• Cloud is much more complex than traditional software
• Will Can you succeed?
©2013 CloudBees, Inc. All Rights Reserved !34
Thank You!
©2013 CloudBees, Inc. All Rights Reserved !35
@cyrilleleclerc