Creating External Functions on AWS

Snowflake documents two ways to create an external function on AWS:

  • Creating a Sample External Function Using an AWS CloudFormation Template.

    These instructions use a CloudFormation template to reduce the number of steps required to create the Lambda Function (remote service) and the API Gateway (proxy service).

    These instructions help you create your first external function quickly, but they skip steps that most users need when creating customized external functions.

  • Creating a Customizable External Function on AWS.

    These instructions describe how to create a Lambda Function (remote service) and an API Gateway (proxy service) by using the AWS user interface. The instructions include sample code for a remote service. You can use these instructions not only to build the sample external function supplied by Snowflake, but as a starting point for creating your own customized Lambda Function and API Gateway.

Many users, especially users who are still learning the AWS user interface, might want to follow the template-based instructions once to create their first external function, and then use the non-template instructions to create all subsequent external functions.

Users who are already comfortable with the AWS user interface might prefer to skip the template-based instructions, and follow the longer instructions that allow more customization.

Next Topics: