Skip to content

Private Cloud Hosting / Amazon Web Services

Deploy PyAI inside your
AWS VPC.

Keep voice audio, GPU inference, and encryption keys inside your own Amazon VPC. Deploy our Terraform module and digest-pinned Helm chart onto Amazon EKS in any AWS region (US, EU, Canada, Australia, or India).
Kubernetes

Amazon EKS (1.31+) with separate CPU and dedicated GPU managed node groups

Private ingress

Internal AWS NLB and AWS PrivateLink (zero public endpoint required in Tier 2)

Key management

Customer-managed AWS KMS key with automatic rotation for EKS secrets, RDS, Redis, and EBS

State layer

Amazon ElastiCache Redis 7 Multi-AZ with encryption at rest and in transit; Amazon RDS PostgreSQL 16 Multi-AZ (Tier 2 Air-Gapped) fronted by PgBouncer

Actual infrastructure objects

Provision with Terraform, deploy with Helm.

infra/byoc/aws-vpcImmutable SHA-256 digest pinned
module "pyai_byoc_aws" {
  source             = "./infra/byoc/aws-vpc"
  cell_name          = "pyai-prod-us"
  vpc_id             = "vpc-0123456789abcdef0"
  private_subnet_ids = ["subnet-aaa", "subnet-bbb"]
  deployment_tier    = "airgapped" # or "hybrid"
  gpu_enabled        = true
  gpu_instance_types = ["g6.2xlarge"]
}
infra/helm/pyai-cell/values-aws.yamlImmutable SHA-256 digest pinned
helm upgrade --install pyai infra/helm/pyai-cell \
  --namespace pyai --create-namespace \
  -f infra/helm/pyai-cell/values-aws.yaml \
  --set registry=123456789012.dkr.ecr.us-east-1.amazonaws.com/pyai

Zero audio leaves your Amazon VPC

Envoy ingress, stateless CPU adapters, Live Interpretation, and GPU inference pods run inside your private subnets. Mirror container images into your private Amazon ECR registry.

Customer-managed AWS KMS everywhere

One KMS key encrypts EKS Kubernetes secrets, ElastiCache Redis, EBS volumes, and (in Tier 2) Multi-AZ RDS Postgres 16. Revoking key access stays 100% under your IAM policies.

Built to scale past 5,000-10,000 RPM on EKS

Transaction-mode PgBouncer pools 2,000 app connections onto 80-100 Postgres connections, while HorizontalPodAutoscalers scale gateway and adapter pods across availability zones.

Supported countries on AWS VPC

Deploy in US, EU, Canada, Australia, or India.

QUESTIONS, ANSWERED

AWS VPC deployment FAQ

Can we mirror PyAI container images into our private Amazon ECR?

Yes. Every image in the PyAI Cell Helm chart is referenced by immutable SHA-256 digest and supports overriding values.registry to your private ECR repository.

Does AWS VPC hosting work in air-gapped accounts with no NAT Gateway?

Yes. In Tier 2 Air-Gapped mode, EKS uses private endpoint access only, all images pull from VPC-endpoint ECR, and Postgres 16 + Redis HA run locally inside your private subnets.

Which AWS GPU instances can run PyAI voice engines?

The AWS Terraform module supports accelerated GPU node groups (g6, g6e, and p5 instance families) on EKS, or hybrid routing over WireGuard and mTLS to dedicated remote GPU pools when local GPU quota is constrained.

Can we deploy in multiple AWS regions like us-east-1, eu-central-1, and ap-south-1?

Yes. The exact same Terraform module and Helm chart deploy cleanly into US, EU, Canada, Australia, and India AWS regions.

How do we authenticate from our AWS microservices to a private PyAI Cell?

Your services call the internal NLB or PrivateLink endpoint using the exact same OpenAI-compatible SDKs and API key headers; only the base URL changes.

Run PyAI privately on AWS VPC.

Sandbox keys never bill. Fund a live key when you go to production.