The highest level of PAAs cloud application development, deployment, and management

Source: Internet
Author: User
Keywords Paas paas

Codename:bluemix is a beta-grade product that will continue to improve as we continue to make it more functional and easier to use. We will do our best to keep this article up to date, but it is not always in full progress. Thank you for your understanding!

Codename:BlueMix:IBM a key technology in the Cloud environment, Bluemix is a single solution environment that includes instant resources for rapid development and deployment of applications across a wide range of domains. You can use this platform based on open standards to build, run, and manage Web, mobile, large data, and smart device applications. Bluemix supports many popular programming languages and frameworks. Java™ Technology, Mobile backend development support, application monitoring, open source technology, and so on, can be provided through a service model in the cloud.

The Bluemix directory contains much of what you need to work properly. Powerful boilerplate code, preconfigured service sets, runtime, and sample code can be used immediately:

runtime, such as Liberty for Java, Node.js, and Ruby on Railsweb and application services, such as Data and session Cache, ELASTICMQ, Decision, SSO, Log analysis, Redis, RABBITMQ, and Twilio mobile services such as push notifications, Cloud Code, mobile creator Management and mobile Quality Assurance data Management Services, such as MongoDB, IBM's relational database, IBM JSON database, MySQL, PostgreSQL, Mobiledata, Mobile Sync, BLU Data Warehouse and MapReduce monitoring and Analysis Services DevOps products, such as Jazzhub

This article provides a quick overview of Bluemix and other technologies that make IBM Cloud a perfect cloud product.

Explore Codename:bluemix

Bluemix is an open PaaS built on Cloud Foundry Open source technology. The platform is designed to develop and host applications while simplifying infrastructure management tasks, enabling you to quickly develop, deploy, and manage applications on an Internet scale.

Bluemix makes it easier for you to:

Create applications quickly and incrementally from a service. Continuously provide application changes and enable continuous availability.
Supports highly customized, workload-specific programming models and services.
Embed high levels of manageability into services and applications.
Supports optimized and resilient workloads.
Bluemix the way to achieve these goals is to abstract and hide most of the complexities associated with hosting and managing cloud-based applications.

Introduction to the concept of Codename:bluemix

In Bluemix, the application is the artifact you build-executing or referencing all the required code (source code or run-time binaries) at run time. Mobile applications are executed outside the Bluemix environment, using bluemix services that are exposed to the application. For WEB applications, the application is uploaded to Bluemix for managed code. Bluemix can also host application code that you want to execute on a back-end server in a container-based environment.

The service is Bluemix hosted, providing a functional feature that the application uses for the code. It can be a predefined service that you use directly, such as push notifications for mobile applications and resilient caching for WEB applications. You can also create your own services, which can be simple utility functions or complex business logic.

Organization and space are organizational units in the infrastructure that store and track application resources. Organizations contain domains, spaces, and users. Space contains applications and services. The default space includes Development, Production, and Staging.

For applications that require a PAAs environment, Buildpack is a collection of scripts that prepare code to be executed on the target PAAs. Buildpack, which contains the RUN-TIME environment your application needs, and can contain special frameworks, can help you easily deploy your application to the cloud without having to configure and install the runtime.

Using the Codename:bluemix service

The use of services in Bluemix requires 3 steps:

1. Tell Bluemix when a new instance of the service is needed and tell Bluemix which particular application will use the new instance.
2. Bluemix automatically provisioning a new instance of the service and binds it to the application.
3. The application interacts with the service.

Service packs are use-specific collection of APIs. For example, the mobile Services package contains Mobiledata, Cloud Code, Push, and mobile creator Management. Available services and runtimes can be found in the Bluemix directory. You can also register your own service.

Application Deployment and Management

To deploy an application, you can upload it to Bluemix and specify how many instances you want to run it, and configure enough information for Bluemix to support the application:

For mobile applications, Bluemix can contain an artifact that represents the back end of a mobile application-a set of services that the application uses to communicate with the server. Bluemix supports the use of Pushworks, Cloud Code, and the back end of mobile applications that use mobile data services directly from the Bluemix UI. For WEB applications, you need to provide appropriate run-time and framework information for Bluemix, enabling the platform to set up the correct execution environment to run the application. You can deploy and manage applications using the CF command-line tool, the Bluemix Web interface, or the Jazzhub.

Browser-based Clients and mobile clients (and other applications deployed on Bluemix) and externally executed applications interact with Bluemix hosted applications through the Rest/http API. Each client request is routed to an instance of the application or its combined service. Application execution environments in Bluemix are isolated from each other, even if they may reside on the same physical machine.

For application management, you can start, stop, restart, or modify the number of instances and the amount of memory used by the application (for WEB applications). An important design feature of Bluemix is that it is good at hosting scalable applications and application artifacts. Currently the platform does not automatically extend applications based on load, so you need to manage the process by creating or deleting instances when the workload changes. For this reason, your application should keep all persistent data outside the application and put it in a data storage service provided by Bluemix. To redeploy an application after an update, you can use the same process as the initial deployment. Bluemix stops all running instances and automatically brings up new instances.

Jazzhub: DevOps Service for Codename:bluemix

In Jazzhub, with a few simple steps, you can start working with others to plan, track, and develop software in the cloud. You can use the built-in browser code editor provided by Jazzhub for application development, or use Jazzhub with Eclipse, Visual Studio, or Git command line to write your application and deploy the application to Bluemix:

With a user interface designed to help you quickly add "who, what, and when," to your development project, it takes only a few minutes to set a date, record your first user case, assign one or two tasks, and learn more about the code.

Jazzhub contains built-in source control tools, including Jazz SCM and managed Git. Each project will get its own Jazzhub repository and workspace where project members can check their changes, associate code changes, and view recent history of changes. You can also create a Jazzhub project and have it point to your GitHub repository.

You can also easily link work items to GitHub code changes. In addition, you can use existing tools to encode in Git. You can execute development expert Scott Rich (IBM outstanding engineer, Cloud Architect, Rational Jazz founder), Joe Lennon (Core Analysys technology Director) and Kevin Williams (IBM Software's cloud, automation, and test architects provide these interactive develpoerworks exercises to understand the practical application of Jazzhub. You can run the final application and get the code from its Jazzhub repository:

"Using Node.js, Express, sentiment, and ntwitter to build an emotional analysis application"-rich details the need for applications to quickly identify public sentiment on Twitter and why he chose to build the application as a PaaS application. Use the JavaScript runtime, Node.js Runtime, and service authoring programming models.

"Building real-time voting applications using Node.js, Express, Angularjs, and MongoDB"-lennon explains that when he wants a real-time, updated voting application, he uses a simple architecture, not too many languages and frameworks. In this example, he chose to use JavaScript to do all the work (Node.js and Express for the server side, MongoDB for the database, Angularjs for the front-end UI). He likes to use Jazzhub for projects because Jazzhub provides him with a complete code versioning system that provides an online integrated development environment that allows him to edit code in the cloud and provides many agile project management capabilities.

"Building a simple notification service with Node.js and MongoDB"-williams was puzzled: how to design more and more different tools to create a larger but more understandable workflow organization structure? His answer is perception-a notification service that supports creating, detecting, and subscribing to events. He maintains the simplicity of the structure and builds it using the Node.js runtime (it supports the rapid development of HTTP servers using a REST-like API); MongoDB Run the back end (document-oriented is ideal for quick prototyping).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.