What the cloud is
Unit 1 of 5 in Cloud fundamentals and shared responsibility.
You will be able to explain cloud computing using NIST's definition, and tell IaaS, PaaS and SaaS apart.
Lesson
A definition you can check
NIST defines cloud computing as a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources, such as networks, servers, storage, applications and services, that can be rapidly provisioned and released with minimal management effort or service provider interaction. The model has five essential characteristics, three service models and four deployment models.
Five characteristics
On-demand self-service: a consumer can provision things like server time and storage automatically, with no human at the provider. Broad network access: capabilities are reached over the network with standard mechanisms. Resource pooling: the provider's resources serve many consumers in a multi-tenant model, and the customer generally does not know the exact location. Rapid elasticity: capabilities can scale out and in with demand and often seem unlimited. Measured service: resource use is metered, monitored and reported.
For security, two of these matter most. Self-service means anyone with the right permission can create a server or open a database in seconds, so mistakes scale as fast as good work. Multi-tenancy means your neighbours share the provider's hardware, so isolation is the provider's job and your own settings are yours.
Three service models and four deployment models
In Software as a Service (SaaS) you use the provider's application and do not manage the infrastructure, apart from limited settings. In Platform as a Service (PaaS) you deploy your own application onto the provider's platform and control the application and possibly its hosting settings. In Infrastructure as a Service (IaaS) you provision processing, storage and networks and can run arbitrary software, including operating systems; you control the operating system, storage and deployed applications and possibly limited networking such as host firewalls.
The deployment models are private (for one organization), community (for a group with shared concerns), public (open to the general public, on the provider's premises) and hybrid (two or more of these bound together).
Infrastructure you can write down
Because cloud resources are provisioned through programs, they can be described in text. HashiCorp says Terraform is an infrastructure as code tool that lets you define cloud and on-premises resources in human-readable configuration files that you can version, reuse and share. Its files are declarative: they describe the end state, and Terraform works out the steps. That idea comes back in the last unit, where a scanner reads those files before anything exists.
Key points
- NIST: five characteristics, three service models (SaaS, PaaS, IaaS), four deployment models.
- Self-service makes mistakes fast and wide; multi-tenancy makes isolation the provider's job.
- The further from IaaS toward SaaS, the less you control and the less you must secure.
- Cloud resources can be described as text and checked before they are created.
Sources
Practice in the labs
Describe small infrastructure as text, with no cloud account needed.
- Manage Infrastructure-as-Code with Terraform (no cloud needed): You run init, plan, apply and destroy on a tiny project on your own machine and see infrastructure created from text.
Knowledge check
- Which service model lets you run your own operating system on provisioned resources? Answer: Infrastructure as a Service. NIST says in IaaS the consumer can deploy and run arbitrary software, including operating systems.
- What does 'rapid elasticity' mean? Answer: Capabilities can be provisioned and released quickly to match demand. NIST says capabilities can scale rapidly outward and inward commensurate with demand.
- What does 'declarative' mean for Terraform configuration? Answer: It describes the end state; Terraform works out the steps. HashiCorp says the files describe the end state of the infrastructure, so you do not write step-by-step instructions.
Back to the syllabus or see all classes.