xmigrate.cloud, which is pronounced as cross-migrate.cloud, is an opensource project for migrating your infrastructure. Migration can be done from DC to DC, DC to cloud, Cloud to DC, and Cloud to Cloud.
Scope of this tool is limited to migration of VMs across any cloud/on-prem to cloud environment.
We have shipped xmigrate with the below features in our latest release;
- Environment discovery
- Automatic network creation and server deployment
- Multiple cloud environment support
- Agentless discovery and migration
- Any to AWS server migration*
- Any to GCP server migration*
- Any to Azure server migration*
- Migration of servers with multiple disks
π‘ *As a user you need to ensure the server which you are migrating is eligible to be migrated to the target cloud. We will add precheck scripts in discovery phase before preparing the server for migration in coming releases.
xmigrate is built on the below techstack;
- FastAPI (Python web framework)
- Ansible
- PostgreSQL
xmigrate runs as a container in your local machine. All the web-services and payloads are written in Python. Ansible is used to prepare the servers ready for migration and PostgreSQL DB is used to store user, project, cloud environment and other metadata related to the VM which needs to be migrated.
- Support for more OS versions
- Support for GPT boot volume to AWS
git clone https://github.com/xmigrate/xmigrate.git
cd xmigrate
After cloning the repository and entering it, open the docker-compose.yaml
file and replace the <server-ip> placeholder in the line BASE_URL: http://<server-ip>/api
with your server ip address. Once this is done, you can run the below command and access xmigrate on http://localhost:80
;
docker compose up -d
We currently support servers of below OS versions*;
Redhat 7 | Redhat 8 | CentOS 7 | Ubuntu 16.04 | Ubuntu 18.04 | Ubuntu 20.04 | |
---|---|---|---|---|---|---|
AWS | β | β | β | β | β | β |
Azure | β | β | β | β | β | β |
GCP | β | β | β | β | β | β |
π‘ Make sure your
/etc/fstab
entries looks like thisUUID=d35fe619-1d06-4ace-9fe3-169baad3e421 / xfs defaults,discard 1 1
We will be adding support for more OS soon.
βΉ *We are aware of and working hard to find a quick solution to some issues that prevent vm connectivity after migrations of Azure to AWS, Azure to GCP, and GCP to Azure. In the meantime, all other combinations with our supported providers can be used without issues.
Stay tuned for more updates. Join our community and start collaborating π
xmigrate by Vishnu KS is licensed under CC BY-NC-ND 4.0