Comment on page
Deploy a feature store
The Feast CLI can be used to deploy a feature store to your infrastructure, spinning up any necessary persistent resources like buckets or tables in data stores. The deployment target and effects depend on the
providerthat has been configured in your feature_store.yaml file, as well as the feature definitions found in your feature repository.
To have Feast deploy your infrastructure, run
feast applyfrom your command line while inside a feature repository:
# Processing example.py as example
Depending on whether the feature repository is configured to use a
localprovider or one of the cloud providers like
AWS, it may take from a couple of seconds to a minute to run to completion.
At this point, no data has been materialized to your online store. Feast apply simply registers the feature definitions with Feast and spins up any necessary infrastructure such as tables. To load data into the online store, run
feast materialize. See Load data into the online store for more details.
If you need to clean up the infrastructure created by
feast apply, use the
teardownis an irreversible command and will remove all feature store infrastructure. Proceed with caution!