Hey guys, I started using metaflow a couple days a...
# ask-metaflow
m
Hey guys, I started using metaflow a couple days ago. I understood the concept of flow and i have created one. I am kinda confused about the deployment part. I used the cloudformation to deploy it over aws. Now every time I run the flow in my IDE, I get the result over metaflow UI which is hosted on AWS. Why does it always store it over aws hosted metaflow UI. I have tried creating a new project and still all the flow data goes to UI. Did i do something wrong during deployment?
1
v
hi Kapil! You should see all runs in the UI. Metaflow keeps track of everything via services deployed on AWS
m
okay so when i run my model training through a flow, does that happen over aws or on my local?
v
it happens locally but artifacts (everything assigned to
self.
) and metadata about execution gets stored in your AWS account
m
got it. thank you
👍 1
v
if you want to use it fully locally, you can do it so by configuring a local mode by executing this command:
Copy code
echo '{}' >  ~/.metaflowconfig/config_local.json
after that, you can set an environment variable
Copy code
export METAFLOW_PROFILE=local
and after that, nothing will get stored in AWS
m
okay nice. this is what i wanted. How would I setup the UI for this over local?
v
the UI needs a database as a backend, so it doesn't work with
METAFLOW_PROFILE=local
that just uses local files
you can use the Client API, the CLI, and cards to view and access results even without UI
👍 1