Tag Archives: paas

Quote

OpenShift vs OpenStack: what’s the difference?

From OpenShift Origin vs OpenStack – Red Hat OpenShift Blog:

OpenStack provides “Infrastructure-as-a-Service”, or “IaaS”….

The OpenShift hosted service provides “Platform-as-a-Service” or “PaaS”. It provides the necessary parts to quickly deploy and run a LAMP application:

Concisely:

  • OpenStack = IaaS
  • OpenShift = PaaS

Want to learn node.js? Here’s some great tutorials

Node.js is a hot topic and technology. If you want to see some good tutorials on it to help you learn, I recommend this, from developerWorks: Learn node.js development from these top Bluemix guides.

A simple example of how to set up a PHP-MySQL application in IBM Bluemix (including the code you need)

While PHP is not one of the standard runtimes provided in the Bluemix catalog, the sample code in this git repo (
https://hub.jazz.net/git/u27275/blm-hello-world-php/) will show you how to bring your own buildpack, and this buildpack will allow you to have PHP code running in Bluemix that also can talk to a MySQL database running in Bluemix.

Among the files there is a PDF providing detailed instructions on how to set things up in IBM Bluemix.

P.S. This is sample code.  See the licence file in the repo for more details.

How to set up Kanboard (a visual task board inspired by Kanban) on the IBM Bluemix platform

It is very easy to set up Kanboard on Bluemix, IBM’s PaaS solution. (For those of you not familiar with Kanboard, it it a visual task board inspired by Kanban). I encourage you to visit the Kanboard site for more information. 
 
Meanwhile, to set up Kanboard in Bluemix, I took the following steps, some which are optional:
 
1) Download the kanboard code from here: http://kanboard.net/downloads
2) Unzip the kanboard folder.
3) (Optional) Copy the kanboard folder into a local test environment. I had a Xampp test environment and I put the kanboard there. (e.g., C:\xampp\htdocs\kanboard). I started Apache and then pointed my browser at http://localhost/kanboard to see it working. (One of the benefits of doing this is I can configure the Kanboard environment before I push it into Bluemix. In my case, I created some new users, changed the admin password, and added some default tasks. If I push this folder, these changes will also show up in Bluemix.)
4) I had a copy of the Cloud Foundary executable (cf.exe) to push the code into Bluemix: I put the cf.exe file in the Kanboard folder.
5) I created a manifest.yml file in the Kanboard folder. In my manifest.yml file I had the following 
 

applications:
– name: <my app name>
  memory: 256M
  instances: 1
  host: <my host name>
  buildpack: https://github.com/zendtech/zend-server-php-buildpack.git
 
You can make the name and host name anything, though the hostname is part of the URL for the site, so it must be acceptible as part of a URL. Also the hostname needs to be unique in Bluemix. I tend to make the app and host name the same.
 
Open a command window, and from the Kanboard folder, enter the following commands:
  1. cf api https://api.ng.bluemix.net
  2. cf login -u <your Bluemix login account>
  3. cf target -o <your Bluemix login account> -s dev
  4. cf push
Once you see that the health and status for the app is “OK”, you can either go to Bluemix to check it out, or go directly to  the url: http://<hostname>.mybluemix.net/
You should be able to login and proceed to use it. (The default userid and password is here).