Cloud computing
Cloud computing means obtaining computing power, storage, and services from a provider over the internet and paying for what you use. There are service models (IaaS, PaaS, SaaS) and deployment models (public, private, hybrid).
Cloud computing means obtaining computing power, storage, databases, and further services from a provider over the internet instead of running servers of your own. You pay for what you use. For .NET developers, the cloud is usually Microsoft Azure.
Service models: who runs what?
The models differ in how much the provider takes over. Microsoft's documentation on shared responsibility describes them like this:
- IaaS (infrastructure as a service): You manage virtual machines, operating systems, and applications. Examples are Azure Virtual Machines and virtual networks.
- PaaS (platform as a service): You deliver applications without managing virtual machines or operating systems. Examples are Azure App Service, Azure Functions, and Azure SQL Database.
- SaaS (software as a service): You use finished applications, such as Microsoft 365.
The further down this list, the less control, but also the less operational effort. Many solutions mix the models.
Deployment models
A public cloud shares infrastructure with other customers, a private one belongs to one organization alone, and a hybrid one connects your own data centers with a public cloud (in Azure, among other things, with Azure Arc).
What this means for developers
In practice, you work with resources described in code (for example with Bicep), with identities instead of passwords (managed identity, Key Vault), and with containers or platform services. The application runs, for example, as a container in Azure Container Apps; configuration, telemetry, and permissions are part of the delivery. Costs are part of development too, because consumption costs money.
An example from the Kladde
At the end of K2, the Kladde is delivered with azd into your own Azure subscription: a Container Apps environment, an Azure SQL Database, and sign-in through Entra ID. Afterward, everything is torn down again so that no costs keep running.
Common misconceptions
- The cloud is not automatically cheaper. It saves purchase and operation, but it costs money continuously.
- The cloud is not automatically secure. The provider secures its part; configuration, permissions, and data remain your responsibility.
- Serverless is not the opposite. It is a way of running things within the cloud in which you do not take care of servers.
- The cloud and open source do not contradict each other. Many cloud services run on open-source software.
In the course
You learn Azure in K3, module 3.1, starting with the lesson Azure at a glance. If you deliver the Kladde yourself, you do so in K2, module 2.9, in the lesson Shipping with azd. Infrastructure as code follows in K3, module 3.2, with The Bicep language.
Further reading on the blog
- Cloud computing infrastructure explained simply
- Servers in the cloud: when they pay off for you
- Open-source cloud or Azure: which is the better fit?
Sources
- Microsoft Learn, Shared responsibility in the cloud: https://learn.microsoft.com/azure/security/fundamentals/shared-responsibility
- Microsoft Learn, Describe cloud computing (Training): https://learn.microsoft.com/training/modules/describe-cloud-compute/