# Cloud Deployment Models

<figure><img src="https://2332860236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq6mjlFfyDOi3mV0lemKE%2Fuploads%2FG3zldDllkk0HajV4AkFr%2Fimage.png?alt=media&#x26;token=c11aa6a5-9244-43fb-bea5-0a40740a740d" alt=""><figcaption></figcaption></figure>

#### 1. **IaaS (Infrastructure as a Service)**

* **Definition**: IaaS provides basic infrastructure services such as virtual machines (VMs), storage, and networking over the internet. It allows businesses to rent virtualized computing resources rather than investing in physical hardware.
* **Example in Azure**:
  * **Azure Virtual Machines (VMs)**: Users can deploy and manage VMs running various operating systems (Windows, Linux) and configure them according to their needs (e.g., CPU, memory, storage).
  * **Azure Virtual Networks (VNet)**: Provides a secure network for your resources to communicate with each other and the internet.
  * **Azure Blob Storage**: A scalable object storage solution for storing unstructured data like text, images, and videos.

#### 2. **PaaS (Platform as a Service)**&#x20;

* **Definition**: PaaS provides a platform that allows developers to build, deploy, and manage applications without dealing with the underlying infrastructure. It abstracts much of the complexity involved in hardware and software management, providing a development environment with built-in tools and services.
* **Example in Azure**:
  * **Azure App Service**: A fully managed platform for building, deploying, and scaling web applications and APIs. It supports multiple programming languages (e.g., .NET, Node.js, Python).
  * **Azure SQL Database**: A managed relational database service that takes care of database management, backups, and scalability, allowing developers to focus on application logic.
  * **Azure Functions**: A serverless compute service that allows you to run event-driven code without managing servers. It scales automatically based on demand.

#### 3. **SaaS (Software as a Service)**&#x20;

* **Definition**: SaaS delivers fully managed software applications that are hosted in the cloud and accessible over the internet. These applications are ready to use immediately, with no need for installation, maintenance, or infrastructure management. Users pay for the subscription to access the software.
* **Example in Azure**:
  * **Microsoft 365 (formerly Office 365)**: A suite of productivity tools, including Word, Excel, PowerPoint, Outlook, and more, hosted on Azure and delivered as a subscription service. Users can access these applications from anywhere with an internet connection.
  * **Azure DevOps Services**: A cloud-based set of development tools for building, testing, and deploying applications. It includes version control, CI/CD pipelines, and project management tools.
  * **Dynamics 365**: A suite of business applications for CRM and ERP, providing tools for sales, marketing, finance, and operations management.

#### Summary of Differences:

| **Model** | **What It Provides**                                        | **Azure Examples**                                     |
| --------- | ----------------------------------------------------------- | ------------------------------------------------------ |
| **IaaS**  | Virtualized infrastructure (VMs, networking, storage)       | Azure Virtual Machines, Azure Blob Storage, Azure VNet |
| **PaaS**  | Managed platform for application development and deployment | Azure App Service, Azure SQL Database, Azure Functions |
| **SaaS**  | Fully managed software applications for end-users           | Microsoft 365, Azure DevOps, Dynamics 365              |

***

## Types of Cloud :&#x20;

{% tabs %}
{% tab title="Public_Cloud" %}
#### **Public Cloud**

* **Definition**: Cloud services are provided over the internet by third-party providers and shared across multiple customers. Resources like servers and storage are owned and managed by the cloud provider.
* **Example**: AWS, Microsoft Azure, Google Cloud.
* **Key Point**: Cost-effective and scalable, but less control over security and data privacy.
{% endtab %}

{% tab title="Private_Cloud" %}
#### **Private Cloud**

* **Definition**: Cloud infrastructure is used exclusively by a single organization. It can be hosted either on-premises or by a third-party provider, offering more control over resources and security.
* **Example**: A company using its own data center or private cloud services like Azure Stack.
* **Key Point**: Provides greater control, security, and customization but tends to be more expensive.
{% endtab %}

{% tab title="Hybrid_Cloud" %}
#### **Hybrid Cloud**

* **Definition**: A combination of public and private clouds, allowing data and applications to be shared between them. It provides more flexibility in managing workloads.
* **Example**: A company using private cloud for sensitive data and public cloud for less critical workloads.
* **Key Point**: Offers flexibility, scalability, and cost efficiency while maintaining control over critical systems.
{% endtab %}

{% tab title="Community_Cloud" %}
#### **Community Cloud**

* **Definition**: Shared infrastructure is used by several organizations with common concerns (e.g., security, compliance, or industry standards). It can be managed by the organizations or a third-party provider.
* **Example**: Government or industry-specific clouds where multiple organizations collaborate and share resources.
* **Key Point**: Cost-effective for organizations with similar needs but still maintains some level of exclusivity.
{% endtab %}
{% endtabs %}

