# Connect a cloud provider

In the Turn it Off platform, we organise things around;

1. Your Application (e.g: your website, your finance system, your CRM system etc.), then
2. their Environments (e.g: non-production testing, non-production staging etc.), then
3. the Resources (e.g: virtual machines, database services etc.) in each of those environments.

Before we start defining Applications and related Environments, to start using Turn it Off to manage the power on/off of cloud **Resources**, first you need to identify and connect the cloud provider account(s) that ultimately **contain the Resources** you'd like the platform to manage.

Turn it Off currently supports the two major cloud providers globally, [Amazon Web Services (AWS)](/integrations/cloud-providers/amazon-web-services-aws.md) and [Microsoft Azure](/integrations/cloud-providers/microsoft-azure.md), the role/permissions setup in each cloud provider is slightly different but the process to Connect a cloud provider in Turn it Off once the role/permissions are set in the cloud provider is the same.

Once you've identified which cloud provider account(s) contain the Resources, you can go ahead and connect as many cloud provider accounts as you like to Turn it Off. Turn it Off uses the access control model native to your cloud provider to see the resources it may manage in a given account.

[Amazon Web Services](/integrations/cloud-providers/amazon-web-services-aws.md) customers will need to configure an Identify and Access Management (IAM) role with limited permissions to connect a cloud provider account. Detailed configuration information can be found in the [Cloud providers](/integrations/cloud-providers.md) section.&#x20;

[Microsoft Azure](/integrations/cloud-providers/microsoft-azure.md) customers will need to configure a service principle and contributor access connect a subscription. Detailed configuration information can be found in the [Cloud providers](/integrations/cloud-providers.md) section.&#x20;

Once the role is created, connecting a cloud provider account is as simple as the following demo:

{% embed url="<https://youtu.be/9wnndGhG3HY>" %}


---

# 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://docs.turnitoff.ai/getting-started/providers.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.
