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

# Cloud Connector

> An overview of the Chkk Cloud Connector

## Overview

### What is a Chkk Cloud Connector?

**Chkk Cloud Connector** is a secure, read-only integration that fetches relevant resource data from your cloud environment and correlates it with your Kubernetes clusters. By focusing on resources that affect — or are affected by — your clusters (e.g., security groups, IAM roles, networking settings), the Connector facilitates a unified view of your infrastructure. This insight helps detect potential incompatibilities and misconfigurations early, resulting in a more stable and secure environment.

### Supported Cloud Service Providers

Chkk supports connecting to the following major CSPs:

* **AWS** (Amazon Web Services)
* **GCP** (Google Cloud Platform)
* **Azure** (Microsoft Azure)

## Permissions

Chkk Cloud Connector operates under the principle of least privilege, utilizing read-only credentials to access only the necessary metadata in your cloud environment. This restricted, non-intrusive access allows Chkk to accurately map your configurations and deliver tailored guidance for upgrades and operational best practices. By granting the minimal permissions required, you maintain a strong security posture while benefiting from insights that reflect the actual state of your environment.

<Note> All IAM policies and service accounts associated with the Chkk Cloud Connector remain under your direct control. You can modify, revoke, or remove these permissions at any time to align with your organization's security and compliance requirements.</Note>

## Setup Guide

This guide walks you through installing a Chkk Cloud Connector for **AWS**, **GCP**, or **Azure**.

1. In the **left-hand column** of the **Chkk Dashboard**, expand **Configure** and click **Cloud Accounts**.
2. In the top-right corner, click **Add Cloud Account**.
3. From the dropdown, select **AWS**, **GCP**, or **Azure**.

<img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-cloud-accounts.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=8d1e6db2319afc0fe8c0ae6e2dece96a" alt="Cloud Accounts main page screenshot" width="3014" height="1506" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-cloud-accounts.png" />

Once you've selected your provider, follow the relevant instructions in the tabs below to set up and verify the Cloud Connector.

