Thread
#prefect-community
    Ben Muller

    Ben Muller

    1 year ago
    Do prefect have a recommended instance type for the agent in AWS? Is a t2.micro big enough? It's just listening for jobs and sending off task definitions, right? That shouldn't require much computational power...
    Kevin Kho

    Kevin Kho

    1 year ago
    Hey @Ben Muller, @matta has the same question a couple of messages up. Let’s see what he reports back. He’s trying 2GB. I think a micro might work but am not 100% sure.
    m

    matta

    1 year ago
    It's working well so far!
    Agent is running happily
    I haven't run any flows yet, though.
    Ben Muller

    Ben Muller

    1 year ago
    Yeah, I guess it depends how you use it. If the agent is on a micro, it's probably preferable to run the flows in another cluster with heavier compute?
    Because a micro will take ages to pull the image and have limited memory too
    Let me know how you go @matta
    m

    matta

    1 year ago
    Oh yeah, this is with the caveat that I'm mostly gonna use Prefect to trigger Cloud Functions and Cloud Run scripts for now.
    Ben Muller

    Ben Muller

    1 year ago
    Ah, right. Different use cases then...
    Emma Rizzi

    Emma Rizzi

    1 year ago
    Hi, I deployed an AWS Agent on a micro instance to launch tasks on a ECS cluster it worked well, but I finally chose a bigger instance when I wanted to deploy Prefect Server + my labelling tool on the same instance, so just be careful if there are multitple things on the same instance 🙂
    Joël Luijmes

    Joël Luijmes

    1 year ago
    Our agent runs on GKE with limits of 500m cpu / 256Mi mem. I believe it’s not even coming close to utilization. Other services are similarly configured. Only apollo is given more resources (1000m/1500Mi limits)