# Container

**Containers** are a virtual environment, like running multiple virtual machines on a single physical host, or multiple containers on a single physical/virtual host. Example: Docker

Containers are managed through a container orchestrator, which can start, stop, and scale-out application instances as needed.

* used to deploy and manage containers.
* portability, performance, lightweight

### Containers vs Virtual Machines

|          Container          |         VM         |
| :-------------------------: | :----------------: |
|          Isolation          |  Strong Isolation  |
|           Portable          |      Portable      |
|          Efficient          |   Resource Hungry  |
|          Fast Start         |    OS Boot Times   |
|          Disposable         |  Require Patching  |
| Minimal Attack Surface Area | OS needs Hardening |

## What is a microservice? <a href="#what-is-a-microservice" id="what-is-a-microservice"></a>

Containers are often used to create solutions by using a **microservice architecture**. This architecture splits the solutions into smaller, independent pieces.

{% embed url="<https://www.microsoft.com/en-us/videoplayer/embed/RE2yual?postJsllMsg=truewww.microsoft.com>" %}

## Microsoft Azure

* Virtual Machines (IaaS)
  * Linux&#x20;
  * Windows
  * Kubernetes
* Azure Container Instances (ACI)
  * Serverless
  * Fast and easy
  * Per-second billing
* Azure Web Apps for Containers
  * Great for webapps
  * custom domains
  * Auto-Scaling
* Azure Service Fabric
  * Scalable orchestration platform&#x20;
  * powers key azure services
  * multiple programming models
* Azure Kubernetes Service(AKS)
  * Managed Kubernetes Cluster
  * specify nodes count
  * open source tooling


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dailyjournal.gitbook.io/cloud-computing/terminologies/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
