Integrating Cloud Accounts

This document provides a step-by-step guide for integrating cloud accounts with Facets. Amazon, Azure, and Google Cloud Platform (GCP) are the three types of cloud accounts that can be integrated with Facets.

Adding a Cloud Account

Navigate to Settings > Account Management. All the accounts in Facets will be displayed here. Here, you will also be able to add new VCS and Cloud accounts.

Microsoft Azure

  1. From the Account Management page, click Azure.

  2. Mention the Account Name, Subscription ID, Tenant ID, Client ID, and Client Secret.
    Refer to the following documents for more details:

    1. Subscription ID, Tenant ID
    2. Client ID, Client Secret
  3. Now, click Add Account.

Click on the image to expand

Click on the image to expand

You have successfully added a new Azure account to the Facets control plane.

Google Cloud Platform (GCP)

  1. From the Account Management page, click GCP.

  2. Mention the Account Name, Service account key, and Project ID.
    Refer to the following documents for more details:

    1. Service account key
    2. Project ID
  3. Click Add Account.

Click on the image to expand

Click on the image to expand

You have successfully added a new Google Cloud Platform account to the Facets control plane.

Amazon Web Services (AWS)

  1. From the Account Management page, click AWS.
  2. Mention the Account Name.
  3. The External ID will be automatically generated and will be pre-filled.
  4. To get the IAM Role, click the CF template link from the modal.
    1. Log in to the AWS console, mention the required details, and click Create Stack.
    2. In the Cloud Formation window that appears, select the Output tab and copy the Role ARN Value.
  5. Paste the Role ARN Value as the IAM Role and click Add Account.
Click on the image to expand

Click on the image to expand

You have successfully added a new AWS account to the Facets control plane.

Kubernetes

Note: Before proceeding, download the kubeconfig file from your Kubernetes cluster. It contains the crucial details that we will be discussing, providing you with all the necessary information for the next steps.

  1. From the Account Management page, click Kubernetes.
  2. Using the downloaded Kubernetes file, mention the Account Name, Host, Certificate Authority and Token.
    1. Account Name: The name of the account that has to be displayed in Facets.
    2. Host: The URL or endpoint of the Kubernetes API server, which is the entry point for all cluster interactions.
    3. Certificate Authority: The path to the certificate authority (CA) file used to verify the authenticity of the Kubernetes API server.
    4. Token: An authentication bearer token.
  3. Click Add Account.
Click on the image to expand

Click on the image to expand

You have successfully added a new Kubernetes account to the Facets control plane.