This directory contains ready-to-use Terraform examples for deploying Zilliz Cloud Bring Your Own Cloud (BYOC) projects across different cloud providers and deployment scenarios.
Each example in this directory demonstrates a complete deployment scenario with:
- Pre-configured Terraform modules
- Example variable files
- Step-by-step deployment guides
- Output examples
Customer-managed VPC with full customization
Enterprise-grade deployment with customer-managed infrastructure:
- Customer-managed VPC, security groups, and subnets
- Customizable resource names (buckets, EKS clusters, IAM roles)
- Integration with existing ECR repositories
- Custom tags support
- VPC PrivateLink endpoint management
Best for: Enterprise deployments requiring compliance, customization, and full control over infrastructure.
Key Features:
- Customer-managed VPC and networking
- EKS cluster and node group management
- S3 bucket customization
- IAM role name customization
- ECR integration
- PrivateLink endpoint configuration
- Comprehensive IAM permissions documentation
Documentation:
Automated full-stack deployment
Creates all required AWS resources automatically:
- VPC, subnets, and security groups
- S3 buckets for Milvus storage
- IAM roles and policies (cross-account, EKS, storage)
- Zilliz Cloud BYOC project resource
Best for: Quick deployments, testing environments, and proof-of-concept projects.
Key Features:
- Fully automated resource provisioning
- Instance configuration (core, fundamental, search, index nodes)
- Optional PrivateLink support
- Instance auto-scaling configuration
Documentation: README
Deployment with existing infrastructure
Uses your existing AWS resources:
- Existing VPC and subnets
- Existing security groups
- Manual IAM role configuration
Best for: Production environments with existing infrastructure, compliance requirements, or when you need to reuse existing resources.
Key Features:
- Minimal resource creation
- Integration with existing VPC
- Manual External ID configuration
- Optional PrivateLink support
Documentation: README
Google Cloud Platform deployment
Deploys Zilliz BYOC on Google Cloud Platform:
- VPC and subnet configuration
- GCS buckets for storage
- GKE cluster setup
- IAM service accounts
- Private Service Connect (optional)
Best for: Organizations using Google Cloud Platform infrastructure.
Key Features:
- GCP VPC and subnet management
- GCS bucket creation
- GKE cluster configuration
- Service account management
- Private Service Connect support
- Customizable resource names
Documentation: README
Azure-based BYOC-I deployment
Azure deployment with customer-managed resources.
Status: Coming soon
Best for: Organizations using Microsoft Azure infrastructure.
Documentation: README
See [AWS Requirements.md](./AWS Requirements.md) for detailed AWS deployment requirements including:
- VPC high availability best practices
- Private EKS cluster support
- Security group configurations
- Resource tagging requirements
All examples require:
-
Terraform CLI (>= 1.0.0)
-
Cloud Provider Credentials
- AWS: Configure using AWS CLI
- GCP: Configure using
gcloud auth application-default login - Azure: Configure using
az login
-
Zilliz Cloud Account
- Obtain API key from Zilliz Cloud console
- Ensure BYOC organization access
-
Required Permissions
- See example-specific README files for detailed permission requirements
- AWS: See IAM Permissions Guide
- Choose an example based on your cloud provider and requirements
- Navigate to the example directory:
cd examples/aws-project-byoc-I # Example
- Review the README for detailed instructions
- Configure variables:
- Copy sample variable files if available
- Edit with your specific values
- Deploy:
terraform init terraform plan terraform apply
Each example directory contains:
example-name/
├── README.md # Detailed deployment guide
├── main.tf # Main Terraform configuration
├── variables.tf # Variable definitions
├── provider.tf # Provider configuration (if applicable)
├── terraform.tfvars.json # Example variable values
└── terraform-permissions/ # IAM policy templates (if applicable)
└── README.md # Permissions documentation
- Main Project README
- Terraform Modules
- Zilliz Cloud Documentation
- Terraform AWS Provider
- Zilliz Cloud Terraform Provider
| Example | Cloud | Infrastructure | Use Case |
|---|---|---|---|
| AWS BYOC-I | AWS | Customer-managed | Enterprise, compliance, customization |
| AWS BYOC Standard | AWS | Automated | Quick deployments, testing |
| AWS BYOC Manual | AWS | Existing | Production with existing resources |
| GCP BYOC Manual | GCP | Customer-managed | GCP infrastructure |
| Azure BYOC-I | Azure | Customer-managed | Azure infrastructure |
For issues or questions:
- Check the example-specific README
- Review [AWS Requirements](./AWS Requirements.md)
- Consult Zilliz Cloud Documentation
- Contact Zilliz Support with specific error messages