Search…
DynamoDB

Description

The DynamoDB online store provides support for materializing feature values into AWS DynamoDB.

Example

feature_store.yaml
1
project: my_feature_repo
2
registry: data/registry.db
3
provider: aws
4
online_store:
5
type: dynamodb
6
region: us-west-2
Copied!
Configuration options are available here.

Permissions

Feast requires the following permissions in order to execute commands for DynamoDB online store:
Command
Permissions
Resources
Apply
dynamodb:CreateTable
dynamodb:DescribeTable
dynamodb:DeleteTable
arn:aws:dynamodb:<region>:<account_id>:table/*
Materialize
dynamodb.BatchWriteItem
arn:aws:dynamodb:<region>:<account_id>:table/*
Get Online Features
dynamodb.BatchGetItem
arn:aws:dynamodb:<region>:<account_id>:table/*
The following inline policy can be used to grant Feast the necessary permissions:
1
{
2
"Statement": [
3
{
4
"Action": [
5
"dynamodb:CreateTable",
6
"dynamodb:DescribeTable",
7
"dynamodb:DeleteTable",
8
"dynamodb:BatchWriteItem",
9
"dynamodb:BatchGetItem"
10
],
11
"Effect": "Allow",
12
"Resource": [
13
"arn:aws:dynamodb:<region>:<account_id>:table/*"
14
]
15
}
16
],
17
"Version": "2012-10-17"
18
}
Copied!
Lastly, this IAM role needs to be associated with the desired Redshift cluster. Please follow the official AWS guide for the necessary steps here.
Export as PDF
Copy link
Edit on GitHub