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

# Cloud Integrations

> Connect AWS, GCP, and Azure so Formal can discover resources and deliver logs

## What is a Cloud Account?

A Cloud Account connects a cloud provider to Formal. Once connected, Formal can:

* **Discover resources** automatically and keep your inventory in sync.
* **Deliver logs** to cloud storage for retention and compliance.
* **Use cloud-native access** to reach and authenticate to your resources.

A Cloud Account grants Formal scoped access. You enable only the capabilities you need.

## How It Works

Every provider follows the same three steps.

**1. Register**

Create the integration in Formal from [Cloud Accounts](https://app.formal.ai/cloud-accounts) or Terraform. Formal returns the identity it uses to access your cloud.

**2. Grant access**

Run the provided setup in your cloud to grant Formal scoped access. AWS uses a cross-account IAM role; GCP and Azure use workload identity federation.

**3. Activate**

Once the setup reports back, Formal activates the integration and starts discovering resources and forwarding logs.

## Supported Providers

> [card] [AWS](https://docs.formal.ai/docs/guides/integrations/clouds/aws.md)
>
> Autodiscovery for RDS, Redshift, EKS, EC2, ECS, and S3, plus S3 log delivery

> [card] [GCP](https://docs.formal.ai/docs/guides/integrations/clouds/gcp.md)
>
> Autodiscovery for Cloud SQL, GKE, and Compute Engine, plus Cloud Storage log delivery

> [card] [Azure](https://docs.formal.ai/docs/guides/integrations/clouds/azure.md)
>
> Autodiscovery for PostgreSQL and MySQL flexible servers, AKS, and virtual machines, plus Blob Storage log delivery

| Capability | AWS | GCP | Azure |
| - | - | - | - |
| Resource autodiscovery | RDS, Redshift, EKS, EC2, ECS, S3 | Cloud SQL, GKE, Compute Engine | PostgreSQL, MySQL, AKS, Virtual Machines |
| Log delivery | S3 | Cloud Storage | Blob Storage |
| Cloud-native access | Cross-account IAM role | Workload Identity Federation | Entra federated identity credential |

## Capabilities

### Resource Autodiscovery

Formal scans a connected account and adds discovered resources to [Resources](https://app.formal.ai/resources). Discovery is continuous, so new resources appear automatically, and provider tags sync to Formal.

Autodiscovered resources are read-only by default. To customize one, protect it from the **Autodiscovered** tab on the Resources page. Formal prioritizes a protected resource's configuration over discovered settings.

### Log Delivery

A Cloud Account can grant Formal write access to a storage bucket. You then configure [Log Forwarding](https://docs.formal.ai/docs/guides/integrations/log.md) for a bucket to forward Connector logs for long-term retention and compliance.

## Best Practices

> [accordion] Enable only what you need
>
> Grant access only for the capabilities you use. Scoped permissions keep the
> integration least-privilege.

> [accordion] One integration per account
>
> Create a separate Cloud Account for each AWS account, GCP project, or Azure
> subscription (production, staging, dev) for clean isolation.

> [accordion] Audit regularly
>
> Periodically review discovered resources and granted access so they match
> your actual infrastructure.

## Next Steps

> [card] [Connect AWS](https://docs.formal.ai/docs/guides/integrations/clouds/aws.md)
>
> Set up a cross-account IAM role

> [card] [Connect GCP](https://docs.formal.ai/docs/guides/integrations/clouds/gcp.md)
>
> Federate a Google Cloud project

> [card] [Connect Azure](https://docs.formal.ai/docs/guides/integrations/clouds/azure.md)
>
> Federate an Azure subscription

> [card] [Log Forwarding](https://docs.formal.ai/docs/guides/integrations/log.md)
>
> Forward logs to S3, GCS, Blob Storage, or a SIEM

> [card] [Terraform](https://docs.formal.ai/docs/guides/configuration/terraform.md)
>
> Manage integrations as code


## Related topics

- [Glossary](https://docs.formal.ai/docs/glossary/index.md)
- [Integrations](https://docs.formal.ai/docs/guides/integrations/overview.md)
- [Get cloud integration](https://docs.formal.ai/api-reference/corev1integrationcloudservice/get-cloud-integration.md)
- [List cloud integrations](https://docs.formal.ai/api-reference/corev1integrationcloudservice/list-cloud-integrations.md)
- [Update cloud integration](https://docs.formal.ai/api-reference/corev1integrationcloudservice/update-cloud-integration.md)


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