<Tabs>
  <Tab title="Chkk AWS Cloud Connector">
    <Steps>
      <Step title="Enter AWS Account Details">
        1. **AWS Account ID**: Provide the 12-digit AWS Account ID (e.g., `123456789012`).
        2. **AWS Region**: Specify your primary region (e.g., `us-east-1`).
        3. *(Optional)* **Account Name**: Provide a name to reference this AWS Account in the Chkk Dashboard. (e.g., `production-account`)
        4. Click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-1.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=c62adaa7c536ea5ba28e379e1517ea69" alt="Enter AWS account details screenshot" width="2566" height="1560" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-1.png" />
      </Step>

      <Step title="Set Up Your Environment">
        1. In **Setup Environment**, choose how you want to create the **read-only IAM Role** (CloudFormation, Console, CLI, or Terraform).
        2. Follow the steps mentioned under the selected method to set up the IAM Role in your AWS account.
        3. Once set up, click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-2.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=345a42c458a79363fa653c59b20d97d0" alt="Setup Environment screenshot" width="2566" height="1558" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-2.png" />
      </Step>

      <Step title="Verify Connection to Chkk">
        1. Wait until the IAM Role is fully created in AWS.
        2. Chkk attempts to assume the newly created role to confirm connectivity.
        3. Once the connection is verified, you'll see a success message on the Chkk Dashboard.
        4. The **Redo** button allows you to retry the connection if needed.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-3.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=94f6d685437d816ff28f6806d0b8ebcf" alt="Verify Connection screenshot" width="2570" height="1546" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-3.png" />
      </Step>

      <Step title="Confirm Your AWS Account Is Connected">
        1. A success message indicates Chkk can now access your AWS account.
        2. Your AWS account will appear in the **Cloud Accounts** list with **Connected** status in the **Configure -> Cloud Accounts** view.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-4.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=0457b73fff5eb8ef5220c0a9687adcc9" alt="Successful connection screenshot" width="2566" height="1554" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-aws-account-step-4.png" />
      </Step>
    </Steps>
  </Tab>

  <Tab title="Chkk GCP Cloud Connector">
    <Steps>
      <Step title="Enter GCP Project Details">
        1. **GCP Project ID**: Provide the ID for the GCP project you want to connect (e.g., `gcp-proj-example`).
        2. *(Optional)* **Account Name**: Provide a name to reference this project in the Chkk Dashboard (e.g., `staging-project`).
        3. Click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/ErQAF5e5P7IkmW9z/images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-1.png?fit=max&auto=format&n=ErQAF5e5P7IkmW9z&q=85&s=65bd27db88f41b235855dcc578868959" alt="Add GCP Account - Enter Project Details" width="2572" height="1566" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-1.png" />
      </Step>

      <Step title="Set Up Your Environment">
        1. Under **Setup Environment**, choose your preferred method (e.g., **Manual (CLI)** or **Terraform**) to grant the Chkk service account **read-only** (`roles/viewer`) access to your project.
        2. Follow the steps mentioned under the selected method.
        3. After configuring your IAM policy, click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/ErQAF5e5P7IkmW9z/images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-2.png?fit=max&auto=format&n=ErQAF5e5P7IkmW9z&q=85&s=c96915de7644720373075ed24bdbaf0e" alt="Add GCP Account - Setup Environment" width="2572" height="1566" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-2.png" />
      </Step>

      <Step title="Verify Connection to Chkk">
        1. Once you finish creating the policy bindings in GCP, Chkk will attempt to connect using the newly granted service account permissions.
        2. A success message indicates that Chkk can now retrieve data from your GCP project.
        3. If needed, click **Redo** to retry or refresh the connection.

                   <img src="https://mintcdn.com/chkk/ErQAF5e5P7IkmW9z/images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-3.png?fit=max&auto=format&n=ErQAF5e5P7IkmW9z&q=85&s=017df40487471cf0dd53c976f72bf4e4" alt="Add GCP Account - Verify Connection" width="2572" height="1568" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-3.png" />
      </Step>

      <Step title="Confirm Your GCP Account Is Connected">
        1. A final message confirms that your GCP project is **Connected**.
        2. In the **Cloud Accounts** list (under **Configure** -> **Cloud Accounts**), your GCP project appears with a **Connected** status.

                   <img src="https://mintcdn.com/chkk/ErQAF5e5P7IkmW9z/images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-4.png?fit=max&auto=format&n=ErQAF5e5P7IkmW9z&q=85&s=000b37e55cfae290b34790859d56c27e" alt="Cloud Accounts - GCP Account Connected" width="2570" height="1568" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-gcp-account-step-4.png" />
      </Step>
    </Steps>
  </Tab>

  <Tab title="Chkk Azure Cloud Connector">
    <Steps>
      <Step title="Name Your Connection">
        1. **Account Name**: Provide a name to reference this Azure account in the Chkk Dashboard (e.g., `production-account`).
        2. Click **Mark as done** when finished.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-1.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=a88d0d99da9fac7d4b36a00248a26066" alt="Add Azure Account - Name Your Connection" width="2576" height="1566" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-1.png" />
      </Step>

      <Step title="Provide Subscription IDs">
        1. **Azure Subscription ID(s)**: Enter one or more Subscription IDs (e.g., `b6cbec...97995d`).
        2. Click **Add** to include multiple subscription IDs if needed.
        3. Click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-2.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=e25ed7fa871ce132da1ad83c4201bdca" alt="Add Azure Account - Provide Subscription IDs" width="2572" height="1568" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-2.png" />
      </Step>

      <Step title="Login to Azure">
        1. Open a terminal and log in to your Azure account using the CLI.
           ```bash theme={"dark"}
           az login
           ```
        2. Once logged in, click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-3.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=6fce0dcea8db99b252d8b633bec054f1" alt="Add Azure Account - Login to Azure" width="2572" height="1568" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-3.png" />
      </Step>

      <Step title="Create a Service Principal with Reader Role">
        1. Run the following command to create a Service Principal that has the **Reader** role, scoped to your subscription:
           ```bash theme={"dark"}
           az ad sp create-for-rbac \
           --display-name "chkk-cloud-connect-example" \
           --role Reader \
           --scopes /subscriptions/<YOUR-SUBSCRIPTION-ID>
           ```
        2. **Note the output** of this command—it includes your **tenant**, **appId** (client ID), and **password** (client secret).
        3. Click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-4.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=243f34f80dc0da78703ba739735506d4" alt="Add Azure Account - Create a Service Principal with Reader Role" width="2572" height="1572" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-4.png" />
      </Step>

      <Step title="Provide Service Principal Details">
        1. Copy and paste the **Tenant ID**, **Client ID**, and **Client Secret** from the output of the previous command into the respective fields.
        2. Click **Mark as done**.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-5.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=57dd3413a95c6056fd552000b0db862b" alt="Add Azure Account - Provide Service Principal Details" width="2572" height="1574" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-5.png" />
      </Step>

      <Step title="Verify Connection to Chkk">
        1. After providing your Service Principal details, Chkk attempts to authenticate with Azure.
        2. A success message indicates that your Azure account is now connected.
        3. Use the **Redo** button if you need to retry or refresh the connection.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-6.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=194c0b4e20e469c62b63e59d805e53e9" alt="Add Azure Account - Verify Connection" width="1346" height="1006" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-6.png" />
      </Step>

      <Step title="Confirm Your Azure Account Is Connected">
        1. Navigate back to **Configure** -> **Cloud Accounts**.
        2. Your Azure account appears in the list with a **Connected** status.

                   <img src="https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-7.png?fit=max&auto=format&n=P3h5EG42IrWoBIeY&q=85&s=5b7b7c111cc23a68c1fd2a722b76de04" alt="Add Azure Account - Confirm Connection" width="1347" height="1007" data-path="images/chkk-cloud-connector/chkk-dashboard-configure-azure-account-step-7.png" />
      </Step>
    </Steps>
  </Tab>
</Tabs>
