> For the complete documentation index, see [llms.txt](https://cloudimaging.msendpointmgr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cloudimaging.msendpointmgr.com/readme.md).

# Cloud Imaging

Cloud-hosted Windows imaging for bare-metal devices running WinPE.

**Audience**: IT administrators and technicians deploying and running Cloud Imaging in their own Azure tenant

***

## Where to start

| Guide                                                         | Use it to                                                                                                                                                                     |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Architecture overview](/understand/architecture-overview.md) | Understand the components, request paths, security boundaries, and end-to-end imaging flow                                                                                    |
| [Session lifecycle](/understand/session-lifecycle.md)         | Follow a device from registration through coupling, assignment, five imaging stages, and terminal cleanup                                                                     |
| [Setup instructions](/deploy/setup-instructions.md)           | **Start here for a new deployment.** Prerequisites, Entra ID app registrations, deploying the Azure resources, and post-deployment/initial portal configuration, step by step |
| [Upgrade instructions](/deploy/upgrade-instructions.md)       | Move an existing deployment to a newer release: the three release streams, running `upgrade.ps1`, applying infrastructure changes, rebuilding boot media, and rolling back    |
| [Troubleshooting index](/operate/troubleshooting-index.md)    | Start from a visible symptom and jump to the relevant operational checks                                                                                                      |
| [Operations runbook](/operate/operations-runbook.md)          | Run it day to day: monitoring, certificate rotation, upgrades, troubleshooting                                                                                                |
| [Setup profiles](/operate/setup-profiles.md)                  | Write registry values, run scripts and add an answer file on devices before Windows starts, targeted by the location on their USB media                                       |
| [Roles and access](/operate/roles-and-access.md)              | The full Entra ID app role and service role model                                                                                                                             |

## The three components

* **Cloud Imaging Client**: the WinPE application that runs on the device being imaged. It registers a session, waits to be coupled and assigned an OS image from the portal, then formats the disk, downloads and applies the image, configures boot, and applies the recovery environment.
* **Cloud Imaging Portal**: the web portal a technician uses to couple devices, assign OS images, monitor progress, and manage the OS image, recovery image, boot image and branding catalogs.
* **Cloud Imaging Media Builder**: the Windows desktop application that generates the WinPE boot image and prepares bootable USB media.

They talk to three Azure Functions APIs (Device Gateway, Operator, Imaging Core) deployed into your own tenant. See the [architecture overview](/understand/architecture-overview.md) for the component diagram, request paths, and security boundaries.

## Elsewhere

* [Releases](https://github.com/MSEndpointMgr/CloudImaging/releases): the three independently-versioned release streams
* [Report an issue](https://github.com/MSEndpointMgr/CloudImaging/issues)
* [Security policy](https://github.com/MSEndpointMgr/CloudImaging/blob/main/SECURITY.md): how to report a vulnerability
* [Contributing](https://github.com/MSEndpointMgr/CloudImaging/blob/main/CONTRIBUTING.md): building the solution and submitting changes


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cloudimaging.msendpointmgr.com/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
