Whitelisting ALTR's IP Addresses
ALTR must be able to reach Snowflake over the internet to apply and enforce policy. If your Snowflake account restricts inbound IP traffic using network policies, create the service user first, then create and assign a network rule whitelisting ALTR’s IP addresses to that service user, before connecting a Snowflake data source. ALTR’s IP addresses are:
44.203.133.160/283.145.219.176/2835.89.45.128/28
Create a Network Policy for ALTR
Section titled “Create a Network Policy for ALTR”To create a network policy for ALTR:
-
Verify you are using the
ACCOUNTADMINorSECURITYADMINrole.USE ROLE ACCOUNTADMIN; -
Create a database and schema to house the network rule. Skip this step if you want to use an existing database and schema.
CREATE DATABASE IF NOT EXISTS ALTR_DSAAS_DB;CREATE SCHEMA IF NOT EXISTS ALTR_DSAAS_DB.NETWORK_RULE_SCHEMA; -
Create a network rule listing ALTR’s IP addresses. Replace
ALTR_DSAAS_DB.NETWORK_RULE_SCHEMAif you’re using a different database and schema.CREATE NETWORK RULE ALTR_DSAAS_DB.NETWORK_RULE_SCHEMA.ALLOW_ALTR_ACCESSMODE = INGRESSTYPE = IPV4VALUE_LIST = ('44.203.133.160/28', '3.145.219.176/28', '35.89.45.128/28'); -
Create a network policy that allows the network rule. Replace
ALTR_DSAAS_DB.NETWORK_RULE_SCHEMAif you used a different database and schema in step 3.CREATE NETWORK POLICY ALLOW_ALTR_ACCESSALLOWED_NETWORK_RULE_LIST = ('ALTR_DSAAS_DB.NETWORK_RULE_SCHEMA.ALLOW_ALTR_ACCESS'); -
Assign the network policy to ALTR’s service user. Replace
PC_ALTR_USERwith your service user’s name —ALTR_SERVICE_USERfor the default manual setup, or your custom name.ALTER USER PC_ALTR_USER SET NETWORK_POLICY = ALLOW_ALTR_ACCESS;