Do prefect have a recommended instance type for th...
# ask-community
b
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...
k
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
It's working well so far!
Agent is running happily
I haven't run any flows yet, though.
b
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
Oh yeah, this is with the caveat that I'm mostly gonna use Prefect to trigger Cloud Functions and Cloud Run scripts for now.
b
Ah, right. Different use cases then...
e
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 🙂
j
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)