Sub topic 10
SaaS: using finished software
This chapter assumes you know what IaaS and PaaS are and have seen the stack from hardware to application. Here you will see what the provider manages in Software as a Service (SaaS), what you still control, and where integrations and failures tend to appear.
What SaaS is
Software as a Service (SaaS) is a model where the provider runs a complete application and you use it over the internet. You do not provision servers, choose a runtime, or deploy code. You sign in, configure the product, and load your data.
Common examples are email suites, customer relationship management (CRM) tools, video conferencing, and online accounting. The provider manages every layer of the stack: hardware, virtualization, operating system, runtime, and the application itself. Most SaaS products also serve many customers from one shared deployment, which is called multi-tenancy.
What you still manage
Using finished software does not mean you have no responsibilities. You still own:
- Identity and access: who has accounts, which roles they hold, and whether multi-factor authentication is required.
- Your data: what you put in, who can see it, how long you keep it, and whether you can export it.
- Configuration: sharing settings, retention rules, and integrations with other systems.
Many SaaS incidents come from these areas. Examples are a publicly shared document, a departed employee whose account is still active, or an over-permissioned API token.
Using SaaS through an API
Most SaaS products have a web interface and an API. The API lets your own systems read or change data in the product. The request below lists contacts from a hypothetical CRM.
# SaaS: you consume the finished product through its interface or API.
# api.example.com and API_TOKEN are placeholders.
curl -H "Authorization: Bearer $API_TOKEN" \
https://api.example.com/v1/contactsCompare this with the earlier IaaS and PaaS examples. There is no image, instance type, or deployment step. The only thing you supply is a credential and a request. The token is a secret. Keep it in an environment variable or a secrets manager, never in source code.
Strengths and limits
| Aspect | What SaaS gives you | What it costs you |
|---|---|---|
| Effort | No servers or patching to manage | Little say over when updates happen |
| Speed | Usable within minutes of signing up | Work needed to migrate data in |
| Flexibility | Built-in features and settings | You cannot change the code |
| Cost | Predictable per-user or per-plan fees | Fees grow with users and usage |
Common errors
- Assuming the provider secures everything. The provider secures the platform. You must still manage accounts, sharing, and data.
- Ignoring data export. If you cannot export your data in a usable format, leaving the product later becomes expensive. This is a form of lock-in.
- Hitting API rate limits. Providers cap requests per minute. A script that loops without handling HTTP 429 responses will fail. Back off and retry.
- Treating outages as your problem to fix. You cannot repair a SaaS outage. You can only plan around it, for example by checking the provider's status page and keeping a manual fallback for critical tasks.
When SaaS fits
SaaS fits when the need is common, such as email, payroll, or ticketing, and building your own would add no advantage. It fits poorly when you need custom logic the product cannot express, strict control over where data lives, or deep integration the API does not support.
Exercise
Your team uses a SaaS project-tracking tool. A former contractor's account is still active and can read all projects. Which party is responsible for fixing this, and why?
Show answer
Your team is responsible. In SaaS the provider manages the infrastructure and application, but the customer manages identity and access, including removing accounts that should no longer exist. The provider supplies the tools, such as user management and audit logs, but you must use them.