> ## Documentation Index
> Fetch the complete documentation index at: https://docs.envzero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resource graph

> Use the EZ Control Center graph to see how an environment's cloud resources connect, what the internet can reach, and which roles a workload uses.

The resource graph draws an environment's cloud resources and the relationships between them. Use it to answer questions a table cannot, such as what the internet can reach, which role a workload uses, or what else breaks if you delete a resource.

## Open the graph

The graph is on an environment page and on an unmanaged resource collection page, when they hold at least two cloud resources. See [View an environment's resources](https://docs.envzero.com/guides/ez-control-center/explore-cloud-resources.md#view-an-environments-resources).

Click **Graph** at the top of the page. **Table** switches back to the resource list.

![Resource graph of the payments-prod environment in the Network topology view, with callouts on the filter bar, the zoom controls, the View list and the Full screen button](https://mintcdn.com/envzero-b61043c8/7R9pjxUjbkYFPf24/images/guides/ez-control-center/graph-overview.png?fit=max\&auto=format\&n=7R9pjxUjbkYFPf24\&q=85\&s=37c27299af28c70598b237a65d646057)

1. The filter bar narrows the graph to the resources you want.
2. Zoom out, zoom in, and **Fit** to fit the whole graph on screen.
3. **View** picks which relationships the graph draws.
4. **Full screen** gives the graph the whole window. **Exit full screen** brings it back.

The view, zoom and position are kept in the page URL, so a link opens the graph the way you see it.

## Read the graph

Each circle is a resource, and each arrow is a relationship between two resources. The legend under the graph explains the colors and icons.

![Graph legend: green Clean, orange Medium or Low insight or IaC drift, red High or Critical insight, filled Managed, hollow Unmanaged, and an icon for each resource category](https://mintcdn.com/envzero-b61043c8/7R9pjxUjbkYFPf24/images/guides/ez-control-center/graph-legend.png?fit=max\&auto=format\&n=7R9pjxUjbkYFPf24\&q=85\&s=a6cbe2acd5a5879025f7445375e7b8cc)

* **Color** shows the resource's worst problem. Green is clean. Orange means a Medium or Low insight, or IaC drift. Red means a High or Critical insight.
* **Fill** shows the managed state. A filled circle is managed by env zero. A hollow circle is unmanaged.
* **Icon** shows the resource category: compute, network, storage, serverless, identity, security, database, or other.

When drift detection has not evaluated some resources, the legend also shows **Not evaluated** for them.

## Inspect a resource

Hover a resource to see its type, managed state, insights, account and region, and its relationships.

![Hover card for the payments-prod-app-3 EC2 instance showing it is managed, has a Low insight, its account and region, and one relationship](https://mintcdn.com/envzero-b61043c8/7R9pjxUjbkYFPf24/images/guides/ez-control-center/graph-tooltip.png?fit=max\&auto=format\&n=7R9pjxUjbkYFPf24\&q=85\&s=733e2363e6031aee954c75e88d32617d)

Click a resource to highlight it. The graph moves to frame the resource and its direct connections, labels each arrow with its relationship, and fades everything else. A **Highlighting** tag shows which resource is highlighted.

![Graph with payments-prod-eni-03 highlighted, its arrows labelled has interface and is attached to, the rest faded, and a Highlighting tag](https://mintcdn.com/envzero-b61043c8/7R9pjxUjbkYFPf24/images/guides/ez-control-center/graph-highlight.png?fit=max\&auto=format\&n=7R9pjxUjbkYFPf24\&q=85\&s=66053853f9e174bc9cb9938257326d2d)

1. Click **x** on the **Highlighting** tag to clear it.

Click the highlighted resource again to open its details, the same as from the table. See [Open a resource](https://docs.envzero.com/guides/ez-control-center/explore-cloud-resources.md#open-a-resource).

## Choose a view

Each view draws one kind of relationship, and only the resources those relationships touch.

![View list open with Network topology, Exposure, Identity and access, Observability and All relationships](https://mintcdn.com/envzero-b61043c8/7R9pjxUjbkYFPf24/images/guides/ez-control-center/graph-view-menu.png?fit=max\&auto=format\&n=7R9pjxUjbkYFPf24\&q=85\&s=d3f25314b0d492d4beb47f1b7907ffa7)

| View | What it shows |
| :- | :- |
| **Network topology** | How resources sit in your network: networks and subnets, the interfaces, addresses and resources attached to them, routing, and connections between networks. This is the default view. |
| **Exposure** | What traffic from the internet can reach, starting from entry points such as load balancers, API gateways, CloudFront distributions and Kubernetes ingresses. |
| **Identity and access** | Which roles and service accounts each workload uses, and which policies grant them access. |
| **Observability** | Which resources send logs or audit events, and where. |
| **All relationships** | Every relationship EZ Control Center knows. |

If a view has no relationships in this environment, the graph says so. Pick another view.

### Exposure and Identity and access

These two views read left to right, in columns. Each column is titled with the resource types it holds and their count.

**Exposure** starts from the entry points on the left and follows the traffic inward. A resource the internet cannot reach does not show.

![Exposure view with a load balancer and an API gateway on the left, the EC2 instances and security groups they reach in the middle, and the auto scaling group on the right](https://mintcdn.com/envzero-b61043c8/7R9pjxUjbkYFPf24/images/guides/ez-control-center/graph-exposure.png?fit=max\&auto=format\&n=7R9pjxUjbkYFPf24\&q=85\&s=e4ff697e68152ef8fcab0ecf894e31d3)

**Identity and access** starts from the workloads on the left and follows them to the roles they use and the policies those roles have.

![Identity and access view with EC2 instances and Lambda functions on the left, the instance profile and IAM roles they use in the middle, and IAM policies on the right](https://mintcdn.com/envzero-b61043c8/7R9pjxUjbkYFPf24/images/guides/ez-control-center/graph-identity.png?fit=max\&auto=format\&n=7R9pjxUjbkYFPf24\&q=85\&s=09d26025e0c7cb4382b58706ba45584f)

In these two views, highlighting a resource also traces its whole path back to where the path starts, such as the entry point that exposes it.

> [!NOTE]
>
> Internet gateways are not entry points in the **Exposure** view. Resources reached only through an internet gateway do not show there.

## Filter the graph

**Filter by** narrows the graph by tag, **Category**, **Type**, **Cloud**, **Account**, **Region**, **State** (managed or unmanaged) or **Drift**. While a filter is on, the graph shows how many resources match, for example **Showing 6 of 24 resources**.

## Large environments

A very large environment can be too big to draw in full. The graph then shows a warning, and some resources or relationships are missing. Use a view or a filter to focus on the part you need, or use the **Table** view for the full list.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.