PaaS
Platform as a Service (PaaS) provides a managed environment for building, deploying and running applications, so that teams focus on their code rather than on the servers underneath.
PaaS is a step on from Infrastructure as a Service. Instead of virtual machines, you’re given a configured environment: you supply your application and some configuration, and the platform handles provisioning, the operating system, runtime patching, scaling, load balancing and often deployment.
PaaS lets developers build applications using the tools the platform provides. Platforms are made from previously optimised features, packages and configuration: operating systems, language runtimes, web servers, databases, deployment pipelines and monitoring. Examples include Azure App Service, AWS Elastic Beanstalk, Google App Engine and Heroku, as well as managed databases and managed container platforms.
PaaS takes the grunt work out of development by providing well-configured environments that are already hooked up to common enterprise mechanisms such as authentication, logging, monitoring, security and asset management.
Trade-offs
- Less to operate: no OS patching, and scaling is usually a configuration setting.
- Faster delivery: new environments in minutes, with built-in deployment slots, rollbacks and so on.
- Opinionated: you work within the platform’s supported runtimes, limits and conventions. When your needs fall outside them, you may have to drop down to containers or IaaS.
- Portability: some platforms make it easy to move elsewhere and some don’t. Building on open standards, such as container images and standard runtimes, reduces lock-in.
Platform engineering
Many organisations now build an internal developer platform: a curated layer on top of cloud services that gives their own teams PaaS-like self-service, with security, observability and compliance built in. The principle is the same as public PaaS. Make the right way the easy way, so that product teams can spend their time on business value rather than plumbing.