Thread
#prefect-community
    Patrick

    Patrick

    1 year ago
    Hey all, we’re new to Prefect (though I did maintain an Airflow cluster for several years, in a previous job), and have some questions about what idioms to adopt. In particular, it appears (https://prefect-community.slack.com/archives/CL09KU1K7/p1602603712337700?thread_ts=1602244141.206600, https://github.com/PrefectHQ/prefect/issues/3368) that
    RunConfig
    is slowly taking the place of
    Environment
    as the primary abstraction for specifying execution environments, though it’s still marked experimental. Does anyone, especially longtime users and/or maintainers, have any general advice on which to use if just getting started? I’d like to be using Prefect for “production” work within a few weeks, so a somewhat stable API would be grand. OTOH, we don’t want to adopt conventions whose obsolescence is already planned. Also, we’re an AWS shop. Thanks in advance!
    Jenny

    Jenny

    1 year ago
    Thanks for the question @Patrick - I'm going to double check with the core team on what they recommend.
    Patrick

    Patrick

    1 year ago
    Thanks, appreciate that!
    Jenny

    Jenny

    1 year ago
    Hi @Patrick - A bit more information that will hopefully help you make your decision: We'll support Environments for quite a long time as we'll want to give users time to migrate to RunConfig.  So environments are safe, with the caveat that we won’t be introducing any new exciting features to the environments interface. On the other hand, RunConfigs work right now and will be updated in the future. We expect to update the documentation around them later this week.