Move to Pantech / Scan and plan
Scan an account and plan the move
What a scan reads on each cloud, its warnings, how a plan maps your cloud to Pantech, every flag it can raise, the price comparison, editing a plan and exporting it as Terraform.
Once a cloud is connected (AWS, Google Cloud, Azure, Huawei Cloud or one read by the agent), scan it to see what it runs, then plan the move from that scan. A plan is a draft: nothing is created on Pantech and nothing changes in your cloud until you apply its Terraform or start a copy yourself.
Scan
Start a scan with the API, the CLI for AWS, or ask your AI app:
$ curl -X POST https://api.pantechdynamics.com/public/v1/cloud-connections/ccn_06gk3x9tq7m2v8r4y1c5d0zp8w/scans \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)"$ pantech migrate scan ccn_06gk3x9tq7m2v8r4y1c5d0zp8w --waitThen poll GET /cloud-scans/{scan_id} until status is succeeded or failed. Add ?include=inventory to get every item it found, not just the counts. pantech migrate scans <connection> lists a connection's scans, and pantech migrate scan-show <scan> --inventory lists everything one found.
A scan is queued, then running, then succeeded or failed. Most accounts take under five minutes. One scan can run per connection at a time, and the newest 10 finished scans are kept.
A scan's runner says who read the cloud: worker when Pantech read it directly with short-lived tokens, agent when your Pantech Migrate agent did. An agent scan waits in queued until the agent picks it up; if no agent does within an hour, it fails with agent_offline.
What it reads
Each cloud's connect page lists exactly what its scan reads and every permission it uses. In short:
| Kind | AWS | Google Cloud | Azure | Huawei Cloud | Agent clouds |
|---|---|---|---|---|---|
| Servers and disks | EC2, EBS | Compute Engine | VMs, managed disks | ECS, EVS | Yes |
| Networks, subnets, firewalls | VPCs, subnets, security groups | Networks, subnets, firewall rules | VNets, subnets, NSGs | VPCs, subnets, security groups | Yes |
| Public addresses, load balancers | Elastic IPs, ALB, NLB, GWLB | Addresses, forwarding rules | Public IPs, load balancers | Elastic IPs, ELB | Most |
| Databases | RDS and Aurora | Cloud SQL | PostgreSQL, MySQL and SQL databases | RDS | DigitalOcean, Linode, Vultr |
| Buckets | S3: names, versioning, whether public, size and object count | Bucket names | Storage accounts | ||
| Kubernetes clusters | EKS: versions, node groups, add-ons | ||||
| SSH keys | EC2 key pairs | SSH public keys | Most; not Contabo | ||
| People | IAM users, IAM Identity Center users | Project IAM members | Role assignments, with Graph | IAM users | Linode, Contabo |
| Spend, three whole months | Cost Explorer | Not available | Cost Management | Monthly bills | DigitalOcean, Linode, Vultr |
Kubernetes clusters elsewhere (GKE, AKS, DigitalOcean Kubernetes and others) are read by the agent from a kubeconfig when you move one.
A scan never reads what is inside buckets, disks or databases, a server's user data or startup scripts, secrets or parameters, and the access it uses cannot change anything. Security has the details for each cloud.
What a scan of AWS reads
Every region enabled in the account, plus the services that are account-wide:
| What | From | Notes |
|---|---|---|
| Servers | EC2 instances | Type, vCPUs and memory, state, platform, architecture, network |
| Disks | EBS volumes | Size, type, and the server each is attached to |
| Networks and subnets | VPCs and subnets | Address ranges, and which VPC is the default |
| Firewall groups | Security groups | Every inbound and outbound rule |
| Public addresses | Elastic IPs | The address and the server it points at |
| Load balancers | Application, Network and Gateway Load Balancers (not Classic) | Type, scheme and listeners. Gateway Load Balancers are flagged unsupported |
| Databases | RDS instances | Engine, version, class, storage |
| Buckets | S3 | Names, regions, versioning, whether the bucket policy makes it public, and size and object count from S3's daily storage metrics in CloudWatch. Never what is in them |
| Kubernetes clusters | EKS | Version, node groups with their instance types and counts, add-ons. The cluster's certificate authority is not kept |
| People | IAM users and IAM Identity Center | IAM users with an email from a tag named email, mail or e-mail (or the user name, if it is an email), and whether they hold AdministratorAccess. Identity Center users assigned to the account, directly or through groups, with their primary email and permission sets |
| SSH keys | EC2 key pairs | The public key and fingerprint |
| Spend | Cost Explorer | The last three whole months, all services. AWS charges USD 0.01 for this, on your AWS bill |
Bucket sizes are the newest daily figure S3 reports, shown "as of" the day they describe (size_as_of). Up to 200 buckets are sized per scan, at about USD 0.0002 each on your AWS bill; a bucket without figures keeps an unknown size rather than a guess.
Up to 2,000 items of each kind are read. A longer list is cut short, and the scan's truncated field names the kind. An inventory larger than 8 MiB fails the scan with scan_too_large.
Warnings
A part the scan cannot read does not fail it. It is skipped and named in the scan's warnings, so you know the inventory is missing it. A regional warning ends with the region, like volumes_unavailable:eu-west-1. When the same part couldn't be read anywhere, usually a permission missing, it appears once without a region, like databases_unavailable.
On AWS:
| Warning | What was skipped | Usual cause |
|---|---|---|
region_denied:<region> | A whole region | A service control policy, or a region your organization blocks |
region_unavailable:<region> | A whole region | AWS didn't answer for this region. Scan again later |
instance_sizes_unavailable:<region> | Server and database sizes in the region, so no plan is chosen for them | ec2:DescribeInstanceTypes denied |
volumes_unavailable:<region> | Disks | ec2:DescribeVolumes denied |
networks_unavailable:<region> | VPCs | ec2:DescribeVpcs denied |
subnets_unavailable:<region> | Subnets | ec2:DescribeSubnets denied |
security_groups_unavailable:<region> | Security groups | ec2:DescribeSecurityGroups denied |
public_ips_unavailable:<region> | Elastic IPs | ec2:DescribeAddresses denied |
ssh_keys_unavailable:<region> | Key pairs | ec2:DescribeKeyPairs denied |
load_balancers_unavailable:<region> | Load balancers | elasticloadbalancing:DescribeLoadBalancers denied |
listeners_unavailable:<region> | Load balancer listeners | elasticloadbalancing:DescribeListeners denied |
databases_unavailable:<region> | RDS databases | rds:DescribeDBInstances denied |
kubernetes_denied:<region> | EKS clusters in the region | eks:ListClusters or eks:DescribeCluster denied. Update the stack with the latest template |
kubernetes_unavailable:<region> | EKS clusters in the region | AWS didn't answer. Scan again later |
kubernetes_node_groups_unavailable:<region> | Node groups, so no node plans are chosen | eks:ListNodegroups or eks:DescribeNodegroup denied |
kubernetes_addons_unavailable:<region> | EKS add-ons | eks:ListAddons denied |
users_unavailable | IAM users | iam:ListUsers denied |
identity_center_unavailable | IAM Identity Center people | The sso: permissions denied, or Identity Center not set up in the account |
identity_center_users_unavailable, identity_center_groups_unavailable | Identity Center users, or their group memberships | The identitystore: permissions denied |
buckets_unavailable | Bucket names | s3:ListAllMyBuckets denied |
bucket_versioning_unavailable, bucket_policy_unavailable | Whether buckets are versioned or public, so they are planned as unversioned and private | s3:GetBucketVersioning or s3:GetBucketPolicyStatus denied, often a stack made before these were added |
bucket_sizes_unavailable | Some buckets' size or object count | cloudwatch:GetMetricStatistics denied, or S3 has no recent figures for the bucket |
bucket_sizes_truncated | Sizes beyond the first 200 buckets | More than 200 buckets |
cost_unavailable | Spend, so the price comparison has no AWS figure | Cost Explorer not turned on for the account, or the bill is in more than one currency |
Other clouds use the same pattern for their own parts (vm_sizes_unavailable:<region> on Azure, machine_types_unavailable on Google Cloud, security_group_rules_unavailable on Huawei Cloud, and so on), plus:
| Warning | What it means |
|---|---|
cost_not_available | The cloud has no read-only spend API Pantech can use (Google Cloud, Hetzner Cloud, Contabo, OpenStack). The price comparison has no figure for it |
users_not_listed | The cloud has no read-only way to list people (DigitalOcean, Hetzner Cloud, Vultr, OpenStack). Add them to Pantech by hand |
ssh_keys_not_read | Contabo keeps SSH keys with passwords, so they are not read |
An explicit deny somewhere in your cloud's organization wins over the access you gave Pantech, so check organization policies first. If nothing at all can be read, the scan fails with permission_missing.
Plan
Make a plan from a scan that succeeded:
$ curl -X POST https://api.pantechdynamics.com/public/v1/migrations \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"scan_id": "csn_06gk3x9tq7m2v8r4y1c5d0zp8w", "name": "Move production"}'$ pantech migrate plan csn_06gk3x9tq7m2v8r4y1c5d0zp8w --name "Move production"Send region too to choose the Pantech region (the first region if you leave it out). A plan is computed once, from the scan and today's plans, images and database engines; scan again and make a new plan to pick up changes in your cloud, or a product newly turned on for your organization.
Each item in the plan is one thing from the scan, named by a key that stays the same across edits. Its kind is network, subnet, security_group, instance, volume, public_ip, load_balancer, database, ssh_key, user, bucket or kubernetes_cluster, and its status is:
planned: part of the move.excluded: you left it out.unsupported: it cannot move yet. A blocking flag says why.
The planner works the same for every cloud: each reader turns what it found into one common inventory first.
How things map
| Source | Pantech | How |
|---|---|---|
| Server | Machine | The smallest active plan with at least its vCPUs and memory. Bigger than the largest plan: the largest, flagged. Terminated servers are left out. Copy it or rebuild it |
| Windows server | Machine on Pantech's Windows Server image | When Windows is turned on for your organization, at least the image's minimum plan (image_slug on the target). Otherwise flagged windows_on_request |
| Disk | Volume | Same size, attached to the same server. A server's root disk is part of the server, not a volume. On clouds whose disks are part of the server (DigitalOcean, Hetzner, Linode, Vultr, Contabo, local OpenStack disks), that disk becomes the server's root disk |
| Network and subnet | VPC network and subnet | Same address ranges |
| Firewall group | Security group | Rules with address ranges are copied; rules Pantech cannot express are flagged. Firewalls that name servers rather than groups keep the servers they applied to |
| Public address | Public IP | A new address: yours will change |
| Load balancer | Load balancer | Listed with its listeners, to recreate |
| PostgreSQL, MySQL, MariaDB (including Aurora) | Managed database | The engine family Pantech offers, at Pantech's version, sized like a server. Import its data |
| SSH key | SSH key | The same public key |
| Person | A person in your team | Their email and a suggested role: Admin for someone who administers the source cloud, otherwise Member. Invite them |
| Bucket | Bucket in af-abj | A valid Pantech bucket name, the source's versioning, and its size "as of" a day, when object storage is turned on for your organization. Copy its objects |
| Kubernetes cluster | Kubernetes cluster | The oldest Pantech version at or above the source's, node pools on the smallest plans that fit with the same counts and autoscaling, and the add-ons it needs. Move its workloads |
Flags
A flag is something to know about one item. A blocking flag makes the item unsupported; the others are for you to check.
| Code | Blocking | What it says |
|---|---|---|
windows_on_request | ✓ | Windows Server is available on request. Contact support to turn it on for your organization, then make a new plan. |
windows_not_supported | ✓ | The same as windows_on_request, on plans made before Windows Server was offered. |
windows_server_image | This server is planned on Pantech's Windows Server image. Install your applications on it and copy your data; Windows licences don't move between clouds. | |
arm_not_supported | ✓ | ARM servers can't be copied to Pantech's x86 servers. Rebuild the software on a new server instead. |
larger_than_largest_plan | This server is larger than Pantech's largest plan, so the largest plan was chosen. Check it has enough room. | |
root_disk_larger_than_plan | The system disk is larger than the plan's disk. Free up space or move data to an extra volume first. | |
instance_stopped | This server is stopped. It will be planned, but check you still need it. | |
instance_size_unknown | This server's size couldn't be read, so no plan was chosen. Pick one. | |
copy_not_available_yet | Start a server copy to move this server's disks: install the Pantech Migrate agent on it, or copy from snapshots when it runs on AWS. | |
volume_unattached | This disk isn't attached to any server. Check you still need it. | |
network_cidr_not_private | This network's address range isn't a private range. Pantech networks use private ranges, so choose one. | |
default_network | This is the cloud's default network. You may not need to recreate it. | |
rule_references_group | Some rules allow another firewall group rather than an address range. Add the matching address ranges by hand. | |
rule_ipv6 | Some rules use IPv6 addresses, which Pantech firewalls don't support yet. They were left out. | |
rule_prefix_list | Some rules use a managed prefix list. Add the matching address ranges by hand. | |
rule_protocol_not_supported | Some rules use a protocol other than TCP, UDP or ICMP. They were left out. | |
public_address_changes | The address will change. Update DNS records that point at it when you go live. | |
load_balancer_type_not_supported | ✓ | Gateway load balancers have no Pantech equivalent. |
load_balancer_tls_listener | Some listeners end TLS on the load balancer. Plan to handle certificates on your servers. | |
database_engine_not_offered | ✓ | Pantech doesn't offer this database engine yet. |
database_not_available | ✓ | Pantech doesn't offer this engine right now, so a plan was not chosen. |
database_version_upgrade | Pantech runs a newer major version. Test your application against it before going live. | |
database_cluster | This is a cluster engine. It will become a single Pantech database. | |
database_larger_than_largest_plan | This database is larger than Pantech's largest plan, so the largest plan was chosen. | |
database_size_unknown | This database's size couldn't be read, so no plan was chosen. Pick one. | |
ssh_key_without_public_key | ✓ | The cloud didn't return this key's public part, so it can't be imported. Add it by hand. |
user_without_email | No email address was found for this person. Add one to invite them. | |
object_storage_not_available | ✓ | Pantech object storage is available on request. Ask us to turn it on for your organization, then plan again. |
bucket_copy_access_needed | To copy the objects, grant Pantech read access to this bucket under the connection's copy access, then start the copy. | |
bucket_renamed | Pantech bucket names use lowercase letters, digits and hyphens, so this bucket gets a new name. Update tools that use the old one. | |
bucket_name_unavailable | No valid Pantech bucket name could be made from this name. Choose one when you start the copy. | |
bucket_public | This bucket is public on the source. The Pantech bucket stays private unless you choose to make it public when you start the copy. | |
kubernetes_not_available | ✓ | Managed Kubernetes isn't available for this organization right now. |
kubernetes_version_downgrade | ✓ | Pantech doesn't offer this Kubernetes version yet, so an older one was chosen. Check your workloads run on it, then allow the downgrade. |
kubernetes_version_upgrade | Pantech's version is more than one minor version newer. The preview shows any API your manifests use that it no longer serves. | |
kubernetes_version_unknown | This cluster's Kubernetes version couldn't be read, so the newest Pantech version was chosen. | |
kubernetes_private_endpoint | This cluster's API is private. Run the Pantech Migrate agent where it can reach it. | |
kubernetes_provider_addon | The cluster runs provider add-ons. The ones Pantech offers are planned; the others are left out. | |
node_pool_windows | ✓ | Some node pools run Windows. Pantech nodes run Linux only. |
node_pool_arm | Some node pools use ARM nodes. Pantech nodes are x86: images must be multi-architecture. | |
node_pool_gpu | Some node pools have GPUs. Pantech nodes have none, so those workloads won't schedule. | |
node_pool_larger_than_largest_plan | A node pool is larger than Pantech's largest plan, so the largest plan was chosen. | |
node_pool_size_unknown | A node pool's size couldn't be read, so no plan was chosen for it. Pick one. |
A server copy checks the server itself before it copies anything, and adds flags of its own: see the pre-flight.
Price comparison
Every plan shows two monthly figures, computed when you open it from current prices:
- Pantech: the price of the planned servers (a full month on each one's plan), extra volumes and VPC networks, in USD. Databases, public IPs, load balancers, buckets and Kubernetes clusters are not in this figure; the plan lists them under
not_covered. - Your cloud: the average of your last three whole months' bill, from the cloud's own spend or invoices. This is the whole account, every service, including things that are not in the plan.
So the two are not like for like: use them as a guide, not a quote. When either side cannot be priced (a server with no plan chosen, cost_unavailable on the scan, or a cloud with cost_not_available), the comparison says so instead of showing a number. For an exact Pantech price, see each product's pricing or price the setup with estimate_price from an AI app.
Edit the plan
Change one item at a time, named by its key (like instance:us-east-1:i-0a1b2c3d4e5f67890):
| Change | Field | For |
|---|---|---|
| Leave it out, or put it back | excluded | Anything. An unsupported item stays unsupported |
| Another plan | plan_slug | Servers and databases. Must be an active plan, such as performance (from pantech plans or GET /plans); the disk check runs again |
| Another size | storage_gb | Volumes and databases: 1 to 16,384 GB |
| Another address range | cidr | Networks and subnets: a private IPv4 range of your choice, such as a /16 (<vpc-cidr>) |
| Role | role | People: admin or member, until they are invited |
email | People, until they are invited | |
| Allow an older Kubernetes version | allow_version_downgrade | Kubernetes clusters flagged kubernetes_version_downgrade: clears the flag once you have checked your workloads run on the older version |
$ curl -X PATCH https://api.pantechdynamics.com/public/v1/migrations/mig_06gk3x9tq7m2v8r4y1c5d0zp8w/items \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"key": "instance:us-east-1:i-0a1b2c3d4e5f67890", "plan_slug": "performance"}'$ pantech migrate item mig_06gk3x9tq7m2v8r4y1c5d0zp8w --key volume:us-east-1:vol-0123456789abcdef0 --exclude$ pantech migrate item mig_06gk3x9tq7m2v8r4y1c5d0zp8w --key user:alice --role admin --email alice@example.comThe CLI's other changes are --include (put an excluded item back), --plan, --storage-gb and --cidr. A change that does not fit the item is refused with INVALID_TARGET. A person's role and email are fixed once they are invited (409 MIGRATION_PERSON_INVITED). Rename a plan with PATCH /migrations/{migration_id}.
Export Terraform
$ pantech migrate terraform mig_06gk3x9tq7m2v8r4y1c5d0zp8w --out ./pantechWithout --out, the CLI writes to pantech-migrate-<migration id>, and it does not overwrite files already there unless you pass --force. With the API, GET /migrations/{migration_id}/terraform returns the two files as text. You get:
main.tf: one resource per planned item, for the Pantech provider: networks, subnets, security groups, SSH keys, servers, volumes and databases. Each says which resource of your cloud it came from.variables.tf: what Pantech cannot know. Apart fromregion, which defaults to the plan's region, these have no defaults, so Terraform asks for them:
| Variable | What to give it |
|---|---|
region | The Pantech region. The only variable with a default: the plan's region |
image_slug | The image new servers start from, like ubuntu-24-04 |
ssh_key_id | The id of a Pantech SSH key that new servers accept |
volume_disk_offering_slug | The disk offering for extra volumes, at least as big as the largest one |
database_zone_id | The zone databases are created in |
database_password_<name> | One per database: its admin password. Sensitive and write-only; read it from a secret store |
Servers are named after their name in your cloud (or their id), cut to lowercase letters, digits and hyphens, because the name becomes the hostname. Items the file cannot create, such as public addresses, load balancers and people, are listed at the end of main.tf with what to do instead, and so are unsupported items. An excluded item, or a server with no plan, is not in the file. Buckets and Kubernetes clusters are not in it either: bucket imports and Kubernetes moves create them.
A server you copy is created by its copy, from its own disks. Take its resource (and its volumes') out of main.tf before you apply, so it is not created twice.
Then build it:
$ cd pantech$ export PANTECHDYNAMICS_BASE_URL=https://api.pantechdynamics.com/public/v1$ export PANTECHDYNAMICS_API_KEY=PAN_…$ terraform init$ terraform plan -out move.tfplan$ terraform apply move.tfplanRead the plan before you apply it: servers and databases cost money the moment they are created. Databases need Terraform 1.11 or later. Servers built from the export start from a fresh image, so next copy your data across and switch DNS.
Delete a plan
pantech migrate delete <migration>, DELETE /migrations/{migration_id}, or ask your AI app. Nothing in Pantech or your other cloud is touched: only the plan goes.