Back to feed
Dev.to
Dev.to
6/24/2026
How I Deployed Hermes Agent on AWS

How I Deployed Hermes Agent on AWS

Short summary

Hermes Agent, an open-source AI agent from Nous Research, runs on AWS EC2 with zero inbound firewall rules by using Telegram long-polling and AWS SSM for access. The post details a three-stack CDK architecture that splits persistent data (EFS) from installation artifacts (EBS) to achieve ~$35/month while integrating Amazon Bedrock for inference via IAM roles.

  • Zero-inbound architecture using outbound-only connections (Telegram long-polling, AWS SSM Session Manager)
  • Storage split strategy: EFS for persistent agent state, EBS for venv/code to optimize EFS throughput costs
  • Three CDK stacks (Network, Storage, Compute) with complete code examples and cost/security trade-offs

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more