How slayersarthak/ibm-cloud-migration works
This repository contains two standalone IBM Cloud migration scripts: one creates three predefined VMs, and the other creates VMs from JSON input. Both provision VPC networking, wait for target access, copy application files from classic Linux or Windows hosts, then configure a public load balancer. The graph reflects calls visible in the excerpts; it does not assume how the two scripts are selected or how source IPs are mapped in the JSON-driven variant.
Main entry points: Infra_Migration.py JSON-driven migration · VM_Migration.py Fixed VM migration
Components 18
Migration orchestration
- Fixed VM migration
VM_Migration.py - JSON-driven migration
Infra_Migration.py
IBM Cloud provisioning
- IBM VPC API
- VPC networking
VM_Migration.py - VPC networking
Infra_Migration.py - Fixed VM creation
VM_Migration.py - JSON VM creation
Infra_Migration.py
Application migration
- Port readiness
VM_Migration.py - Port readiness
Infra_Migration.py - Linux file copy
VM_Migration.py - Linux file copy
Infra_Migration.py - Windows file copy
VM_Migration.py - Windows file copy
Infra_Migration.py
Traffic distribution
- Load balancer setup
VM_Migration.py - Load balancer setup
Infra_Migration.py
Other components
- Operator
- Migration JSON
- Classic source hosts
Connections 30
- Operator → Fixed VM migration: runs
README.md - Operator → JSON-driven migration: runs
README.md - Migration JSON → JSON-driven migration: loads
Infra_Migration.py - Fixed VM migration → VPC networking: creates
VM_Migration.py - Fixed VM migration → Fixed VM creation: creates
VM_Migration.py - JSON-driven migration → VPC networking: creates
Infra_Migration.py - JSON-driven migration → JSON VM creation: creates
Infra_Migration.py - VPC networking → IBM VPC API: configures
VM_Migration.py - Fixed VM creation → IBM VPC API: creates
VM_Migration.py - VPC networking → IBM VPC API: configures
Infra_Migration.py - JSON VM creation → IBM VPC API: creates
Infra_Migration.py - Fixed VM migration → Linux file copy: calls
VM_Migration.py - Fixed VM migration → Windows file copy: calls
VM_Migration.py - JSON-driven migration → Linux file copy: dispatches
Infra_Migration.py - JSON-driven migration → Windows file copy: dispatches
Infra_Migration.py - Linux file copy → Port readiness: checks
VM_Migration.py - Windows file copy → Port readiness: checks
VM_Migration.py - Linux file copy → Port readiness: checks
Infra_Migration.py - Windows file copy → Port readiness: checks
Infra_Migration.py - Linux file copy → IBM VPC API: gets target IP
VM_Migration.py - Windows file copy → IBM VPC API: gets target IP
VM_Migration.py - JSON VM creation → IBM VPC API: gets target IP
Infra_Migration.py - Linux file copy → Classic source hosts: copies from
VM_Migration.py - Windows file copy → Classic source hosts: copies from
VM_Migration.py - Linux file copy → Classic source hosts: copies from
Infra_Migration.py - Windows file copy → Classic source hosts: copies from
Infra_Migration.py - Fixed VM migration → Load balancer setup: configures
VM_Migration.py - JSON-driven migration → Load balancer setup: configures
Infra_Migration.py - Load balancer setup → IBM VPC API: creates
VM_Migration.py - Load balancer setup → IBM VPC API: creates
Infra_Migration.py