Modern managed service models
Specialized managed services
Modern cloud offerings often expose a narrower unit of work than a virtual machine or general application platform. FaaS runs functions; CaaS provides a container-oriented execution or orchestration environment; DBaaS offers managed database capabilities. These industry terms complement the three NIST service models rather than replacing them. They can overlap with PaaS and with each other.
Function as a Service (FaaS)
A function is a small unit of code invoked to perform a task. An event is a notification that something happened, such as an image upload. The bookstore needs to create a thumbnail after each cover image arrives. It supplies the function and configures an event trigger; the provider manages the underlying execution environment.
Conceptual flow: image uploaded → event → function → thumbnail saved. The application team checks that an allowed input creates the expected output, handles failures, and prevents duplicate events from creating inconsistent results. Some services can start from zero active instances, which may introduce startup delay. Execution duration, concurrency and billing rules vary; verify them before choosing a function for long-running work.
Containers as a Service (CaaS)
A container image packages an application and its required files for a compatible container runtime. The bookstore already has a packaged web API. A managed container platform can run instances of this image and help operate their lifecycle. The bookstore still maintains image contents, access policies and application behavior.
Some platforms expose container orchestration: software coordinating placement, replacement and scaling of workloads. Managed Kubernetes is one example. Responsibility for worker machines, upgrades, networking and add-ons varies by offering and mode. A managed control plane does not necessarily mean the provider maintains every worker or workload. If the only requirement is to host one packaged API, a simpler managed container service may be enough.
Database as a Service (DBaaS)
The bookstore must keep orders after a web server is replaced. A managed database can provide persistent data storage and automate selected operational tasks such as engine maintenance or scheduled backups. The bookstore defines its tables, application queries, database permissions and retention requirements.
A backup feature is not proof of recovery. Test restoration using fictional orders, verify the returned records, and compare the observed recovery with business requirements. Check supported database versions, extensions, connection limits, maintenance windows and backup options before migration.
Serverless is a management model, not the absence of servers
Servers still execute code and store data in a serverless service. The term describes the degree to which the customer avoids provisioning and operating the underlying compute infrastructure. FaaS is one form of serverless computing, but managed container and data services can also offer serverless modes. Not every managed container or database service is serverless.
Do not assume every serverless product scales to zero, costs nothing when idle or has no limits. A request-based service may still incur storage, minimum capacity, logging or network charges. Choose by workload, not the label.
Build a small service selection plan
For the same bookstore, choose a managed container service for an existing compatible API image, a managed database for durable order records, and a function for brief image-processing events. The browser sends requests to the API; the API reads and writes order records; uploaded covers trigger the separate thumbnail function. Restrict each component to only the data and operations it needs. This is a conceptual architecture, not a deployed system.
A simple function workload processes 300 images; each execution takes 2 seconds in this fictional model. Total execution time is 600 execution-seconds. A retry for 10 images adds 20 execution-seconds, for 620 total. This is cumulative execution time, not elapsed wall-clock time or a real bill. Actual metering can round durations and include other charges.
Practice choosing and verifying services
Suppose your bookstore needs a custom database extension not supported by a candidate managed database. Do not select it merely because it is managed; verify alternative offerings or compare operating the database yourself. If the API needs a long-running process, check the chosen container service’s actual lifecycle constraints. If an image function fails, inspect synthetic invocation records and verify whether a retry produced the intended thumbnail.
For each component, write what you provide, what the provider operates, what can fail, and how you would test recovery. Several designs can be valid when their assumptions differ. No cloud account is needed. Later chapters develop functions, containers, databases, cost and reliability in depth.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Modern managed service models — knowledge check
Choose the best answer for each fictional cloud scenario.
A short task must generate a thumbnail whenever a file arrives. Which is a reasonable first candidate?
An existing API is packaged as a container image. Which offering directly accepts that kind of workload?
A managed database advertises backups. What should the bookstore do before trusting its recovery plan?
300 function executions take 2 seconds each; 10 additional retries also take 2 seconds each. What is cumulative execution time?
Which statement about serverless services is correct?