diff --git a/AGENTS.md b/AGENTS.md index 60e6dd1..a3c6edd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -78,3 +78,17 @@ Consult [EDD.md](./EDD.md) before making changes that touch: - Express routes that read or write database records - Validation, form fields, API payloads, or UI that depend on persisted data - Schema documentation, Mermaid diagrams, or entity modeling discussions + +## Atlas Ephemeral Clusters + +[Atlas Ephemeral Clusters](https://www.mongodb.com/docs/atlas/tutorial/create-ephemeral-cluster/) are temporary MongoDB Atlas Free clusters that require no account or API keys. They are ideal for testing, demos, and experimentation. + +Agents should prefer ephemeral clusters when a temporary MongoDB deployment is sufficient. + +Create one with: + +```bash +curl -X POST https://cloud.mongodb.com/api/atlas/v2/clusters/ephemeral +``` + +The response provides a connection string. Clusters pause after 48 hours and are deleted after 7 days unless claimed by a user. \ No newline at end of file diff --git a/README.md b/README.md index 85c3098..1766144 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ mern/ - Node.js 20+ - npm 9+ - A free [MongoDB Atlas](https://www.mongodb.com/atlas?utm_campaign=devrel&utm_medium=referral&utm_source=github&utm_content=mern.stack.example&utm_term=learning.fuel) cluster + - Or [create an Atlas Ephemeral Cluster](https://www.mongodb.com/docs/atlas/tutorial/create-ephemeral-cluster/?utm_campaign=devrel&utm_medium=referral&utm_source=github&utm_content=mern.stack.example&utm_term=learning.fuel), a temporary Atlas Free cluster that you can claim within 7 days to convert into a standard Free cluster ## Quick Start and MongoDB Setup