SaaS, PaaS or Something Else? The Salesforce Cloud Model Explained
What is the Salesforce cloud model?
A cloud model describes how software reaches you and who runs each part of it. The three common service models are Software as a Service (SaaS), Platform as a Service (PaaS) and Infrastructure as a Service (IaaS). Salesforce is SaaS when you log in and use Sales Cloud or Service Cloud, and PaaS when you build your own apps on the same platform. All customers share one multitenant platform, which Salesforce runs on public cloud infrastructure called Hyperforce. This post shows what that means for how you design, build and secure an org.
"Is Salesforce SaaS or PaaS?" sounds like an interview warm-up, but the answer shapes real decisions. It explains why you can't tune the database, why a limit stops your code mid-transaction, why features change under you three times a year, and why a security incident in your org is usually your configuration, not Salesforce's infrastructure.
This guide places Salesforce on the standard cloud map, then walks down the stack: the apps you buy, the platform you build on, the shared multitenant engine, and the Hyperforce infrastructure underneath. For each layer you'll see who runs it, what you control, and the design habits that follow.
1. SaaS, PaaS and IaaS: Three Ways to Get a Suit
Trailhead's Get to Know Heroku unit explains the three service models with clothing, and it's still the clearest version:
- SaaS is the off-the-rack suit. The vendor builds, runs and upgrades the software. You log in, use it and make small adjustments.
- PaaS is the tailor. You get managed hardware and software tools and build your own application on them, with more freedom than SaaS and less out of the box.
- IaaS is fabric and a rented sewing machine. You get raw or virtual hardware and must design, secure and maintain everything on top. Trailhead uses Amazon Web Services as its example.
The unit also makes the point that matters most for Salesforce: the models stack. SaaS is often built on a PaaS, which often runs on IaaS. The higher you sit, the more the provider runs for you, and the less you can change underneath.
| Layer | On-premises | IaaS | PaaS | SaaS |
|---|---|---|---|---|
| Data, users & access | You | You | You | You |
| Application | You | You | You | Provider |
| Runtime, database & OS | You | You | Provider | Provider |
| Servers, network & data centers | You | Provider | Provider | Provider |
The general pattern. Each provider draws the lines slightly differently, but the top row never moves: your data and who can reach it are always yours.
2. Salesforce Is SaaS and PaaS at the Same Time
When a sales rep opens Sales Cloud and logs a call, Salesforce is SaaS: ready-made software, delivered in a browser, upgraded by the vendor. When a developer adds a custom object, a Flow and an Apex class to build a recruiting app, Salesforce is PaaS. It's the same org on the same platform. Trailhead's Platform Development Basics describes the platform as the foundation of Sales Cloud and Service Cloud that also lets you build your own functionality. (Trailhead now calls it the Agentforce 360 Platform.)
That's why "Cloud" in a product name tells you nothing about the hosting model. Sales Cloud and Service Cloud are apps on one shared platform, so a custom field on Account is visible to both, and a trigger on Case runs no matter which app created the record.
Heroku is the other PaaS in the family. Trailhead describes it as a fully managed platform, built on AWS, that handles patching, monitoring and scaling for apps written in open-source languages. Its rule of thumb: use the core platform for employee-facing apps, and Heroku for customer-facing apps that need open-source stacks and still read Salesforce data.
3. The Deployment Model: One Public, Multitenant Cloud
Service models say what you get. Deployment models (public, private, hybrid) say whose hardware it runs on and who shares it. Salesforce is a public, multitenant cloud: your org is one tenant among many on a shared instance, not a dedicated installation.
The developer guide's Multitenancy and Metadata Overview describes one application and one hardware and software stack serving many organizations, with each one seeing only its own data and schema. The Architecture Center's Platform Multitenant Architecture adds the mechanics: one shared database with one schema holds every tenant's metadata and data, every record carries an org ID, and a multitenant kernel builds each org's apps from its metadata at runtime.
Shared does not mean exposed. The kernel uses the org ID to keep each tenant's activity separate, and keeping Salesforce's kernel apart from each tenant's metadata is what lets Salesforce upgrade the platform without rewriting your customizations. For the full layer-by-layer view, see our Salesforce Architecture Explained guide.
4. Under the Floor: From Salesforce Data Centers to Hyperforce
Salesforce has two kinds of infrastructure. First-party infrastructure is data centers Salesforce owns and operates. Hyperforce is the newer one, which Salesforce Help's Where is my Salesforce instance located? article defines as Salesforce-managed infrastructure hosted on the public cloud providers AWS and GCP. Help's Hyperforce FAQ calls it the next-generation Salesforce infrastructure, built for the public cloud, and most customers have already moved to it.
So, in strict terms, Salesforce is a SaaS and PaaS provider that runs on someone else's IaaS. You never touch that layer: there's no AWS console for your org, and you don't choose instance sizes. What changes for you:
- Resilience. Each org runs on one infrastructure type. On first-party infrastructure, one data center serves an instance and replicates asynchronously to a paired site. On Hyperforce, an instance runs active/active across three availability zones, with load balancing across all three.
- Data residency. Salesforce says customer data is generally stored in the country where the org is located, as long as the services you use are available in that Hyperforce country. Some products have components in other countries or connect to services not yet on Hyperforce, so check each product you add.
- Stricter regional options. Hyperforce Operating Zones (such as the EU Operating Zone) add in-region customer and technical support. They're a paid offering, and Help notes they're available only on Hyperforce AWS.
- Cost. Salesforce states there's no additional cost for running on Hyperforce itself.
my.trust.salesforce.com, then repeat the check for every add-on product and integration, not just core CRM.
5. What the Cloud Model Changes in Your Day Job
Every "why does Salesforce work like this?" question traces back to the model above. Five habits follow from it.
Upgrades arrive whether you're ready or not. Trailhead's Get to Know the Salesforce Release Process explains that upgrades are automatic and every customer runs the same version. There are three seasonal releases a year (Spring, Summer and Winter, usually in February, June and October), and some products now also ship monthly. The first sandbox instances get each release 4–6 weeks before production, and the exact dates for your instances are on the Trust site. That window is your regression-test window, so plan it like a project milestone.
Limits are part of the contract. The Apex Developer Guide's Execution Governors and Limits says the runtime enforces limits strictly because Apex runs in a multitenant environment, so runaway code can't take over shared resources. A limit breach throws an exception you can't catch. Design for bulk from the first line of code.
You tune design, not the database. Because Salesforce generates the SQL, you can't tune most queries directly. Your levers are selective filters, indexes, data volume and the data model.
Tests protect you and the platform. Production deployments need at least 75% Apex code coverage, and the Architecture Center notes that Salesforce reruns customer unit tests against new releases to catch breaking changes. Good tests with real assertions help Salesforce find a regression before your users do.
Never hard-code where your org lives. Salesforce Help advises building apps that don't depend on a specific data center, and an org can move instances (the move to Hyperforce is one example). Use your My Domain URL, which URL.getOrgDomainUrl() returns, or relative URLs:
// Avoid: breaks when the org moves to another instance
String endpoint = 'https://na123.salesforce.com/services/data/v67.0/sobjects/Account';
// Prefer: the org's canonical My Domain URL, wherever it runs
String endpoint = URL.getOrgDomainUrl().toExternalForm()
+ '/services/data/v67.0/sobjects/Account';The same rule applies outside Apex: named credentials, external system configs, email templates and bookmarks should all use the My Domain address.
6. Shared Responsibility: Who Secures What
Every cloud provider follows a shared responsibility model: the provider secures the cloud, and the customer secures what they put in it. Salesforce's January 2026 post Security as a Shared Responsibility Between Provider and Customer splits its version into three layers:
- Foundationals (Salesforce): protections built into the infrastructure and platform that run all the time, with nothing for you to switch on.
- Configurables (you): security settings that come with every org, such as multi-factor authentication (MFA), single sign-on (SSO), permission sets for least privilege, login IP restrictions, Login History and Security Health Check. They only protect you once you turn them on and tune them.
- Enhanceables (optional, paid): add-ons such as Shield, Security Center, Privacy Center, Data Mask & Seed, and Backup & Recover.
The practical takeaway: moving to the cloud moves infrastructure work to Salesforce, not accountability for your data. Over-broad admin rights, a guest user who can see too much, or an integration user with "Modify All Data" are all on the customer side of the line.
Cheat Sheet: The Salesforce Cloud Model in One Table
| Question | Short answer | What it means for you |
|---|---|---|
| SaaS or PaaS? | Both, on one platform | Use standard features first; every custom build is yours to own |
| Deployment model? | Public, multitenant cloud | Governor limits, no direct SQL tuning, shared release schedule |
| Whose infrastructure? | Hyperforce on AWS and GCP, managed by Salesforce | No servers to manage; never hard-code instance URLs |
| Where is my data? | Generally in your org's Hyperforce country | Check the instance on the Trust site and each add-on product |
| When does it change? | Spring, Summer, Winter, automatically | Regression-test in sandboxes during the preview window |
| Who secures it? | Shared: platform by Salesforce, config by you | Turn on MFA, least privilege and Health Check yourself |
| Where does Heroku fit? | A fully managed PaaS on AWS, part of the Salesforce Platform | Open-source, customer-facing apps that use Salesforce data |
Official Resources
Straight from Salesforce: the docs this article is based on.
Trailhead
Need to answer "where does our data live?" or plan a build-vs-configure strategy?
Book a session with our architects for a data residency, security or platform design review.
All information in this article was collected from publicly available resources, including official Salesforce documentation.