I just successfully setup AWS support using the cl...
# ask-metaflow
c
I just successfully setup AWS support using the cloudformation template. Everything seems to work so far. However I've noticed that it seems to take 10-20 seconds to start my flows.
Copy code
Metaflow 2.7.19 executing HelloAWSFlow for user:mike
Validating your flow...
    The graph looks good!
Running pylint...
    Pylint is happy!
It sits here for 20secs then works as expected. Not a big problem but wondering if there is anything I can configure to make it faster.
1
a
is this flow running on Batch or just locally?
just it run quicker if you specify
--metadata=local
or
--datastore=local
?
c
Just locally but using the service
a
it could very well be service latency - highly dependent on a variety of factors like your wifi 😞
c
This is running in an EC2 instance.
It's consistently 20 seconds where does the service run? Does it need to spin up?
s
the service is running as a fargate task
you should be able to find it in the ec2 console
c
Oh thats what that is. Cool thanks. If it gets worse I'll ping you again.
👍 1
a
Are you running the flow in the root directory?