19
Agile Development using IBM Bluemix DevOps Services Hands-on workshop – DevConnect Toronto, June 15 th , 2016 Herman Singh Badwal Twitter: @hermansinghb Full Stack Developer & Developer Outreach IBM Bluemix DevOps Services

Bluemix DevOps Services

Embed Size (px)

Citation preview

Page 1: Bluemix DevOps Services

Agile Development using

IBM Bluemix DevOps ServicesHands-on workshop – DevConnect Toronto, June 15 th, 2016

Herman Singh BadwalTwitter: @hermansinghbFull Stack Developer & Developer OutreachIBM Bluemix DevOps Services

Page 2: Bluemix DevOps Services

2

Agenda

• Putting Bluemix & DevOps in Perspective• Bluemix registration & overview• Bluemix Hands-on exercises & labs

Page 3: Bluemix DevOps Services

“Two guys in a Starbucks now have access to the same computing power as a Fortune 500 company.”

Jim DetersFounder, Galvanize

Cloud computing has shifted where innovation is being done

Page 4: Bluemix DevOps Services

What is Bluemix?IBM’s cloud platform. Includes services at the Infrastructure level, the Platform level to the Software as a Service level all provisioned under one consistent experience.

Virtualization

Servers

Storage

Networking

Runtime

Middleware

OS

Virtualization

Servers

Storage

Networking

Runtime

Middleware

OS

Virtualization

Servers

Storage

Networking

Mobile

Integrated DevOps

Analytics

API Economy

New Biz Models

Cognitive

Internet of Things

Flexible Deployment

Not JustInfrastructure as a Service

Not JustPlatform

as a Service

App

licat

ion

Dev

elop

men

t, O

rche

stra

tion,

Inte

grat

ion

Sec

urity

, Man

agem

ent,

Gov

erna

nce

Management & Security

Inno

vatio

nA

gilit

y

Agi

lity

Agi

lit y

Page 5: Bluemix DevOps Services

Flexible Compute Options to Run Apps / ServicesInstant Runtimes Containers Virtual Machines

Platform Deployment Options that Meet Your Workload Requirements

Bluemix Public

Bluemix Dedicated

Bluemix Local

DevOpsTooling Your Own Hosted Apps / Services

Integration & API Mgmt

Powered by IBM SoftLayer In Your Data Center

+ +

Catalog of Services that Extend Apps’ Functionality

Web Data Mobile AnalyticsCognitive IoT Security Yours+

Events

How is Bluemix different?

Access to Watson

Choice of deployment options (with consistency)

Most compute options

Huge catalog of services

Great DevOps Services

Integration.

Ease of Deployment

Page 6: Bluemix DevOps Services

What is DevOps to you?• Means different things to different people. You ask 5 people and you’ll

get 5 different answers.• A definition I really like:

• DevOps: A culture where people, regardless of title or background, work together to imagine, develop, deploy and operate a system.

• Rugged Enterprise DevSecNetQAGovOps• Not a role

Reference: http://kenmugrage.com/post/my-new-definition-of-devops

Page 7: Bluemix DevOps Services

7

DevOps approach: Apply Lean principles accelerate feedback and improve time to value

People

Process

Line-of-business

Customer

1

3

2

1. Get ideas into production fast2. Get people to use it3. Get feedback

Continuously Improve:I. Application DeliveredII. Environment DeployedIII. Application and Environment Delivery Process

Page 8: Bluemix DevOps Services

8

Agenda

• Putting Bluemix in Perspective• Bluemix registration & overview• Bluemix Hands-on exercises & labs

Page 9: Bluemix DevOps Services

9

Registering/Verifying registration with Bluemix

1. Go to https://hub.jazz.net2. Click “Sign up” at the top left (if you already have an IBM id, test it out

by clicking “Log in”).3. After Signing up, check the email you registered with and verify it4. Try to “Log in” to https://hub.jazz.net once your email is verified5. Pick an alias to use on Bluemix DevOps Services (this alias will be

part of the URL of any projects you create there and also be the basis of your profile there).

6. Done! You are now set to start the lab exercises.

(These instructions are also available @ https://github.com/hermansb/bluemix-labs )

Page 10: Bluemix DevOps Services

Bluemix catalog – Live demo

Live demo at https://console.ng.bluemix.net/

  

Page 11: Bluemix DevOps Services

11

Agenda

• Putting Bluemix in Perspective• Bluemix registration & overview• Bluemix Hands-on exercises & labs

Page 12: Bluemix DevOps Services

12

What will we be using?

Pushes/deploys

Commit triggers build

Hosted on & provisions resources on

Provisions instances of

Uses buildpackhosts

Edit/push code

fork

Page 13: Bluemix DevOps Services

Hands-on Lab ExercisesNote: you can find all the links below and more athttps://github.com/hermansb/bluemix-labs

Choose your own adventure (instructions are in the Readmes of the projects below):

• Deploy a Starfighter game to Bluemix:https://github.com/cttttt/starfighter

• Deploy a Personality Insights App to Bluemix (requires Twitter account):https://github.com/watson-developer-cloud/personality-insights-nodejs

• Lots of workshop links: http://bluelabs.mybluemix.net/workshops/ • Bluemix DevOps Services docs & tutorials: https://hub.jazz.net/docs

Page 14: Bluemix DevOps Services

14

Good job!

Page 15: Bluemix DevOps Services

15

Resources: IBM DevOps Page: http://ibm.com/DevOps

DevOps For Dummies Book: http://ibm.co/devopsfordummies

Release and Deploy For Dummies Book: http://ibm.co/1bplaQV

IBM DevOps YouTube Playlist: http://bit.ly/1fiDOtl

Page 16: Bluemix DevOps Services

16

DevOps for the Enterprise

A DevOps case study:• Defining the problem

• Transitioning to DevOps

• Aligning with the Business

Page 17: Bluemix DevOps Services

17

Live Demo/Teaser – Bluemix DevOps Services v2• https://new-console.ng.bluemix.net/devops• “Toolchains” tab at top.

Page 18: Bluemix DevOps Services

18

Thank You

Page 19: Bluemix DevOps Services

Extra - See how an app is put together – Text to speech app using Watson APIs

Walk through the stages of this app http://watsonttslab.mybluemix.net/***SMEs may also choose to explore the Internet of Things boilerplate prior to starting this lab (they can use the existing flow in Node-RED with a virtual IOT device ibm.biz/iotsensor to show how the boilerplate works)

typos on page 4 for watson tts lab:

1. Drag a tan HTTP Request In node onto the workspace. Set the method to GET and the URL to /audio.    - the Tan HTTP Request In node is the HTTP node under "Input" nodes in Node-RED2. Drag a format node onto the workspace. Double-click the function node to edit it and add the following code.    - Should be "Drag a template node onto the workspace. Double-click the template node to edit it and add the following code."3. Drag an HTTP Request Out node onto the workspace.    - the Tan HTTP Request In node is the HTTP node under "Input" nodes in Node-RED

SMEs can provide an iteration for this lab in which they may choose to add other Watson services or functionality to the app    i.e.- Add Watson Translation services to convert the input string from English to French prior before converting into speech        - Use the Twitter output node (it's the last node under Social nodes) to tweet out whatever message is being converted by the app        - Use the Twilio node (requires account sign up on Twilio) to send out text messages of the message being converted by the app