Creating services in IBM 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.
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.
- Sign up for an IBM Bluemix account
- Download and install the Cloud Foundry command-line interface
- Execute the commands below to generate the service and authentication credentials
- Review the API guides to learn how to implement the service in your application
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