https://prefect.io logo
h

Hedgar

02/22/2022, 9:49 AM
Hey guys a quick question I intend to create a task that would use
awswrangler
to save my dataframe to s3. my environment is already
awscli
compliant, do I need to go through prefect Storage? Secondly if I'm doing all this with aws ec2 remote instance how do I activate my flow. Can I do on the command line:
python myfirstprefectflow.py
? Assuming I have already indicated a schedule in my flow code ? Or do I use crontab to schedule again 🤔. I would be glad if I could be pointed in the right direction on using aws ec2 to run prefect.
a

Anna Geller

02/22/2022, 10:17 AM
You always need storage for your flow when you deploy your flow to run in the backend e.g. on schedule. Scheduling and flow registration work the same way regardless of what agent do you use or where you run it. Check out those resources for more info: • https://docs.prefect.io/core/concepts/schedules.html#scheduleshttps://docs.prefect.io/orchestration/concepts/flows.html#registration
4 Views