O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning IBM Bluemix

Book Description

Demystify application development on cloud platform by leveraging the power of IBM Bluemix

About This Book

  • The first book in the market that discusses the power of IBM Bluemix
  • Shows developers how to develop and deploy applications on the cloud platform using IBM Bluemix
  • A comprehensive guide to help you get started with IBM Bluemix also featuring samples applications

Who This Book Is For

This book is aimed at developers seeking to learn application development and deployment methods on IBM Bluemix. A basic knowledge of Java and Node.js is assumed.

What You Will Learn

  • Discover IBM Bluemix as a PaaS platform and learn about its three delivery models
  • Develop and deploy a "Hello World" application on IBM Bluemix using the Cloud Foundry command line utility and the Bluemix console
  • Extend your application by using the API or services provided by IBM Bluemix
  • Understand microservices architecture and learn how to develop a sample application based on microservices architecture, using IBM Bluemix
  • Learn how to leverage on-premise software and build an application on IBM Bluemix
  • Scale and monitor an application on IBM Bluemix
  • Explore the compute options on IBM Bluemix and work with each of them
  • Build a mobile client application using Mobile services on IBM Bluemix

In Detail

IBM Bluemix is an open standard platform for building, running, and managing applications on the cloud. With Bluemix, developers can build innovative applications using various compute options and value added services , developers can also manage the application lifecycle using the platform provided DevOps services.

Learning IBM Bluemix will take you on a journey from the basics of IBM Bluemix to working with the platform to developing and deploying of modern applications. The sample application use cases employed in the book will introduce you to the transformative nexus of cloud, mobile, and security, all enabled through capabilities provided out-of-the-box by IBM Bluemix.

By the end of the book, you will have understood the benefits and use cases for IBM Bluemix, and will possess the skills to further explore the platform and thus develop, deploy, and secure your own innovative, new-age applications.

Style and approach

This comprehensive, step-by-step guide to learning IBM Bluemix will cover everything that is required to build, deploy, manage, and secure an application on the cloud.

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Table of Contents

  1. Learning IBM Bluemix
    1. Learning IBM Bluemix
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.PacktPub.com
      1. eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book 
        3. Errata
        4. Piracy
        5. Questions
    7. 1. Saying Hello to IBM Bluemix
      1. Understanding cloud service delivery models
      2. Getting a step closer to understanding IBM Bluemix
        1. Understanding the Bluemix architecture
      3. Familiarizing yourself with Bluemix deployment models
        1. Public Bluemix
        2. Dedicated Bluemix
        3. Local Bluemix
      4. Getting an account on public Bluemix
      5. Understanding the Bluemix dashboard
        1. Key dashboard or Bluemix UI concepts
          1. Account details
          2. Organization
            1. Managing your organization
          3. Space
            1. Creating your own Space
            2. Managing your Space
          4. Region
      6. Summary
    8. 2. Building and Deploying Your First Application on IBM Bluemix
      1. Cloud Foundry command line utility
        1. Installing the Cloud Foundry command-line utility
        2. Log in to Bluemix using cf cli
          1. Log in to your Bluemix account
        3. Building your first Hello World application and deploying it on Bluemix
          1. Understanding some more Bluemix concepts
          2. Creating your Hello World application on Bluemix using a boilerplate
          3. Updating your application on Bluemix
            1. Downloading the source files for your starter or Hello World application
        4. Summary
    9. 3. Extending an Application and Configuring for Continuous Delivery Using DevOps Services
      1. DevOps services and the delivery pipeline
        1. Configuring the delivery pipeline for your application
          1. Creating the sample application
          2. Learning to wire applications using Node-RED
            1. The ibmiot node
            2. The debug node
            3. The function node
            4. The switch node
            5. The template node
        2. Configuring continuous delivery for your application
          1. Editing the source using a web editor
      2. Extending the application
      3. Summary
    10. 4. Leveraging On-Premise Software for Applications on Bluemix
      1. Services under the Integrate category
        1. Creating an application on Bluemix
          1. Wiring and configuring the flow
            1. Downloading and installing MongoDB
            2. Starting the MongoDB daemon and working with MongoDB
            3. Creating the Secure Gateway service instance
            4. Configuring the Secure Gateway service instance
      2. Summary
    11. 5. Scaling Applications in Bluemix
      1. Overview of scaling types supported in Bluemix
        1. Vertical scaling
        2. Horizontal scaling
        3. Creating an application to scale on Bluemix
      2. Configuring a load test for your application
        1. Creating the BlazeMeter service instance
        2. Creating the load test
      3. Manually scaling your application
      4. Scaling your application using the Auto-Scaling service in Bluemix
        1. Creating the Auto-Scaling service instance
        2. Binding the Auto-Scaling service instance to your application
        3. Defining the scaling policy for your application
      5. Summary
    12. 6. Monitoring and Management in Bluemix
      1. Overview of monitoring and management services in Bluemix
      2. Monitoring and Analytics service
        1. Creating the Monitoring and Analytics service instance
        2. Simulating events in your application
      3. New Relic service
        1. Creating the New Relic service instance
        2. Binding the New Relic service to your application
        3. Configuring the application to send events to the New Relic service
        4. Simulating events in your application
        5. Viewing reports in the New Relic dashboard for your monitored application
      4. Summary
    13. 7. Compute Options on Bluemix
      1. Cloud Foundry applications
        1. Working with the eclipse plugin for Bluemix
          1. Installing the eclipse plugin for Bluemix
            1. Importing your Cloud Foundry application to Eclipse
            2. Updating your application in Eclipse
            3. Deploying updates to Bluemix using the Eclipse plugin
      2. Containers
        1. Creating an IBM Container with an existing image
          1. Before you begin
          2. Installing Docker
          3. Installing Cloud Foundry CLI
          4. Installing the IBM Containers Cloud Foundry plugin
          5. Creating a container using the Bluemix dashboard
          6. Working with the CF plugin for IBM Containers
      3. Virtual servers
      4. OpenWhisk
        1. Installing the OpenWhisk CLI
        2. Creating the trigger source for our demonstration
        3. Creating an action
        4. Creating a rule
        5. Testing a rule
      5. Summary
    14. 8. Security Services on Bluemix
      1. Overview of the security services in the Bluemix catalog
      2. Access Trail security service
        1. Creating the Access Trail service instance
        2. Working with the Access Trail service
      3. Single Sign On security service
        1. Creating a Single Sign On service instance
        2. Configuring the identity sources in Single Sign On
          1. Configuring the cloud directory
          2. Configuring LinkedIn as an identity source
          3. Configuring Google+ as an identity source
        3. Create an application which will use the Single Sign On authentication service
          1. Modify the sample application to enable the use of the Single Sign On service
          2. Integrating the Single Sign On service with your application
          3. Seeing it all work together
      4. Summary
    15. 9. Microservices-based Application Development on Bluemix
      1. Understanding the microservices architecture pattern
      2. Developing a microservices-based application on Bluemix
        1. Microservice 1
        2. Microservice 3
        3. Microservice 2
        4. Wiring and configuring the flow
        5. Seeing it all work together
      3. Summary
    16. 10. Mobile Application Development on Bluemix
      1. Mobile category services
      2. Creating a mobile application
        1. Creating a mobile project
      3. Running the application on an Android emulator
      4. Integrating Push Notifications to the application
        1. Creating the Push Notifications service instance
          1. Configuring the Push Notifications service instance
          2. Integrating the Push Notifications service with an application
          3. Sending Push Notifications to your application
      5. Summary