Qovery Migration AI Agent to Automate and Ease the Migration From Cloud Providers with Qovery
MIT License
Qovery Migration AI Agent is an app designed to facilitate the migration of applications from various platforms to Qovery. Currently, it supports migrating Heroku applications to AWS, GCP, or Scaleway using Qovery.
Migrating applications from one platform to another can be a time-consuming, error-prone process and super costly $$$. Qovery Migration AI Agent aims to simplify this process by automating the generation of Terraform configurations, Dockerfiles, and other necessary files for deploying applications on Qovery.
Note: This project is still in development and may not support all features yet.
The project is structured as follows:
The following environment variables are required to run the application:
Environment Variable | Description | Required |
---|---|---|
CLAUDE_API_KEY |
Claude AI API key | Yes |
HEROKU_API_KEY |
Heroku API key | Yes if you used it |
GITHUB_TOKEN |
GitHub token to avoid being rate limited | No |
The migration agent uses the Heroku (or other provider) API to fetch information about the application to be migrated. It then generates Terraform configurations for deploying the application on Qovery. The generated Terraform configurations include the necessary resources such as the application, environment, database, and other services.
graph TD
A[Start] --> B[AI Migration Agent fetches app data from Heroku API]
B --> C[AI Migration Agent filters out sensitive data]
C --> D[AI Migration Agent sends non-sensitive app data to Claude AI API]
D --> E[Claude AI generates Dockerfiles]
E --> F[AI Migration Agent receives Dockerfiles]
F --> G[AI Migration Agent sends non-sensitive app data to Claude AI API]
G --> H[Claude AI generates Qovery Terraform files]
H --> I[AI Migration Agent receives Terraform files]
I --> J[AI Migration Agent reintegrates sensitive data as Terraform secrets]
J --> K[Validate Terraform manifest]
K --> L{Is manifest valid?}
L -->|Yes| M[AI Migration Agent generates output for user review]
L -->|No| N[Auto-remediation process]
N --> O[Claude AI fixes Terraform errors]
O --> K
M --> P[User reviews and uses output]
P --> Q[End]
subgraph "Data Sources"
R[Heroku API]
S[GitHub Examples]
end
subgraph "Security Measure"
T[Sensitive data kept locally]
end
B -.-> R
H -.-> S
C -.-> T
J -.-> T
We welcome contributions! Please see our Contributing Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please file an issue on the GitHub repository or contact [email protected].