Welcome!

@CloudExpo Authors: Elizabeth White, Dean Madison, Pat Romanski, Shelly Palmer, Karthick Viswanathan

Related Topics: @CloudExpo, Microservices Expo, Containers Expo Blog

@CloudExpo: Article

Keys to the PaaSing Game: Multi-Tenancy

There are two primary approaches to multi-tenancy in PaaS

Whether SaaS, IaaS or PaaS, one of the central concepts of all layers of cloud computing is multi-tenancy. If there is no shared resource in a deployment, it's difficult to justify calling that deployment "cloud."

Even NIST makes it more or less official within its formal definition of cloud computing, which reads, in part:

Essential Characteristics: Resource pooling. The provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to consumer demand.

In most SaaS offerings, the multi-tenancy is manifold - the servers, the application code, the database and even the individual tables or pages within the database might be shared among different customers and users of the system.

In IaaS, multi-tenancy is implemented via virtualization technology: a hypervisor allocates and manages a number of complete virtual machines on a particular physical computing resource.

But what about PaaS?

There are two primary approaches to multi-tenancy in PaaS: one simply relies upon the IaaS multi-tenancy, which I call Server PaaS. The other looks more like SaaS multi-tenancy. I call that one Resource PaaS.

Server PaaS is essentially an automated deployment and management system. Although there are managed services providers who can manually set up your application development and deployment environments on cloud servers, and perhaps even automate part of it, this is not Platform-as-a-Service. It is just managed services.

If, in contrast, the developer can directly manage the environments via a user interface that offers operations at a high level (even if that user interface is at the command line), then it is actually a service. Examples of Server PaaS include RightScale, Standing Cloud and EngineYard.

