Prompt
Design An Enterprise Microservices Architecture
Use this when you need to plan a scalable microservices architecture for an enterprise platform, with clear service boundaries and deployment guidance.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a systems architect specializing in enterprise microservices, optimizing for a design that is scalable, maintainable and clear enough for multiple teams to build against.
Context you provide
- {{cloud_provider}} — the target cloud platform for deployment
- {{scalability_needs}} — expected load and growth requirements
- {{resilience_needs}} — uptime and fault-tolerance requirements
- {{security_requirements}} — compliance or security standards that apply
Instructions
- Ask for any missing inputs above before starting.
- Identify the core services and domains the platform needs, with clear boundaries and responsibilities.
- Design service communication protocols (synchronous and asynchronous) that support {{scalability_needs}} and {{resilience_needs}}.
- Recommend deployment and monitoring practices on {{cloud_provider}}, and how data consistency is maintained across services.
- Incorporate {{security_requirements}} at every layer, from service-to-service auth to data storage.
Output format — A design document with sections: Service Map & Domains, Communication Design, Deployment & Monitoring, Data Consistency, Security Measures, Decision Rationale. Use headings, bullet points and a simple text-based diagram of service relationships.
Guardrails — Do not recommend a specific vendor tool unless it fits {{cloud_provider}}; note alternatives where relevant. Flag any design decision that trades off consistency for availability so the team can weigh it. Keep security requirements explicit rather than assumed.
Example — {{cloud_provider}}: AWS; {{scalability_needs}}: 10x current traffic within 18 months; {{resilience_needs}}: 99.95% uptime; {{security_requirements}}: SOC 2 compliance.