Deploy AI-powered memory systems to GCP, AWS, or Azure in under 20 minutes
π― Quick Start β’ π Documentation β’ βοΈ Choose Cloud β’ π§ Features β’ π€ Contributing
MemCloud is a production-ready platform that enables one-click deployments of MemMachine instances across any major cloud provider. Built for the MemVerge hackathon and designed for enterprise adoption.
|
Deploy and manage MemMachine instances through an intuitive Next.js interface |
From zero to production in ~20 minutes with copy-paste commands |
Scale-to-zero support. Pay only for what you use. Starting at $15/month |
| Feature | Description |
|---|---|
| π Multi-Cloud | Deploy to GCP, AWS, or Azure with identical commands |
| π³ Custom Docker Image | Pre-built with PostgreSQL support (psycopg2 fix) |
| π Neo4j Aura Integration | No infrastructure management, just works |
| π Real-Time Monitoring | Track deployment status and instance health |
| π Production-Ready | Security, monitoring, backups included |
| π Elite Documentation | 25+ troubleshooting scenarios documented |
|
$15-30/month β‘ Fastest π― Easiest |
$45-65/month π’ Enterprise π Compliance |
$30-55/month πΌ Microsoft Shops π§ .NET Integration |
Not sure which to choose? β Cloud Comparison Guide
| Document | Purpose | Audience |
|---|---|---|
| README_DEPLOYMENT.md | π Start here - Overview & quick start | Everyone |
| DEPLOYMENT_MASTER_INDEX.md | βοΈ Cloud comparison & decision guide | Decision makers |
| DEPLOY_GCP.md | π΅ Step-by-step GCP deployment | GCP users |
| DEPLOY_AWS.md | π Step-by-step AWS deployment | AWS users |
| DEPLOY_AZURE.md | π· Step-by-step Azure deployment | Azure users |
| TROUBLESHOOTING_RUNBOOK.md | π Error reference (25+ scenarios) | When things break |
| SECURITY.md | π Security best practices | DevOps & Security |
| DIRECTORY_STRUCTURE.md | π Repository organization | Contributors |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π User Browser β
βββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββ
β HTTPS
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π± Frontend Dashboard (Next.js) β
β β’ Instance Management β
β β’ Real-time Deployment Status β
βββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββ
β REST API
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β βοΈ Backend API (FastAPI) β
β β’ Deployment Orchestration β
β β’ Multi-Cloud Support β
βββββββ¬ββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββ
β β
β Orchestrates β Stores Metadata
βΌ βΌ
βββββββββββββββββββββββ ββββββββββββββββββββββββββββ
β π§ MemMachine β β ποΈ PostgreSQL β
β Instance β β Database β
β (Cloud Run/ β β β’ Instance tracking β
β Fargate/ACI) β β β’ User data β
β β β β’ API keys β
β + β ββββββββββββββββββββββββββββ
β π Neo4j Aura β
β (External SaaS) β
βββββββββββββββββββββββ
The game-changing discovery that took 6+ attempts to solve
MemMachine's official image lacks PostgreSQL support. We solved it:
# Install psycopg2 to the EXACT location where MemMachine expects it
RUN /usr/local/bin/python3 -m pip install --no-cache-dir \
--target=/app/.venv/lib/python3.12/site-packages \
psycopg2-binaryWhy this matters:
- β Works with Cloud SQL, RDS, Azure Database for PostgreSQL
- β Same image works across ALL clouds
- β No runtime installation (fast startup)
- β Production-tested and verified
π¦ Location: memmachine-docker/
π How to build the custom image
# For GCP
cd memmachine-docker
docker build -t gcr.io/$PROJECT_ID/memmachine-custom:latest .
docker push gcr.io/$PROJECT_ID/memmachine-custom:latest
# For AWS
docker build -t $AWS_ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/memmachine-custom:latest .
docker push $AWS_ACCOUNT_ID.dkr.ecr.$REGION.amazonaws.com/memmachine-custom:latest
# For Azure
docker build -t $ACR_LOGIN_SERVER/memmachine-custom:latest .
docker push $ACR_LOGIN_SERVER/memmachine-custom:latestFull instructions in memmachine-docker/README.md
| Before | After |
|---|---|
| β Self-host Neo4j on Cloud Run | β Use Neo4j Aura (managed SaaS) |
| β VPC networking complexity | β Works immediately |
| β $100+/month | β $0-65/month (free tier available) |
| β Manual scaling & backups | β Fully managed |
Simply provide your Neo4j Aura credentials:
{
"neo4j_uri": "neo4j+s://xxxxx.databases.neo4j.io",
"neo4j_user": "neo4j",
"neo4j_password": "your-password"
}Get Neo4j Aura: https://neo4j.com/cloud/aura/ (Free tier available)
- β Copy-paste commands that work
- β Verification at every step
- β Troubleshooting for 25+ errors
- β Production checklists
- β Security best practices
| Feature | π΅ GCP | π AWS | π· Azure |
|---|---|---|---|
| Container Platform | Cloud Run | ECS Fargate | Container Instances |
| Database | Cloud SQL | RDS PostgreSQL | Azure DB for PostgreSQL |
| Monthly Cost | $15-30 π | $45-65 | $30-55 |
| Deployment Time | ~20 min π | ~25 min | ~20 min |
| Scale to Zero | β Native | β Native | |
| Free Tier | $300 (90 days) | 12 months | $200 (30 days) |
| Best For | Startups, MVPs | Enterprise, Compliance | Microsoft Shops |
π Winner: GCP for cost and simplicity πΌ Runner-up: AWS for enterprise features π· Alternative: Azure for Microsoft ecosystem
- βοΈ Cloud account (GCP, AWS, or Azure)
- π³ Docker installed locally
- π Neo4j Aura account (free tier available)
- βοΈ Cloud CLI installed (
gcloud,aws, oraz)
# 1. Clone the repository
git clone https://github.com/yourusername/memcloud.git
cd memcloud
# 2. Choose your cloud and follow the guide
# For GCP:
open DEPLOY_GCP.md
# For AWS:
open DEPLOY_AWS.md
# For Azure:
open DEPLOY_AZURE.mdStep 1: π Read deployment guide for your cloud Step 2: π§ Setup cloud account and enable APIs Step 3: π³ Build custom Docker image with psycopg2 Step 4: ποΈ Deploy PostgreSQL database Step 5: π Deploy backend and frontend services Step 6: β Verify deployment and test Step 7: π Production ready!
| Metric | Count |
|---|---|
| π Lines of Documentation | 15,000+ |
| ποΈ Deployment Guides | 5 (GCP, AWS, Azure + 2 reference) |
| π Errors Documented | 25+ with solutions |
| βοΈ Cloud Providers | 3 (GCP, AWS, Azure) |
| β±οΈ Deployment Time | ~20 minutes |
| π° Starting Cost | $15/month |
| β Success Rate | 100% (when following guides) |
All credentials are managed securely:
- β No hardcoded API keys or passwords
- β Environment variables and secret managers
- β
Comprehensive
.gitignore - β Security documentation included
See: SECURITY.md for full guidelines.
We welcome contributions! Here's how:
- π΄ Fork the repository
- πΏ Create a feature branch (
git checkout -b feature/amazing-feature) - πΎ Commit your changes (
git commit -m 'Add amazing feature') - π€ Push to the branch (
git push origin feature/amazing-feature) - π Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built for the MemVerge Hackathon π
Special thanks to: