Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Snowflake is cloud-based data storage and analytics service. This guide explains how to add Snowflake integration to Cloudaware.

...

Table of Contents
minLevel1
maxLevel7

...

Prerequsites

...

  1. Create a custom role, e.g. READ_ONLY.

...

  1. Create a user, e.g. CLOUDAWARE, and assign the READ_ONLY role by default.

    Code Block
    create user CLOUDAWARE default_role=READ_ONLY

...

  1. Provide the role with access to Warehouse*:

    Code Block
    grant usage on warehouse <warehouse_name> to role READ_ONLY

*Note that Cloudaware will only collect the metadata of objects that the to which access has been granted to. Assign the permissions below depending on the preferred level of access:

...

GRANT MONITOR ON PIPE <database_name>.<schema_name>.<pipe_name> TO READ_ONLY
GRANT MONITOR ON FUTURE PIPES IN DATABASE <database_name> TO READ_ONLY

...

Add Snowflake

...

account

...

  1. Log in to

...

  1. Cloudaware account → Admin.

...

  1. Find Snowflake in the list of cloud integrations

...

  1. . Click +Add.

...

  1. Fill out the form:

...


  1. WHERE

...

  1. Account ID - Snowflake account ID (check

...

  1. how to

...

  1. find account

...

  1. ID here)
    Username - name of the user created for this integration

...

  1. , e.g. CLOUDAWARE

...


  1. In 'Select Certificate': click +CREATE NEW. Enter a meaningful name and click +GENERATE to add a new KeyPair

...

  1. .
    In 'Next Step': copy the command. Run the command in Snowflake to change the user's rsa_public_key.

...

  1. In 'Warehouse': click GET WAREHOUSES. Select

...

  1. a warehouse from the list

...

  1. .

    Click Save.

...

  1. The green light in 'Status' means that Snowflake integration has been successfully configured. If there is a red light, please contact support@cloudaware.com.

...

  1. To view Snowflake-related data, go to Cloudaware CMDB Navigator

...

  1. . Select SNOWFLAKE in the menu on the left:

List of Snowflake

...

objects

Cloudaware supports the following Snowflake objects:

Snowflake Account
Snowflake Database
Snowflake Integration
Snowflake Integration Location
Snowflake Pipe
Snowflake Role
Snowflake Schema
Snowflake Stage
Snowflake Table
Snowflake User
Snowflake User Role Link
Snowflake View
Snowflake Warehouse