Where to Run an Agent on AWS: Lambda, Fargate, Step Functions or AgentCore
Four reasonable homes for an agent on AWS, chosen mainly by how long a session runs, whether it holds connections, and how much of the runtime you want to operate. A decision table, the limits that force the choice, and the IAM each one needs.
Read Article