introduction to bluemix and watson

28
IBM Bluemix Getting Started

Upload: jake-peyser

Post on 16-Apr-2017

289 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Introduction to Bluemix and Watson

IBM BluemixGetting Started

Page 2: Introduction to Bluemix and Watson

Customer ManagedService Provider Managed

Cloud Foundry. Docker. OpenStack.Capabilities in Bluemix span PaaS and IaaS and can be delivered as a public, dedicated, or on-premises implementation.

Infrastructure as a Service

Code

Data

Runtime

Middleware

OS

Virtualization

Servers

Storage

Networking

Code

Data

Runtime

Middleware

OS

Virtualization

Servers

Storage

Networking

Platform as a Service Built on

technologies:

Page 3: Introduction to Bluemix and Watson

So what is Bluemix?Bluemix is an open-standards, cloud-based platform for building, running, and managing applications.

Build your apps, your wayUse the most prominent compute technologies to power your app: Cloud Foundry, Docker, OpenStack.

Extend apps with servicesA catalog of IBM, third party, and open source services allow the developer to stitch an application together quickly.

Scale more than just instancesDevelopment, monitoring, deployment, and logging tools allow the developer to run and manage the entire application.

Layered SecurityIBM secures the platform and infrastructure and provides you with the tools to secure your apps.

Deploy and manage hybrid apps seamlesslyGet a seamless dev and management experience across a number of hybrid implementations options.

Flexible Pricing Try compute options and services for free and, when you’re ready, pay only for what you use. Pay as you go and subscription models offer choice and flexibility.

Coming Summer 2015

Page 4: Introduction to Bluemix and Watson

More openness and choice than ever beforeBluemix is anything but locked down. You choose how you build, deploy, and manage your apps. Bluemix takes care of the rest.

ComputeChoose the level of infrastructure abstraction based on your app’s architectural needs.

Dev ToolingFrom editors to source code management to continuous delivery, you can use Bluemix’ powerful tooling or easily bring your own.

LocationDeploy apps to Bluemix Public (in a growing number of geos), your own dedicated cloud Bluemix, or one that runs within your data center.

ServicesPick from a catalog of IBM, third party, open source, or your own services to extend your apps.

IBM

Third Party

Open Source

Yours

Page 5: Introduction to Bluemix and Watson

Compute FlexibilityChoose the level of infrastructure abstraction and fine-tuned control that suits their apps and services.

Instant Runtimes Containers Virtual Machines (Beta)

The highest level of infrastructure abstraction. Focus on the app.

Powerful, but less resource intensive than VMs. Key to supporting hybrid portability.

Control all the way down to the operating system.

• Extends Cloud Foundry with DevOps tooling, integration capabilities, and seamless app management

• Support for 7 key languages and the option to use a community buildpack.

• Docker as-a-service means no VMs to manage

• A repository of enterprise-grade images which are trusted and secure

• Enhanced performance and scalability

• Integrated monitoring, logging, networking, and storage

• Deploy and manage VMs consistently across public, dedicated, and private instances with a single dashboard.

• Connect to your own OpenStack infrastructure

Page 6: Introduction to Bluemix and Watson

Runtime Best For Advantages Disadvantages

Java Back End DevelopmentMonolithic Apps

J2EE Enterprise StandardExtensive Libraries

Bulky

Node.js Web DevelopmentLightweight/Fast

Package ManagementFront and Back End Ubiquity

Single Threaded

Ruby Web Development Succinct SyntaxExtensive Framework

Poor ScalingNot Suited for HPC

Node-RED Service Integration Drag-and-drop UIAccessible to non-devs Weak Back End

Go Service DevelopmentScalable

Building APIsHigh Performance

More ComplexMissing Libraries

Python Infrastructure DevelopmentSimple Syntax

Easy Integration with C & JavaData Analytics

SlowerPoor Multi-Processor Support

PHP Web Development Similar to C Not ModularWeakly Typed

Instant RuntimesCloud Foundry abstracts languages with buildpacks that provide framework and runtime support for your app.

Page 7: Introduction to Bluemix and Watson

1 | PublicMaximize on cloud economics and agility.

2 | DedicatedEverything is dedicated and connected to you — agility of public cloud, yet feels like home.

3 | NEW: LocalBehind the firewall for the most sensitive workloads.