Resource PaaS provides an abstract "container" for an application that allows it to share computing resources in a granular way with other such applications. It eliminates the concept of "servers" in favor of functional resources. The extent to which the application container looks similar to a traditional application deployment depends on the particular service (and that's the subject of a whole other article), but in no case is there "root access." Examples of Resource PaaS include Force.com, Google AppEngine, and Heroku.

There are a number of advantages to Resource PaaS. First, application scaling is granular and fast. As the application receives more requests, or starts performing more work, the required resources are available immediately (within limits, of course). Cost calculations are also granular, so you pay only for the computing resources you use. Another advantage mirrors that of SaaS: a developer does not have to think about or manage servers (including servers that fail), or backups, setup, configuration, etc.

But this granularity and abstraction comes with a cost, and that cost is loss of control. Anything that is shared with other users cannot also be configured arbitrarily by each user. If there is a configuration detail that can be changed by individual users, then the software and systems implementing that detail for the user must be separate. Again, each service has its own place on this continuum. For example, Google AppEngine uses the BigTable database, which is shared by everyone, while Heroku allows each customer to set up a separate NoSQL or relational database.

With a Resource PaaS, there is also a loss of control over where the application runs. The provider controls the computing resources and therefore it behaves as a single point of failure (even though there may be redundancies at lower levels). Typically, there is also no way to deploy your application as a "hybrid," where some of the computing resources are owned and others are shared. (CloudFoundry deployments could in the future be an exception to this.)

Because each Resource PaaS is a unique application environment, application code generally must be developed for that particular PaaS and is then somewhat locked in. In the extreme, some PaaS offerings even have a proprietary programming language and can't ever be ported to other environments.

Finally, a Resource PaaS has greater vulnerability to security breaches. This is due simply to that fact that there are more shared resources, so there are more places for bugs in the operating software to be exploited, or to accidentally expose data to "neighbors." Also, hypervisor technology is widely used and has been subjected to a fair amount of security scrutiny, so its isolation of data is relatively well tested. A typical PaaS, on the other hand, does not have as much breadth of usage and so is not subject to the same scrutiny.

The benefits and disadvantages of a Server PaaS are nearly the mirror image of those of a Resource PaaS. Data isolation relies on proven and secure hypervisor technology. The application environment is usually consistent with more traditional deployment approaches, and the application code can be built for portability. If the PaaS supports it, production deployments can be moved, spread across multiple data centers or providers, or organized into a hybrid. Configuration details of the technology stack, and in some cases even the operating system, are generally visible to the developer.

On the flipside, Server PaaS cannot offer the same level of scaling and cost granularity as Resource PaaS. Generally the unit of resource is a server-hour, and adding new resources can take several minutes or longer. Automatically scaling these resources is less accurate because it relies on secondary measures of resource requirements (e.g., CPU load).

A good Server PaaS automates the server management aspects of the application, including not just initial deployment but the production life cycle of the application as well. Done right, it can be nearly as easy to manage as a Resource PaaS, although it does still require incremental awareness.

Which is better? Clearly the answer depends on both current and future needs. If control, flexibility, security, and portability are important to you, then Server PaaS has many advantages. If ease of deployment and management and/or rapid and efficient scaling are crucial, Resource PaaS probably wins. My only generic advice is that for any new applications you build, minimize the dependencies on a particular PaaS or type of PaaS - because you never know when things will change.

More Stories By Dave Jilk

Dave Jilk has an extensive business and technical background in both the software industry and the Internet. He currently serves as CEO of Standing Cloud, Inc., a Boulder-based provider of cloud-based application management solutions that he cofounded in 2009.

Dave is a serial software entrepreneur who also founded Wideforce Systems, a service similar to and pre-dating Amazon Mechanical Turk; and eCortex, a University of Colorado licensee that builds neural network brain models for defense and intelligence research programs. He was also CEO of Xaffire, Inc., a developer of web application management software; an Associate Partner at SOFTBANK Venture Capital (now Mobius); and CEO of GO Software, Inc.

Dave earned a Bachelor of Science degree in Computer Science from the Massachusetts Institute of Technology.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@CloudExpo Stories
In his session at @ThingsExpo, Greg Gorman is the Director, IoT Developer Ecosystem, Watson IoT, will provide a short tutorial on Node-RED, a Node.js-based programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using a wide range of nodes in the palette that can be deployed to its runtime in a single-click. There is a large library of contributed nodes that help so...
SYS-CON Events announced today that mruby Forum will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. mruby is the lightweight implementation of the Ruby language. We introduce mruby and the mruby IoT framework that enhances development productivity. For more information, visit http://forum.mruby.org/.
SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
Mobile device usage has increased exponentially during the past several years, as consumers rely on handhelds for everything from news and weather to banking and purchases. What can we expect in the next few years? The way in which we interact with our devices will fundamentally change, as businesses leverage Artificial Intelligence. We already see this taking shape as businesses leverage AI for cost savings and customer responsiveness. This trend will continue, as AI is used for more sophistica...
SYS-CON Events announced today that SourceForge has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. SourceForge is the largest, most trusted destination for Open Source Software development, collaboration, discovery and download on the web serving over 32 million viewers, 150 million downloads and over 460,000 active development projects each and every month.
There is a huge demand for responsive, real-time mobile and web experiences, but current architectural patterns do not easily accommodate applications that respond to events in real time. Common solutions using message queues or HTTP long-polling quickly lead to resiliency, scalability and development velocity challenges. In his session at 21st Cloud Expo, Ryland Degnan, a Senior Software Engineer on the Netflix Edge Platform team, will discuss how by leveraging a reactive stream-based protocol,...
Today most companies are adopting or evaluating container technology - Docker in particular - to speed up application deployment, drive down cost, ease management and make application delivery more flexible overall. As with most new architectures, this dream takes significant work to become a reality. Even when you do get your application componentized enough and packaged properly, there are still challenges for DevOps teams to making the shift to continuous delivery and achieving that reducti...
SYS-CON Events announced today that Daiya Industry will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Daiya Industry specializes in orthotic support systems and assistive devices with pneumatic artificial muscles in order to contribute to an extended healthy life expectancy. For more information, please visit https://www.daiyak...
SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that Suzuki Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Suzuki Inc. is a semiconductor-related business, including sales of consuming parts, parts repair, and maintenance for semiconductor manufacturing machines, etc. It is also a health care business providing experimental research for...
"Our strategy is to focus on the hyperscale providers - AWS, Azure, and Google. Over the last year we saw that a lot of developers need to learn how to do their job in the cloud and we see this DevOps movement that we are catering to with our content," stated Alessandro Fasan, Head of Global Sales at Cloud Academy, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
Enterprises are moving to the cloud faster than most of us in security expected. CIOs are going from 0 to 100 in cloud adoption and leaving security teams in the dust. Once cloud is part of an enterprise stack, it’s unclear who has responsibility for the protection of applications, services, and data. When cloud breaches occur, whether active compromise or a publicly accessible database, the blame must fall on both service providers and users. In his session at 21st Cloud Expo, Ben Johnson, C...
Many organizations adopt DevOps to reduce cycle times and deliver software faster; some take on DevOps to drive higher quality and better end-user experience; others look to DevOps for a clearer line-of-sight to customers to drive better business impacts. In truth, these three foundations go together. In this power panel at @DevOpsSummit 21st Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, industry experts will discuss how leading organizations build application success from all...
Cloud-based disaster recovery is critical to any production environment and is a high priority for many enterprise organizations today. Nearly 40% of organizations have had to execute their BCDR plan due to a service disruption in the past two years. Zerto on IBM Cloud offer VMware and Microsoft customers simple, automated recovery of on-premise VMware and Microsoft workloads to IBM Cloud data centers.
Today traditional IT approaches leverage well-architected compute/networking domains to control what applications can access what data, and how. DevOps includes rapid application development/deployment leveraging concepts like containerization, third-party sourced applications and databases. Such applications need access to production data for its test and iteration cycles. Data Security? That sounds like a roadblock to DevOps vs. protecting the crown jewels to those in IT.
SYS-CON Events announced today that Cedexis will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Cedexis is the leader in data-driven enterprise global traffic management. Whether optimizing traffic through datacenters, clouds, CDNs, or any combination, Cedexis solutions drive quality and cost-effectiveness.
Elon Musk is among the notable industry figures who worries about the power of AI to destroy rather than help society. Mark Zuckerberg, on the other hand, embraces all that is going on. AI is most powerful when deployed across the vast networks being built for Internets of Things in the manufacturing, transportation and logistics, retail, healthcare, government and other sectors. Is AI transforming IoT for the good or the bad? Do we need to worry about its potential destructive power? Or will we...