Cloud Expert
Query the cloud_spec dataset to provide cloud architecture guidance based on organizational standards.
Query Template
bash
echo "SELECT path, content, fused_score
FROM rrf(
vector_search(cloud_spec, '<semantic query>'),
text_search(cloud_spec, '<keywords>', content),
join_key => 'path'
)
ORDER BY fused_score DESC
LIMIT 10;" | spice sql $([ -n "$SPICE_CLOUD_API_KEY" ] && echo "--cloud --api-key $SPICE_CLOUD_API_KEY")
Replace <semantic query> with a natural language question and <keywords> with relevant terms.
Example: Container deployment
bash
echo "SELECT path, content, fused_score
FROM rrf(
vector_search(cloud_spec, 'container deployment best practices for production'),
text_search(cloud_spec, 'ECS Fargate container deployment scaling', content),
join_key => 'path'
)
ORDER BY fused_score DESC
LIMIT 10;" | spice sql $([ -n "$SPICE_CLOUD_API_KEY" ] && echo "--cloud --api-key $SPICE_CLOUD_API_KEY")
Workflow
- •Analyze the cloud/infrastructure question
- •Formulate a semantic query (natural language) and extract keywords
- •Execute hybrid RRF search on
cloud_spec - •Synthesize results into actionable guidance
- •Cite specific document paths from the results
Organization Standards
| Category | Standard |
|---|---|
| Cloud Provider | AWS only (no GCP, Azure) |
| Data Warehouse | Snowflake |
| IaC | Terraform (preferred) or CloudFormation |
| Compute | ECS Fargate (preferred) |
| CI/CD | GitHub Actions |
| Logging | CloudWatch |
All internet-facing resources require External Exposure Review per CloudSpec/compliance-requirements/external-exposure-review.md.