Seamless ExperienceRegardless of which combination you choose, you can expect a single, seamless experience.

Hybrid CloudLeverage multiple deployment zones to get the most out the cloud and connect to your existing applications.

Page 8: Introduction to Bluemix and Watson

IBM BluemixConsole Overview

Page 9: Introduction to Bluemix and Watson

– Identify your geographic location in two ways

1. The subdomain of the URL

2. The region selection section in user settings

– Change your geo by selecting a new location in the Region Selection section of the user settings

2

RegionsEach production instance of Bluemix Public is located in a different geographic location.

1

Page 10: Introduction to Bluemix and Watson

Company > Organizations > Spaces > Apps/Services

1. The currently selected org

2. Create a new space within the org

3. The currently selected space

– An individual can belong to one or more organizations

– By default, a user belongs to an org with the name of their registration email

– Users can view and change their currently selected org

– Each org contains one to many number of spaces

– User can only view the spaces in their currently selected org

– Permissions can be fine tuned for an organization or space by selecting Manage Organizations in the user settings dropdown

Orgs and SpacesEnvironment isolation in Bluemix is achieved using Organization and Spaces.

Page 11: Introduction to Bluemix and Watson

– View all apps and basic corresponding information

– Create new apps or provision new services from this section

– Drill down to a specific app or service details page

Dashboard: Your Apps and ServicesAll your apps, infrastructure, and service instances for each space are contained in a single, searchable location.

Page 12: Introduction to Bluemix and Watson

– View your app’s detailed metrics, logs, and parameters

– Horizontally or vertically scale your application

– Manage your app’s services

App DetailsThe app details page will display your app’s basic information and provide routes to more in-depth information for your app.

Page 13: Introduction to Bluemix and Watson

– Faceted search on the left sidebar narrows down options in catalog

– Boilerplates (prebuilt app with several services) are available as a starting codebase

– Selecting a service allows you to create a new service instance and bind it to your app

Catalog: Runtimes and ServicesThe catalog houses all the runtimes, container images, and services available in the current region.

Page 14: Introduction to Bluemix and Watson

IBM BluemixCreating and Updating an App

Page 15: Introduction to Bluemix and Watson

1. Find your desired runtime in the catalog

2. Select the runtime, then select the Space and fill in the Name and Host fields in the configuration box

3. Click ‘Create’Your app will now stage and deploy. Once

it is finished, hit the link to access your running app!

1

Creating an appThe simplest way to get a functioning app up on Bluemic is to create an app from one of the supported runtimes in the catalog.

2

Page 16: Introduction to Bluemix and Watson

1. Create a Git repository for your app and navigate to your repo

2. Click the ‘Edit Code’ button

3. Navigate to the index.html file inside of the public folder

4. Change the value inside the h1 element on line 18 to read “Hello World!”

5. Save the file

Editing your codeUse IBM DevOps Services to update your code

4

1

3

Page 17: Introduction to Bluemix and Watson

1. Navigate to the Git view in the left sidebar

2. Select the index.html file you edited, add a commit message, and click ‘Commit’

3. Click ‘Push’ to update your app with your committed code

4. Your app will automatically build, restage, and deploy. Click the ‘Build & Deploy’ button to view the default pipeline perform these actions

5. View your updated app

Updating your appUse the Git features of IDS to update and restage your application

1

2

4

Page 18: Introduction to Bluemix and Watson

Hello World!

Page 19: Introduction to Bluemix and Watson

IBM BluemixWatson on Bluemix

Page 20: Introduction to Bluemix and Watson

INPUT PROCESS OUTPUT

Page 28: Introduction to Bluemix and Watson

Additional ResourcesUse the following resources to continue exploring Bluemix

• IBM Bluemix GitHub: https://github.com/ibm-bluemix

• Bluemix Blog: https://developer.ibm.com/bluemix/blog/

• Watson Developer Cloud: https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/

• Q&A Travel Chat: https://watson-travel-qa.mybluemix.net/

• Mobile Health Q&A Video: https://www.youtube.com/watch?v=rywvlomIzIg

• Concept Insights Demo: http://concept-insights-demo.mybluemix.net/

• Language Translation Demo: http://language-translation-demo.mybluemix.net/

• Marvel Comic Recognition: http://marvelcomicrecognition.mybluemix.net/

• Alchemy API News Explorer: https://news-explorer.mybluemix.net/