Skip to content

ab1355/371gpt-infrastructure

Repository files navigation

371GPT Infrastructure

This repository contains Terraform configuration for deploying 371GPT infrastructure on OVH Cloud.

System Overview

371GPT is a scalable, ethical AI orchestration system for non-coders based on the DSF (Discover, Space, Flow) model. This system enables non-technical users to harness the power of AI agents through intuitive interfaces and automated deployment.

This infrastructure repository is a component of the larger 371GPT system, focusing specifically on the cloud infrastructure deployment using Terraform.

Key Features

  • Accessibility: No-code interfaces for system configuration and management
  • Scalability: Microservice architecture with dynamic agent creation
  • Ethics: Built-in guardrails and monitoring for responsible AI use
  • Robustness: Self-healing error handling and comprehensive logging

Architecture Components

  • 371GPT Core: Main AI orchestration service with multiple specialized agents
  • XPipe Server: Data pipeline management for knowledge processing
  • Supabase: Database with vector capabilities (replacing PostgreSQL + MongoDB)
  • Kespa: Automation service for workflow orchestration

Documentation

Infrastructure Documentation

Main System Documentation

For more comprehensive information about the 371GPT system:

Prerequisites

  • Terraform (v1.0.0+)
  • OVH Cloud account
  • OpenStack credentials for OVH
  • SSH key pair configured in OVH Cloud

Setup Instructions

  1. Clone this repository:

    git clone https://github.com/ab1355/371gpt-infrastructure.git
    cd 371gpt-infrastructure
  2. Copy the example variables file and add your credentials:

    cp terraform.tfvars.example terraform.tfvars
    # Edit terraform.tfvars with your credentials
  3. Initialize Terraform:

    terraform init
  4. Preview the changes:

    terraform plan
  5. Apply the configuration:

    terraform apply

Environment Variables

For Windows, run the provided setup script:

setup-env.bat

For Linux/Mac, source the OpenStack RC file:

source openrc.sh

Security Configurations

The infrastructure includes:

  • Dedicated security groups with properly configured firewall rules
  • Internal network for communication between services
  • Limited external access to necessary ports only
  • Role-based access control
  • Comprehensive audit logging

Resource Specifications

  • GPT Core: s1-8 instance (8 vCPUs, 16GB RAM)
  • Supabase: s1-8 instance with 200GB storage
  • XPipe: s1-4 instance (4 vCPUs, 8GB RAM)
  • Kespa: s1-4 instance (4 vCPUs, 8GB RAM) with 50GB storage

Maintenance

To update the infrastructure:

terraform plan
terraform apply

To tear down the infrastructure:

terraform destroy

Integration with Full System

This infrastructure repository provides the cloud resources needed to run the complete 371GPT system. After deploying this infrastructure, you'll need to:

  1. Deploy the application services defined in the main 371GPT repository
  2. Configure the connections between services as defined in the architecture documentation
  3. Set up the proper networking and security rules

Related Documentation

For more comprehensive information about the 371GPT system:

Business Implementation

For information on implementing this system for business purposes, refer to:

Monitoring & Management

Access IP addresses for each service will be displayed in the outputs after successful deployment.

About

Terraform configuration for 371GPT infrastructure deployment on OVH Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published