and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Platform as
a Service FOR
DUMmIES
SPECIAL EDITION
By Judith Hurwitz,
Marcia Kaufman, and Fern Halper
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Platform as a Service For Dummies, Special Edition
Published by
John Wiley & Sons, Inc.
111 River Street
Hoboken, NJ 07030-5774
www.wiley.com
Copyright 2012 by John Wiley & Sons, Inc., Hoboken, NJ
Published by John Wiley & Sons, Inc., Hoboken, NJ
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form
or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as
permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written
permission of the Publisher. Requests to the Publisher for permission should be addressed to the
Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011,
fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.Trademarks: Wiley, the
Wiley logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The Dummies Way,
Dummies.com, Making Everything Easier, and related trade dress are trademarks or registered trade-
marks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may
not be used without written permission. CloudBees and the CloudBees logo are registered trademarks
of CloudBees. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc.,
is not associated with any product or vendor mentioned in this book.
For general information on our other products and services, please contact our Business
Development Department in the U.S. at 317-572-3205. For details on how to create a custom For
Dummies book for your business or organization, contact info@dummies.biz. For information
about licensing the For Dummies brand for products or services, contact
BrandedRights&Licenses@Wiley.com.
ISBN: 978-1-118-23499-0
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
About This Book......................................................................... 1
Foolish Assumptions.................................................................. 2
How This Book Is Organized..................................................... 2
Icons Used in This Book............................................................. 3
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Introduction
W elcome to Platform as a Service For Dummies, Special
Edition. Cloud computing is becoming an integral part
of many companies business and technology strategies. The
implication of the adoption of the cloud means that the IT
organization is looking to leverage the cloud as a mechanism
to build, deploy, and manage applications that live in the
cloud in the form of Platform as a Service (PaaS).
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
2 Platform as a Service For Dummies, Special Edition
Foolish Assumptions
The information on these pages is useful to many people, but
we have to admit that we did make a few assumptions about
who we think you are:
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Introduction 3
Chapter 3 delves into PaaS as a development platform.
The chapter provides an overview of PaaS services for
development and examines how companies can use these
services to improve the quality of software development.
Chapter 4 explains the value of PaaS as a deployment
platform with an overview on the PaaS services for
deployment and the questions you should be asking
potential providers.
Chapter 5 gives you a roadmap for getting started on
your journey to PaaS.
Pay attention to these common pitfalls of managing your
cloud environment.
This icon highlights important information that you should
remember.
This icon contains tidbits for the more technically inclined.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
4 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 1
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
6 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 1: Setting the Fundamentals of the Cloud 7
A public cloud makes an unlimited pool of resources,
such as applications and storage, available to the general
public over the Internet. Public cloud services may be
free or offered on a pay-per-usage model.
A private cloud is more constrained to the size of the
internal computing environment constructed by the com-
pany and may have to be set up, managed, and adminis-
tered by the company itself. Access to a private cloud is
restricted to those users who are granted permission.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
8 Platform as a Service For Dummies, Special Edition
Understanding SaaS
Software as a Service (SaaS) includes purpose-built business
applications that are offered in the cloud. Hundreds of differ-
ent types of services exist, ranging from Customer Relationship
Management (CRM) systems to payment applications.
Accounting
Collaboration
Project management
Testing
Analytics
Content management
Internet marketing
Risk management
CRM
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 1: Setting the Fundamentals of the Cloud 9
Expanding into PaaS
Not every service needs is available as a SaaS (see the preced-
ing section). Sometimes the development organization has
to build custom solutions to meet business demand. While
developers could use an IaaS platform (see the section earlier
in this chapter, Getting straight with IaaS) to create such an
application, the approach isnt very productive. Developers are
responsible for bringing their own middleware and lifecycle
tools to the platform; setting up the operating systems, middle-
ware, and routing; and maintaining and patching those custom
environments. PaaS has been developed to solve the problem
of having to deal with so much complexity. PaaS is an inte-
grated environment that supports the development, running,
and management of cloud-based applications.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
10 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 1: Setting the Fundamentals of the Cloud 11
What enables the cloud provider economies of scale is a concept
known as multi-tenancy, which means that different companies
share all or some of the same underlying resources. One of the
benefits of this platform is that on-boarding a new customer can
be done in a cost-effective manner because the cloud doesnt
provide a fixed set of resources just for that customer.
Of course e-mail isnt the only service to be put into the cloud.
Other examples include video services, human resources, and
backup services to name a few.
Also, development, testing or deployment organizations may
have periods of high demand followed by less active periods.
In addition, these teams are often located across geographies.
Having an optimized platform that can be scaled up or down
based on demand is a logical economic model for many orga-
nizations. Running application development and testing in
the cloud can be less expensive than buying and configuring
servers. As long as the provider is trustworthy, companies are
seeing the benefit of using this type of public cloud service.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
12 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
14 Platform as a Service For Dummies, Special Edition
Managing a fast-paced
development environment
In order to respond more quickly to rapidly changing busi-
ness application needs, HealthFirst also moved to an agile (for
example, iterative and incremental) development and deploy-
ment process. This change meant that management began
implementing a process that strived for a continuous delivery
of new features and functionality.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: Getting into Platform as a Service 15
that it needed. The company realized it needed a more auto-
mated environment to support its new way of doing things.
Middleware complexity
HealthFirst had an additional underlying issue with middle-
ware, development, and deployment tools that were compli-
cated to learn, implement, maintain, and use. (For more info
on middleware, see the section PaaS as Middleware in the
Cloud later in this chapter.)
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
16 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: Getting into Platform as a Service 17
consistency in the management of the development lifecycle.
Additionally, PaaS provides ease of provisioning in runtime
services, including application runtime containers for staging,
running, and scaling applications.
Improving collaboration
PaaS changes the way that development and operations inter-
act with resources. Instead of traditional application develop-
ment being hand offs, with PaaS, the state of software becomes
more visible to the organization. For instance, a developer may
say that a module of an application is complete, but he hasnt
tested it on all Web browsers. With PaaS, the team can see
whether software is working, broken, ready to be released to
manufacturing, staged, and so on across the entire application
lifecycle. You can buy this functionality, but its native to PaaS.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
18 Platform as a Service For Dummies, Special Edition
PaaS as Middleware
in the Cloud
Middleware is the glue that helps connect software compo-
nents and is a critical method of delivering standardized
application services, but it can be complicated. When middle-
ware services are hosted, like they are in a PaaS, they can
provide a development team with the ability to pre-determine
how the organization wants connectivity to happen and how
integration between services is handled. IT management can
then set the rules upfront about what types of services to use
under specific business conditions.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: Getting into Platform as a Service 19
Resources arent delivered as software in PaaS. Instead,
theyre hosted, always-on, on-demand, served up
as services.
The scope of where development and delivery can take
place in a PaaS is the cloud instead of a single machine
or process.
Resources in the data center, now served up by IaaS,
are managed by the PaaS for the purposes of supporting
applications. Its not just the machine supporting the
application. In fact, Cloud IaaS means infrastructure is
available programmatically, so middleware can now be
expanded to take direct advantage of it.
Without infrastructure constraints, you can deliver and
update software continuously. This process is harder in
older-generation middleware with hardcoded endpoints.
Middleware and services have no installation and configura-
tion because theyre an integral part of the PaaS platform.
PaaS anchored to a
SaaS environment
Some SaaS platforms are becoming core business services for
many companies. Offerings, such as Workday, SugarCRM, and
Salesforce.com, are replacing traditional on-premises systems
of record. Some of these SaaS vendors focus on expanding
their offerings to the platform level. Salesforce.com, for exam-
ple, provides a PaaS platform called Force.com that exposes
the native Salesforce.com APIs, development tools, and mid-
dleware so it becomes a platform that software developers
can use to build new applications on top of.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
20 Platform as a Service For Dummies, Special Edition
Open platform-based
PaaS environments
Open platform-based PaaS is intended to promote an open pro-
cess and environment that isnt tied to a single cloud imple-
mentation. Several open platform initiatives are underway:
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: Getting into Platform as a Service 21
Reducing costs
PaaS can certainly reduce costs. And in order to evaluate the
economic impact of PaaS, take a look at the costs that are
directly and indirectly related to the application or type of work-
load you want to move to the cloud. These costs may include
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
22 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3
Looking at PaaS as a
Development Platform
In This Chapter
Developing applications in the cloud
Understanding the role of continuous integration in PaaS
Looking at the core of PaaS support: Application development services
Knowing which PaaS services for development are right for you
Make sure that the environment you use in the cloud to develop
your applications provides you with the most effective and most
secure services. Developing in this way also impacts how your
development and operations teams function.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
24 Platform as a Service For Dummies, Special Edition
Developing Applications
in the Cloud
Developing in a PaaS environment is different than the way
development organizations have produced software over the
past few decades. In a traditional model, the development
team may select a variety of different tools operating sys-
tems, middleware, testing products, and the like. Many organi-
zations have been very effective with this approach. However,
typically, problems of managing complexity exist especially
in an era where more and more aspects of daily life are con-
trolled by software.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3: Looking at PaaS as a Development Platform 25
support all resource requirements. In addition, PaaS costs are
typically relative to the number of users, so platform costs are
more in line with overall development costs and salaries.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
26 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3: Looking at PaaS as a Development Platform 27
Provides the developer with a complete environment to
provision, develop, build, test, and stage applications
Abstracts the details from the developer so developers
can focus on the task of coding and not on supporting
the systems needed for development and testing
When the IDE is used with the cloud, you, as the developer,
have some key advantages:
You can still use your existing IDE on your desktop, but it
becomes much easier and faster to share your code with
other members of your team.
You can push your code into a shared repository in the
cloud so everyone has immediate access to the same
code and tools.
You can test your code during development against the
same systems your end-users will access, using services
provided by the PaaS.
As a result, errors in the code are found earlier, and the
resulting applications are delivered faster.
To ensure that your PaaS provider offers the right set of flex-
ible services so you can make the most of your PaaS develop-
ment environment, use the following checklist:
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
28 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3: Looking at PaaS as a Development Platform 29
Build services
The PaaS should be able to support a variety of application
build processes that allow developers to combine services
into a deployable application. The build process contains
several steps, including writing code, compiling code into an
executable, invoking code, running, and then testing the code.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
30 Platform as a Service For Dummies, Special Edition
Frameworks
Developers typically use a development framework to help
create quality software that performs well under varying con-
ditions. While frameworks are used in traditional software
environments, these frameworks can be more consistently
shared across large distributed teams when used in a PaaS
environment. Some of the key benefits of using frameworks in
a PaaS environment include
Database services
One of the most important tests for a new application is to
understand how it works with real end-user data. This type
of testing often presents a challenge for developers because
the application may be intended to work with data stored in
a very large and complex database. Developers often install
a lightweight database in their development environment in
order to test the code with data but arent able to test against
a true production database during the development phase.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3: Looking at PaaS as a Development Platform 31
Test and automation tools
Testing services can be built into the PaaS platform or provided
by its ecosystem of services. These services can include User
Interface testing or load testing. Access to these tools is ben-
eficial to companies of all sizes; however, the impact on small
to midsize companies can be huge. Smaller companies may not
have the resources to purchase and maintain the state of the
art tools designed to improve the quality of the development
process. These smaller teams can use PaaS to have access to
the same best practice environment that many of the larger
competitors have built in house at a very high price.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
32 Platform as a Service For Dummies, Special Edition
Development-to-test-to-production
coordination services
The PaaS provider can provide services that enable updates
of cloud applications without interrupting services. For exam-
ple, in your own data center, you may roll out the new version
of the software to one segment of users at a time. With PaaS,
you can make sure that the flow between development, test-
ing, and deployment is more seamless. PaaS helps you guaran-
tee no loss of uptime.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4
Using PaaS as a
Deployment Platform
In This Chapter
Using the cloud to deploy applications
Gaining competitive advantage with continuous delivery in PaaS
Outlining the important PaaS services for deployment
Integrating PaaS with existing systems and services in your data center
Deploying Applications
to the Cloud
The usage of general cloud resources and easy availability of
the underlying infrastructure makes putting the deployment
of applications into operation much easier. Cost efficiencies
are gained based on the standardized delivery of services in
a multi-tenant architecture. PaaS automates many aspects
of the deployment lifecycle that are typically managed by IT
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
34 Platform as a Service For Dummies, Special Edition
Allocating resources
Staging and testing applications
Provisioning nodes on the server clusters
Installing, configuring, and securing load balancers,
application servers, and databases
Basically with PaaS, you can take a much more logical and
practical approach to the staging and testing of applications.
As a user of PaaS deployment services, you expect the follow-
ing in your staging environment:
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4: Using PaaS as a Deployment Platform 35
Full mirror of your live environment for the switch
Rollback to pre-change environment if errors are found
Partition existing cloud resources for phased deployment
and testing within pre-defined limits
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
36 Platform as a Service For Dummies, Special Edition
Advantages of PaaS
for deployment
Many of the advantages of the PaaS model for deployment are
based on the efficient use of computing resources resulting
from the multi-tenant cloud environment. The deployment
team benefits by having much more time to focus on the
specific demands of deploying high-quality applications. The
easy availability of infrastructure in the PaaS model allows
for a more iterative style of deployment, supporting fast itera-
tions, which are a requirement for the delivery of Software as a
Service (SaaS) applications. When you dont have to arrange for
new machines and software stacks ahead of time, the IT staff is
free to think differently about how quickly they can roll out new
versions of applications and meet the needs of the business.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4: Using PaaS as a Deployment Platform 37
The ease of use that you get from PaaS can have a downside
depending on your requirements. What is the tradeoff? Your
PaaS provider needs to make some assumptions in order to
provide you with easy access to a pre-integrated runtime envi-
ronment. For example, your environment may include JBoss,
Tomcat, and Java. If you work for a time with the PaaS provid-
ers pre-integrated environment and then your requirements
change, you may be locked-in.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
38 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4: Using PaaS as a Deployment Platform 39
Monitoring and notification services
All aspects of the PaaS environment that may impact end-user
performance need to be monitored. Security issues should be
given the utmost attention by your PaaS environment.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
40 Platform as a Service For Dummies, Special Edition
In order to make all this happen, the PaaS provider must have
well-documented and well-defined interfaces for you to use.
In other words, at the center of integration capabilities
between applications in the cloud or on-premises are
Application Programming Interfaces (APIs). These APIs,
which are part of the PaaS platform, enable companies to
quickly integrate their services into a wide variety of applica-
tions on a diverse set of platforms.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 5
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
42 Platform as a Service For Dummies, Special Edition
Step 3: Experiment
with the Options
Many companies dont have direct experience with PaaS and
may make decisions without the knowledge necessary to
avoid pitfalls. One of the benefits of the cloud model is that
you can experiment with commercial offerings on the market
without spending cash. Many of the vendors allow developers
to try before they buy. So, take the time to experiment.
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 5: Ten Steps to Take toward PaaS 43
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.
44 Platform as a Service For Dummies, Special Edition
These materials are the copyright of John Wiley & Sons, Inc. and any
dissemination, distribution, or unauthorized use is strictly prohibited.