Part 1 of 4 in the series “How a cloud exit readiness assessment works”.
You cannot plan an exit from a cloud environment you cannot describe. Before anyone can talk about lock-in, alternatives or exit costs, there has to be an answer to a plain question: what is actually running, and where?
That answer is the resource inventory. It is the first phase of every cloud exit readiness assessment, and everything that follows (costs, risks, alternatives and scores) is calculated from it.
Table of Contents
ToggleWhat a resource inventory is
A resource inventory is a structured list of the active cloud resources in a defined scope, grouped by resource type, with how many of each exist.
It is not a CMDB export or an architecture diagram. Those describe how a system was designed; the inventory describes what the provider says is running today. For exit planning, that difference matters: services added outside the original design, forgotten test resources and managed services enabled “just for this one feature” all show up in the inventory, and all of them have to be moved, replaced or retired in an exit.
Start with the scope
An inventory is only meaningful against a clear boundary, and the right boundary is the application or business service you are planning the exit for. The scope has to cover the cloud services that application actually uses: its compute, storage, databases, messaging, keys and monitoring, not just the parts someone remembers.
In EscapeCloud Community and Light, that boundary is set before discovery starts:
- AWS: an account and a region.
- Azure: a subscription and a resource group.
Choose the boundary so it contains the application’s services, and as little else as possible. Everything inside it is assessed; everything outside it is explicitly not. The report states both, for example:
| In scope | Not in scope |
|---|---|
| Active resources discovered through the provider API within the defined boundary | Other accounts, subscriptions, regions and resource groups |
| Billing data for the last six months | On-premises systems and SaaS contracted outside the provider |
| Data content and classification, application code and configuration |
A scope that matches one application gives a more useful result than a sprawling one. If an application spans several accounts, regions or resource groups, assess each part and read the results together. And you can always assess the next application separately.
In EscapeCloud Enterprise, each application gets its own assessment under one organisation, so a portfolio spread across many accounts, subscriptions and regions can be assessed, re-assessed on a schedule and reviewed in one place. Book a demo
How resources are discovered
Discovery runs through the cloud provider’s own APIs, with read-only permissions. Nothing is installed in your environment, no agent runs on your machines, and no data content is read: the assessment sees that a storage bucket exists and how large it is, not what is stored in it.
- On AWS, each supported service is listed through its own API call, defined per resource type in the data catalogue.
- On Azure, the resources of the selected resource group are listed through Azure Resource Manager.
- Without cloud credentials, the open-source CLI (EscapeCloud Community) can also build the inventory from a Terraform or OpenTofu state file, which is useful when access to production is restricted.
The permissions needed are documented per provider, and they are read-only by design: an exit assessment should never be able to change the environment it describes.
From raw resources to resource types
Raw API output is not comparable across providers or services, so each discovered resource is matched to a resource type from the data catalogue, for example “S3 (Simple Storage Service)” or “Elastic Kubernetes Service”. Each resource type carries:
- its service model (IaaS, PaaS, CaaS or SaaS);
- the number of resources of that type in scope.
Resource types are the unit that everything later is calculated on: exit risks are assessed per resource type, and alternative technologies are mapped per resource type.
What the inventory looks like
From our sample assessment of a document management system on AWS:
| Resources | Resource types | Service models |
|---|---|---|
| 87 | 18 (4 IaaS, 14 PaaS) | IaaS 49%, PaaS 51% |
| Resource type | Service model | Resources |
|---|---|---|
| Elastic Block Store (EBS) | IaaS | 20 |
| S3 (Simple Storage Service) | IaaS | 18 |
| Lambda | PaaS | 8 |
| DynamoDB | PaaS | 6 |
Sample data from a fictional company. View the full sample report
One thing is already visible at this stage: the environment is split almost evenly between infrastructure and managed platform services, and 14 of its 18 resource types are platform services. That matters for the exit, because platform services are usually harder to replace than infrastructure.
Why the inventory shapes every score
The inventory is not just a list. Two of its properties feed directly into how exit risk is weighted later:
- How many resources of a type exist. More resources of a locked-in type mean more exit effort. The weight grows with the count, but not one-to-one, so 500 storage buckets count more than one, but not 500 times more, and a single critical service is not drowned out.
- Where the service sits between IaaS and SaaS. The further a service is from plain infrastructure, the more its risks weigh, because managed and proprietary services are generally harder to move than virtual machines and disks.
The inventory also defines what the rest of the assessment looks at: costs are collected for the same scope, exit risks are assessed for the discovered resource types, and alternatives are mapped to them.
Make it reproducible, then keep it current
An inventory taken once is a snapshot. Two things make it useful as evidence for exit planning:
- Versioning. Each assessment records the data catalogue release it was run against and is stored unchanged, so a result from October can still be reproduced and compared in January.
- Repetition. Environments change every week. Re-running the assessment on a schedule, or on every infrastructure change through the GitHub Action, keeps the inventory, and everything built on it, current.
What comes next
With the inventory in place, the next question is what the scope costs today and what it would cost to move it. That is part 2: the cost inventory.
Series: How a cloud exit readiness assessment works
- Resource inventory (this article)
- Cost inventory
- Risk assessment and exit scoring
- Alternative technologies
Frequently Asked Questions
Does a resource inventory need write access to my cloud account?
No. Discovery uses read-only permissions through the provider’s APIs. Nothing is installed, changed or read from inside your data.
Can I build the inventory without giving credentials?
Yes, with EscapeCloud Community: the open-source CLI can read a Terraform or OpenTofu state file instead of calling the cloud APIs.
How is this different from my CMDB or tagging report?
A CMDB or tag report shows what was registered or labelled. The inventory shows what the provider reports as running in the scope, matched to resource types that exit risks and alternatives are defined for.