Creating services in IBM Bluemix

Bluemix

IBM Bluemix is IBM’s platform-as-a-service (PaaS) offering. Bluemix is an implementation of IBM’s Open Cloud Architecture, based on Cloud Foundry, that enables you to rapidly create, deploy, and manage your cloud applications. Since Bluemix is based on Cloud Foundry, you can tap into a growing ecosystem of runtime frameworks and services.

You can use Bluemix to quickly develop apps in the most popular programming languages using the provided runtime frameworks. You can develop mobile apps in iOS, Android, and HTML with JavaScript. For web apps, you can use languages such as Ruby, PHP, Java™, Go, and Python. You can also migrate existing apps to Bluemix and use the runtimes that Bluemix provides to run your apps.

Bluemix also provides middleware services for your apps to use. Bluemix acts on the app’s behalf when it provisions new service instances, and then binds those services to the app. Your app can perform its real job, leaving the management of the services to the infrastructure.

Let’s walk through a quick example that shows how you can add an IBM Bluemix service to an existing application.  In this particular case, I’ll show you how you can add IBM Watson Language Translation services into your application.

  1. Sign up for an IBM Bluemix account
  2. Download and install the Cloud Foundry command-line interface
  3. Execute the commands below to generate the service and authentication credentials
  4. Review the API guides to learn how to implement the service in your application

That’s it!


cf api https://api.ng.bluemix.net
cf login -u your_Bluemix_username
(When prompted, enter your Bluemix password.)
cf create-service language_translation standard csd_translate
cf create-service-key csd_translate credentials-1
cf service-key csd_translate credentials-1
cf logout
 

You may also like...

Leave a Reply