Bluemix DevOps Meetup
-
Upload
kyle-brown -
Category
Software
-
view
484 -
download
3
Transcript of Bluemix DevOps Meetup
© 2015 IBM Corporation
IBM Bluemix
RTP Bluemix DevOps Meetup
Kyle Brown Distinguished Engineer, IBM Cloud Lin Sun
Senior Software Engineer, IBM Container Service 03/31/2015
IBM Bluemix
© 2015 IBM Corporation 2
§ DevOps overview § What is Docker? § IBM Bluemix and the Container Service § IBM DevOps Services and Containers § Extended Scenarios
Agenda
IBM Bluemix
© 2015 IBM Corporation 3
IBM DevOps point of view Enterprise capability for continuous software delivery that enables organizations to seize market opportunities and reduce time to customer feedback
Accelerate software delivery –
for faster time to value
Balance speed, cost, quality and risk –
for increased capacity to innovate
Reduce time to customer feedback – for improved customer
experience
Our DevOps POV is resonating with clients and they are delivering measurable business outcomes with DevOps
Continuous Customer Feedback
& Optimization
Collaborative Development
Continuous Release and Deployment
Continuous Monitoring
Continuous Business Planning
Continuous Testing
Operate Develop/ Test
Deploy
Steer
DevOps Continuous Feedback
IBM Bluemix
© 2015 IBM Corporation 5
Reference: 2013 & 2014 State of DevOps Report by PuppetLabs
DevOps is more important than ever
5
We found that companies with high IT performance are twice as likely to exceed their profitability, market share and productivity goals, giving them a strong competitive edge. Three major factors contribute to
organizational performance: Ø IT performance and
DevOps Practices
Ø Organizational culture and climate for learning
Ø Job satisfaction
IBM Bluemix
© 2015 IBM Corporation 6
DevOps is a Journey…not a destination
6
P e o p l e
P r o c e s s
Te c h n o l o g y
IBM Bluemix
© 2015 IBM Corporation 7
DevOps Adoption Paths
OperateDeployDevelop / Test
Mobile Cloud SocialIntelligentDevices
Workloads and Communities
SecurityBig Data Expert Systems
Eco
Syst
emIm
plementation Services
Industry
DevOps Foundation
Deployment Platforms (PaaS, IaaS, Physical Infrastructure)
Steer
Linked Data OSLC
Jazz Foundation SaaS
IBM Bluemix
© 2015 IBM Corporation 8
DevOps Major Practices
Mobile Cloud SocialIntelligentDevices
Workloads and Communities
SecurityBig DataExpert Systems
Eco
Syst
emIm
plementation Services
Industry
OperateDeployDevelop / Test
DevOps Foundation
Deployment Platforms (PaaS, IaaS, Physical Infrastructure)
Steer
Linked Data OSLC
Jazz Foundation SaaS
Continuous Business Planning
Collaborative Development
Continuous Testing
Continuous Release and Deployment
Continuous Monitoring
Continuous Customer Feedback
& Optimization
DevOps Major Practices support continuous innovation, feedback and accelerated lifecycle, enabling a business to plan, track, manage, and automate all aspects of continuously delivering business ideas. At the same time, the business is able to manage both existing and new workloads in enterprise-class systems and open
the door to innovation with cloud and mobile solutions.
IBM Bluemix
© 2015 IBM Corporation 9
Continuous Deployment Best Practices § Rationalize and normalize deploy processes. Impact infrastructure, platform and application
deployments.
§ Maximize process, governance and promotion automation. Focus on consistency, error and reduced friction affecting release periodicity.
§ Approach automation as a hybrid, full stack model. Expect early adopters of public, private cloud and automate management.
§ Always use production-like architecture and configurations in all environments. Measure impact of environment induced error.
§ Leverage architecture building blocks and standards to define full stack patterns. Evolve to a self-service model.
§ Collaborate Biz, Dev, Ops early in delivery pipeline to assimilate requirements and plan change. Maintain collaboration at project level to improve agility for continuous change.
9
IBM Bluemix
© 2015 IBM Corporation 11
Docker Containers simplifies cloud portability
A platform to build, ship, and run applications in “containers”. Developers & SysAdmins love the flexibility and standardization of Docker
Standardization à Application portability Package, ship, and run applications anywhere
The Docker Hub Registry has 5,000+ "Dockerized" applications
Lightweight Containers are “light” users of system resources, smaller than VMs,
start up much faster, and have better performance
Ecosystem-friendly A new industry standard, with a vibrant ecosystem of partners.
730+ community contributors; 50,000 third-party Docker projects on GitHub
User-friendly Developers build with ease and ship higher-quality applications SysAdmins deploy workloads based on business priorities and policies.
"Flexibility and portability are becoming paramount in developing, deploying and managing applications in the cloud, particularly at scale and among large enterprise organizations," Jay Lyman, a senior analyst for enterprise software at 451 Research, told Linux.com.1 1Linux.com
IBM Bluemix
© 2015 IBM Corporation 12
Docker Terminology § Image – layered file system where each layer references the layer below
§ Dockerfile – build script that defines: – an existing image as the starting point – a set of instructions to augment that image (each of which results in a new layer in the
file system) – meta-data such as the ports exposed – the command to execute when the image is run
§ Container – runtime instance of an image plus a read/write layer
§ Docker Hub – centralised repository of Docker images
bootfs (Kernel)
ubuntu:14.04 debian:wheezy
ibm-‐jre:8.0
websphere-‐liberty:8.5.5 websphere-‐liberty:beta
app-‐a app-‐b app-‐c app-‐eapp-‐d
c1 c2 c3 c4 c5 c6
mongo:latest
c7 c8= container
= image
IBM Bluemix
© 2015 IBM Corporation 13
Deploying to the Cloud in a repeatable way
Containers & VMs Understanding both technologies
Virtualization Approach Build - Package the (guest) operating system - Add required files and programs Deploy: - This entire “package” can be moved and reconfigured across different physical machine Change: - Change details of the software within the virtual machine and then create a new virtual machine. Value: - Traditional persistent workloads (stored data)
Container Approach Build: - Software stack can be individually packaged Deploy: - Software stack in a Docker container can be easily moved between deployment environments Change: - Recomposed software into new stacks Value: - Generally easier to build, share, and more portable than VMs - Transient workloads (non-persistent)
Standardization and choice for delivering the best business value for you
IBM Bluemix
© 2015 IBM Corporation 15
IBM Bluemix™ - The Digital Innovation Platform Transform your business with innovation in high-growth digital business
Rapidly bring new products and services to market at lower cost.
Balance agility with quality, security and governance.
Extend existing IT investments into cloud business and delivery models.
Why Bluemix
Open cloud architecture
DevOps & app lifecycle mgmt
Hybrid integration, deployment and management
Syndicated catalog of IBM, 3rd party and community services and images
Global reach
IBM Bluemix
© 2015 IBM Corporation 16
Logical Architecture
Bluemix GUI and Command-Line Tools
Cloud Foundry
Enterprise Docker OpenStack
SoftLayer
DEA Container
VM
Services
IBM Bluemix
© 2015 IBM Corporation 17
IBM Container Runtime on Bluemix
ü Automate the build of Docker images
ü Manage and distribute Docker images in private image registries
ü Easily host containers in the cloud
ü Scale and auto-recovery built-in
ü Logging and Monitoring built-in
IBM Bluemix
© 2015 IBM Corporation 18
Docker Value IBM Value-add Customer Value
Docker Hub Registry holds a repository of 75000+ docker images
• IBM hosted public registry containing IBM images - linked to Docker Hub
• Client unique registry available on and off premises
• Curated Enterprise-ready Images
Customers have at their figure tips the images they require to deploy containers that meet their business needs and strategy
Open-source, standardized, lightweight , self sufficient LXC container technology
• Enhanced performance with bare metal deployment
• Run images to local datacenter or cloud • Deployment choice with pSeries & zSeries
Hybrid Cloud choice and flexibility to choose the right mix for their business
Build, ship and run standardized containers
• Integrated monitoring & logging • Elasticity to grow storage & container needs • life-cycle management of containers and
data volumes
Docker simplicity and ease of use with the Enterprise-level of integrity and confidence to run a business
Container connections using links and service discovery
• Private net work communication • External IP address
Extends and connects Docker containers to production-ready Enterprise environments
+ =
IBM Containers - A Bluemix Runtime deploy and manage distributed cloud workloads in a Hybrid environment packaged as Docker containers
+ =
+ =
Hybrid Cloud ~70% of enterprises to pursue hybrid cloud
computing by 2015*
*Source: Gartner, p.6, Private Cloud Matures, Hybrid Cloud is Next, Gartner G00255302, Sept 6, 2013
+ =
IBM Bluemix
© 2015 IBM Corporation 21
Maureen, DevOps Pro
• Maureen is a seasoned
developer with 15 years experience in traditional application delivery
• Her primary motivation is to build scalable and efficient cloud services
21
Demo (Container group + route: Local -> Cloud):
o Maureen runs her etherpad image locally o Maureen test her etherpad image locally o Maureen pushes her image to the cloud o Maureen runs her etherpad image in the cloud with route in the cloud o http://etherpad-demo.mybluemix.net
IBM Bluemix
© 2015 IBM Corporation 23
§ Unified experience: Get started. Be produc5ve. Deliver high quality. Monitor and scale.
§ Write code, debug, build and test -‐-‐ all in your own workspace
§ Your cloud always sync'd to your desktop, from anywhere
§ Customize each stage, incrementally discover, and add new services to your delivery pipeline What’s new • Dedicated sandbox in the cloud for every user • Bluemix Live Sync • Extensible Delivery Pipeline
“...instead of…six (6)months…to build an applica9on…it took us 15
days….poten9al going forward, of a cost savings…for Bay Area Rapid Transit (BART) of possibly…of 80 to 90%”
-‐ Slavik Zorin, chief execu9ve officer, Synchrony Systems
IBM Bluemix DevOps Services Work together to go from idea to delivering value in minutes
Build & Deploy
Easy Access
Code Now Team Collaboration
DevOps Services
IBM Bluemix
© 2015 IBM Corporation 24
Anatomy of a Delivery Pipeline
SourceRepos
Continuous Integration & Build
Mgmt. Build
PackageRepo
Build Registeredwith Package
Repo
Triggers
VersionMeta-data
DeploymentSystem
Builds
Test 1
Test ...
Test n
Prod
FunctionalTests
PerformanceTests
Monitoring
Environment Management
IBM Bluemix
© 2015 IBM Corporation 25
IBM Bluemix DevOps Services – Project Mgmt
Source Control Management
• Hosted source control management within the cloud
• Support for Git and Jazz repositories • Manage users access via projects • Projects have developer centric tools
such as IDE, defect tracking, and a delivery pipeline
IBM Bluemix
© 2015 IBM Corporation 26
IBM Bluemix DevOps Services – Delivery Pipeline
• Integra5on test, System test, Produc5on
• Automa5on ensures the same procedure in each environment
• Fully hosted, managed, and integrated in the cloud for the cloud
IBM Bluemix
© 2015 IBM Corporation 27
Anatomy of the Bluemix Delivery Pipeline
Stages Manages the flow of work through the pipeline. Stages have triggers, inputs, jobs, and properties.
Jobs Where the work is actually done. One or more within a stage. Build, Deploy, Test are the categories of jobs.
Triggers Events that start the execution of a stage (manual vs automatic). Automatic includes SCM commits and stage completion.
Inputs Defined on a stage and identifies the artifacts used by the jobs within a stage. Can be an SCM branch or the artifacts produced by another job (form a previous stage).
Properties Defined on a stage and values are passed to Jobs within the stage. A job may override a value and have it passed to downstream jobs.
IBM Bluemix
© 2015 IBM Corporation 28
Demo Scenario Leverage portability of containers, Continuous Build support in DevOps Services and convenience of Bluemix Containers.
IBM DevOps Services
Build Pipeline
IBM Container Service
on IBM Bluemix
Code stored on Github
Local Eclipse IDE
Local Docker
(optional)
IBM Bluemix
© 2015 IBM Corporation 30
§ Con6nuous integra6on of docker images using IBM UrbanCode Build
§ Deploy and manage mul6-‐pla;orm/mul6-‐container applica6on environments with IBM UrbanCode Deploy to § IBM Container Service via Bluemix § Docker hosts on hybrid-‐clouds § IBM SoRLayer and others (e.g. OpenStack, AWS, VMWare) § Mobile, Tradi5onal/virtualized, Mainframes
§ UrbanCode Deploy with IBM Docker Enterprise provides an enterprise solu5on for Docker containers
What’s new IBM UrbanCode enables automated deployment and management of multi-platform & multi-container environments to hybrid cloud
IBM UrbanCode solution for Docker Containers Enabling multi-platform & multi-container deployments to Hybrid Clouds
Docker Hub Enterprise
Backend Systems of Record
IBM Containers