What is the most straightforward example of creati...
# prefect-server
b
What is the most straightforward example of creating your first simple cloud agent that can run a cloud registered flow without any help from my laptop?
a
Are you asking: what type of agent can you set up quickly to run your workflows on remote infrastructure rather than agent running on your laptop? If so, it’s hard to give a clear single answer since it depends on what infrastructure/cloud provider your company/team is using. All agents are straightforward to set up and can be started using “`prefect agent TYPE start --label YOUR_LABEL -k YOUR_API_KEY`”. You could e.g. spin up a small EC2 instance with a local or Docker agent to get started.
b
Gotcha. Bridging that gap would be very helpful for a newbie looking to stand something up.
a
what is your infrastructure? we have agent templates on Azure
b
Google Cloud
a
in that case you could e.g. spin up a KubernetesAgent on GKE using:
Copy code
prefect agent kubernetes install -k API_KEY | kubectl apply --namespace=my-namespace -f -