Book Image

Learning IBM Bluemix

By : Sreelatha Sankaranarayanan
Book Image

Learning IBM Bluemix

By: Sreelatha Sankaranarayanan

Overview of this book

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.
Table of Contents (16 chapters)
Learning IBM Bluemix
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
2
Building and Deploying Your First Application on IBM Bluemix

Preface

Cloud computing is an important transformative force defining the technology landscape today. Cloud computing has changed the way technology can be built and used for business, industry, governance, academia, and the like. Cloud technology is also considered as a key enabler to building innovations that define newer markets. Given the importance and relevance of this space, it is but natural to consider talking about one such cloud platform called Bluemix, which is a platform as-a-service (PaaS) offering from IBM.

This book is an attempt to compile illustrative descriptions for the different capabilities offered by Bluemix. The intended audience for this book is developers who are relatively new to the space of application development on a platform as-a-service environment. This book also serves to jumpstart developers who want to learn and use IBM Bluemix.

This book gives you the levers to understand Bluemix as a platform, learn how to use the value-added services on Bluemix, understand how to build, manage, and monitor applications on Bluemix, discover the options of deployment on Bluemix, and above all, witness the ease and the innovative approach to discover and cater to different types of use cases solving problems in varied categories.

This book is written in a simple, appealing, explanatory format with sufficient visual aids in the form of screenshots so that it is easy to follow even for those of you who are not very technical. As the author of this book, I am certain that you will experience a learning that you can build upon later; you will find that this provides an apt landing platform from where you are equipped to take the plunge.

What this book covers

Chapter 1, Saying Hello to IBM Bluemix, covers cloud computing and cloud service delivery models, and then lets us take a look at what Bluemix is. It also covers the different ways in which the platform is offered, along with an introduction to the IBM Bluemix public offering.

Chapter 2, Building and Deploying Your First Hello World Application on Bluemix, introduces you to application building on IBM Bluemix. You will learn how to build a simple application on Bluemix and deploy and run it.

Chapter 3, Extending an Application and Configuring for Continuous Delivery Using DevOps Services, teaches you how to extend existing applications on Bluemix to build additional functionality using some of the value-added services on Bluemix; this is illustrated along with a sample application.

Chapter 4, Leveraging On-Premise Software for Applications on Bluemix, demonstrates a very important aspect of modern application building environment, called hybrid cloud. We will see how on-premise or local software or applications can be leveraged to integrate with newer applications that are to be deployed on public cloud infrastructure.

Chapter 5, Scaling Applications in Bluemix, introduces you to application scaling. You will learn about the scaling options supported on Bluemix: manual and auto-scaling.

Chapter 6, Monitoring and Management in Bluemix, discusses the different services that can be used to monitor and manage applications. You will learn to work with the Monitoring and Analytics service for a web application deployed on Bluemix. Additionally, the chapter introduces readers to NewRelic, which is a third-party service on Bluemix.

Chapter 7, Compute Options on Bluemix, covers the different compute options available on Bluemix, such as containers, Cloud Foundry applications, virtual servers, and Open Whisk.

Chapter 8, Security Services on Bluemix, talks about the security services available on Bluemix and elaborates two of the available security services in Bluemix. You will learn how to offload the web application authentication functionality to the Single Sign On service on Bluemix.

Chapter 9, Microservices-based Application Development on Bluemix, talks about an architecture pattern for application development on the cloud, called the Microservices architecture pattern. You will also learn how to use Bluemix and services on Bluemix to build and deploy applications that employ the microservices architecture.

Chapter 10, Mobile Application Development on Bluemix, introduces you to services offered on Bluemix that are specifically for mobile application development. You will learn how to use some of these services to build a simple mobile catalog application.

What you need for this book

Here's what you require for this book:

  • Cloud Foundry CLI (the latest version available)

  • Eclipse IDE (v4.4 or later)

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.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "You will notice that the deployable artifact for your application is the  webApp.war file."

A block of code is set as follows:

@Override
protected void init(VaadinRequest vaadinRequest) {
  Responsive.makeResponsive(this);
  setLocale(vaadinRequest.getLocale());
  getPage().setTitle("MyVaadinApp");
  showMainView();
}

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Enter your LinkedIn credentials and click Allow access."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail [email protected], and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for this book 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 files e-mailed directly to you.

You can download the code files by following these steps:

  1. Log in or register to our website using your e-mail address and password.

  2. Hover the mouse pointer on the SUPPORT tab at the top.

  3. Click on Code Downloads & Errata.

  4. Enter the name of the book in the Search box.

  5. Select the book for which you're looking to download the code files.

  6. Choose from the drop-down menu where you purchased this book from.

  7. Click on Code Download.

You can also download the code files by clicking on the Code Files button on the book's webpage at the Packt Publishing website. This page can be accessed by entering the book's name in the Search box. Please note that you need to be logged in to your Packt account.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR / 7-Zip for Windows

  • Zipeg / iZip / UnRarX for Mac

  • 7-Zip / PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/LearningIBMBluemix. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Downloading the color images of this book 

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from http://www.packtpub.com/sites/default/files/downloads/LearningIBMBluemix_ColorImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at [email protected] with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at [email protected], and we will do our best to address the problem.