Untitled topic
1–2 of 2 posts
Re: undefined
#2*Problem*: No programmatic access to AWS spot instance advisor data without web scraping.
*Solution*: - Single Go binary with embedded AWS data - Works offline - important for CI/CD - Implements MCP for AI assistant integration - No runtime dependencies
*Usage*: ```bash spotinfo --type="c5." --region=us-west-2 --sort=interruption ```
*Design choices*: - Data embedded via `go:embed` for offline use - Regex support for flexible instance matching - Human and machine readable outputs - Same binary serves CLI and MCP modes
*MCP integration*: ```json {"mcpServers": {"spotinfo": {"command": "spotinfo", "args": ["--mcp"]}}} ```
Enables natural language queries while maintaining data accuracy.
Code: https://github.com/alexei-led/spotinfo
What spot instance selection challenges haven't I considered? How could this better fit your automation workflows?