Skip to content

stdapi-ai/samples

Repository files navigation

stdapi.ai Deployment Examples

Production-ready Terraform examples for deploying stdapi.ai on AWS. Each example provides complete infrastructure-as-code following AWS best practices for security, scalability, and cost optimization.

🎯 What is stdapi.ai?

stdapi.ai is an OpenAI & Anthropic compatible API gateway for AWS Bedrock and AI services. Works out of the box with any app or tool that supports the OpenAI or Anthropic APIs—LangChain, Continue.dev, Open WebUI, n8n, and 1000+ tools.

  • 🧠 80+ Models - Claude 4.6+, Nova 2, Llama 4, DeepSeek v3.2, Stable Diffusion, and more
  • 🔒 Enterprise Compliance - Data sovereignty, GDPR/HIPAA/FedRAMP ready, AWS region controls
  • 💰 AWS Direct Pricing - Pay-per-use with no subscriptions or markups
  • Advanced Features - Reasoning modes, prompt caching, guardrails, multi-region access

📚 Complete Documentation • 🛒 AWS Marketplace


🚀 Available Examples

Single-region production deployment with enterprise security and monitoring.

Perfect for getting started with production workloads. Includes everything needed for secure, scalable deployment in a single AWS region.

Key Features:

  • ✅ HTTPS with auto-generated ACM certificate & Route53 DNS
  • ✅ AWS WAF with rate limiting and IP filtering
  • ✅ Auto-scaling (CPU, Memory, Request-based)
  • ✅ CloudWatch monitoring & intelligent alarms
  • ✅ API key authentication with AWS Systems Manager
  • ✅ KMS encryption for all data at rest

Best for: Most production workloads, quick deployment, single-region requirements


EU multi-region deployment with GDPR compliance and data residency controls.

Enterprise-grade deployment ensuring all data processing stays within EU regions for GDPR compliance. Supports multi-region failover across EU zones.

Key Features:

  • ✅ Multi-region Bedrock access (EU regions only: eu-west-1, eu-west-3, eu-central-1)
  • ✅ Regional S3 buckets for multimodal operations
  • ✅ Data residency controls for compliance
  • ✅ All production features (HTTPS, WAF, monitoring)
  • ✅ GDPR-ready infrastructure

Best for: Enterprise deployments, GDPR compliance, EU data sovereignty requirements


🇺🇸 Production US

US multi-region deployment for maximum availability and performance.

Enterprise deployment leveraging multiple US regions for optimal performance and availability. Automatic cross-region failover for high availability.

Key Features:

  • ✅ Multi-region Bedrock access (US regions: us-east-1, us-west-2, us-east-2, us-west-1)
  • ✅ Regional S3 buckets for optimal performance
  • ✅ Cross-region failover and load balancing
  • ✅ All production features (HTTPS, WAF, monitoring)
  • ✅ Maximum US availability

Best for: Enterprise deployments, US data residency, high availability requirements


Complete AI chat platform with ChatGPT-like interface, web search, RAG, and multimodal capabilities.

Full-featured deployment of Open WebUI powered by stdapi.ai. Includes web search, document processing, vector storage, and all the features you'd expect from a modern AI chat interface.

Key Features:

  • Open WebUI - Feature-rich ChatGPT-like interface
  • Web Search - SearXNG integration for real-time information
  • Web Scraping - Playwright for content extraction
  • RAG Ready - Aurora PostgreSQL with pgvector for semantic search
  • Caching - Valkey (Redis-compatible) for performance
  • Multimodal - TTS, STT, image generation & editing, document processing

Best for: Private ChatGPT alternative, team AI assistant, complete AI chat platform


📊 Quick Comparison

Choose the example that best matches your requirements:

Example Deployment Time Regions Compliance Best For
🏢 Production ~10 minutes Single region Standard AWS Most workloads, quick start
🇪🇺 Production GDPR ~15 minutes Multi-region (EU) GDPR, EU data residency EU enterprises, GDPR compliance
🇺🇸 Production US ~15 minutes Multi-region (US) US data residency US enterprises, high availability
💬 Open WebUI ~20 minutes Single region Standard AWS Complete chat platform, teams

🚦 Getting Started

Prerequisites

Before deploying any example, you'll need:

  1. 📦 AWS Marketplace Subscription - Subscribe to stdapi.ai

    • Free trial available
    • Provides access to hardened, production-ready container images
    • Includes commercial license for proprietary use
  2. 🔧 Terraform or OpenTofu - Install Terraform or OpenTofu >= 1.5

  3. 🔑 AWS Credentials - Configure AWS credentials with appropriate permissions

  4. 🌐 Domain Name (Production examples only) - A domain managed in Route53 for HTTPS setup

Deployment Steps

  1. Choose your example based on your requirements (see comparison table above)
  2. Clone this repository (or copy the example directory)
    git clone https://github.com/stdapi-ai/stdapi.ai-examples.git
    cd stdapi.ai-examples
  3. Navigate to the example directory
    cd getting_started_production  # or your chosen example
  4. Follow the README in that directory for detailed deployment instructions

What You'll Get

All examples include:

  • ✅ Complete Terraform configuration with sensible defaults
  • ✅ Detailed README with step-by-step instructions
  • ✅ Infrastructure following AWS best practices

📚 Documentation & Resources

Official Documentation

Product Information

Community


💡 Need Help?

Support Options

Common Questions

Q: Can I use this in production? A: Yes! These examples are production-ready with enterprise security, monitoring, and compliance features.

Q: Which example should I start with? A: Start with Production for most use cases. Choose Production GDPR or Production US if you need multi-region or specific compliance requirements.

Q: Do I need a domain name? A: Recommended for production. The ALB provides a DNS name you can use without a custom domain for testing.


📜 License

These deployment examples are licensed under the MIT License - see LICENSE for details.

You are free to use, modify, and distribute these examples for any purpose, including commercial use.

Note: The stdapi.ai container image requires an AWS Marketplace subscription and is licensed separately.


Ready to Deploy?

View ExamplesDocumentationAWS Marketplace

Made with ❤️ for the AWS and AI community

About

stdapi.ai deployment samples

Topics

Resources

License

Stars

Watchers

Forks

Contributors