Introduction to IBM Bluemix

Preview:

Citation preview

Introduction to Bluemix

Andy Van Den HeuvelSoftware Architect

Driss AmriSoftware Engineer

Agenda● Cloud 101

● Introducing Cloud Foundry

● IBM Bluemix

● Buildpacks in Bluemix

● Services in Bluemix

● Cloud Foundry nuts and bolts

● Cloud Foundry Foundation

● Open Source

● Great documentation

● Great community

Cloud Foundry

IBM Containers

● Powered by Docker

● Hosted Private Registry

● Monitoring and Logging

● Service integration

Buildpacks

OpenShift Cartridge, Heroku Buildpack, ...

DEMOYour first PHP app in the Cloud

SERVICES

DevOps

DEMOScaling applications in the Cloud

■ NoSQL Database-as-a-Service

■ Based on CouchDB

■ REST API

■ Support for Geospatial queries

Cloudant

CF CLI

CF for dummies: https://console.eu-gb.bluemix.net/

1. cf api https://api.eu-gb.bluemix.net

2. cf login -u USER -p PASSWORD

3. cf push APP_NAME -p target/demo-0.0.1-SNAPSHOT.jar-b https://github.com/cloudfoundry/java-buildpack.git

4. cf logs APP_NAME --recent

CF Manifest

manifest.yml

--- applications: - services: - mysql-hy name: craftworkz-php memory: 128MB instances: 1 buildpack: https://github.com/cloudfoundry/php-buildpack.git

VCAP{ "mongodb-2.4": [ { "name": "mongodb-yw", "label": "mongodb-2.4", "plan": "100", "credentials": { "hostname": "159.8.128.75", "host": "159.8.128.75", "port": 10122, "username": "b84b8f9e-bf87-49d0-a7b4-3651ceed88d8", "password": "56dac264-7115-46c3-8452-0bad264dbe92", "name": "d8e702ec-b82c-487f-833a-5c45ae2bc3a1", "db": "db", "url": "mongodb://b84b8f9e-bf87-49d0-a7b4-3651ceed88d8:56dac264-7115-46c3-8452-0bad264dbe92@159.8.128.75:10122/db" } } ]}

DEMOPHP + SendGrid

Recommended