Documentation

esc
    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:

    Terminal
    $ 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 --wait

    Then 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:

    KindAWSGoogle CloudAzureHuawei CloudAgent clouds
    Servers and disksEC2, EBSCompute EngineVMs, managed disksECS, EVSYes
    Networks, subnets, firewallsVPCs, subnets, security groupsNetworks, subnets, firewall rulesVNets, subnets, NSGsVPCs, subnets, security groupsYes
    Public addresses, load balancersElastic IPs, ALB, NLB, GWLBAddresses, forwarding rulesPublic IPs, load balancersElastic IPs, ELBMost
    DatabasesRDS and AuroraCloud SQLPostgreSQL, MySQL and SQL databasesRDSDigitalOcean, Linode, Vultr
    BucketsS3: names, versioning, whether public, size and object countBucket namesStorage accounts
    Kubernetes clustersEKS: versions, node groups, add-ons
    SSH keysEC2 key pairsSSH public keysMost; not Contabo
    PeopleIAM users, IAM Identity Center usersProject IAM membersRole assignments, with GraphIAM usersLinode, Contabo
    Spend, three whole monthsCost ExplorerNot availableCost ManagementMonthly billsDigitalOcean, 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:

    WhatFromNotes
    ServersEC2 instancesType, vCPUs and memory, state, platform, architecture, network
    DisksEBS volumesSize, type, and the server each is attached to
    Networks and subnetsVPCs and subnetsAddress ranges, and which VPC is the default
    Firewall groupsSecurity groupsEvery inbound and outbound rule
    Public addressesElastic IPsThe address and the server it points at
    Load balancersApplication, Network and Gateway Load Balancers (not Classic)Type, scheme and listeners. Gateway Load Balancers are flagged unsupported
    DatabasesRDS instancesEngine, version, class, storage
    BucketsS3Names, 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 clustersEKSVersion, node groups with their instance types and counts, add-ons. The cluster's certificate authority is not kept
    PeopleIAM users and IAM Identity CenterIAM 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 keysEC2 key pairsThe public key and fingerprint
    SpendCost ExplorerThe 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:

    WarningWhat was skippedUsual cause
    region_denied:<region>A whole regionA service control policy, or a region your organization blocks
    region_unavailable:<region>A whole regionAWS 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 themec2:DescribeInstanceTypes denied
    volumes_unavailable:<region>Disksec2:DescribeVolumes denied
    networks_unavailable:<region>VPCsec2:DescribeVpcs denied
    subnets_unavailable:<region>Subnetsec2:DescribeSubnets denied
    security_groups_unavailable:<region>Security groupsec2:DescribeSecurityGroups denied
    public_ips_unavailable:<region>Elastic IPsec2:DescribeAddresses denied
    ssh_keys_unavailable:<region>Key pairsec2:DescribeKeyPairs denied
    load_balancers_unavailable:<region>Load balancerselasticloadbalancing:DescribeLoadBalancers denied
    listeners_unavailable:<region>Load balancer listenerselasticloadbalancing:DescribeListeners denied
    databases_unavailable:<region>RDS databasesrds:DescribeDBInstances denied
    kubernetes_denied:<region>EKS clusters in the regioneks:ListClusters or eks:DescribeCluster denied. Update the stack with the latest template
    kubernetes_unavailable:<region>EKS clusters in the regionAWS didn't answer. Scan again later
    kubernetes_node_groups_unavailable:<region>Node groups, so no node plans are choseneks:ListNodegroups or eks:DescribeNodegroup denied
    kubernetes_addons_unavailable:<region>EKS add-onseks:ListAddons denied
    users_unavailableIAM usersiam:ListUsers denied
    identity_center_unavailableIAM Identity Center peopleThe sso: permissions denied, or Identity Center not set up in the account
    identity_center_users_unavailable, identity_center_groups_unavailableIdentity Center users, or their group membershipsThe identitystore: permissions denied
    buckets_unavailableBucket namess3:ListAllMyBuckets denied
    bucket_versioning_unavailable, bucket_policy_unavailableWhether buckets are versioned or public, so they are planned as unversioned and privates3:GetBucketVersioning or s3:GetBucketPolicyStatus denied, often a stack made before these were added
    bucket_sizes_unavailableSome buckets' size or object countcloudwatch:GetMetricStatistics denied, or S3 has no recent figures for the bucket
    bucket_sizes_truncatedSizes beyond the first 200 bucketsMore than 200 buckets
    cost_unavailableSpend, so the price comparison has no AWS figureCost 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:

    WarningWhat it means
    cost_not_availableThe 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_listedThe cloud has no read-only way to list people (DigitalOcean, Hetzner Cloud, Vultr, OpenStack). Add them to Pantech by hand
    ssh_keys_not_readContabo 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:

    Terminal
    $ 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

    SourcePantechHow
    ServerMachineThe 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 serverMachine on Pantech's Windows Server imageWhen Windows is turned on for your organization, at least the image's minimum plan (image_slug on the target). Otherwise flagged windows_on_request
    DiskVolumeSame 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 subnetVPC network and subnetSame address ranges
    Firewall groupSecurity groupRules 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 addressPublic IPA new address: yours will change
    Load balancerLoad balancerListed with its listeners, to recreate
    PostgreSQL, MySQL, MariaDB (including Aurora)Managed databaseThe engine family Pantech offers, at Pantech's version, sized like a server. Import its data
    SSH keySSH keyThe same public key
    PersonA person in your teamTheir email and a suggested role: Admin for someone who administers the source cloud, otherwise Member. Invite them
    BucketBucket in af-abjA 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 clusterKubernetes clusterThe 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.

    CodeBlockingWhat 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_imageThis 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_planThis server is larger than Pantech's largest plan, so the largest plan was chosen. Check it has enough room.
    root_disk_larger_than_planThe system disk is larger than the plan's disk. Free up space or move data to an extra volume first.
    instance_stoppedThis server is stopped. It will be planned, but check you still need it.
    instance_size_unknownThis server's size couldn't be read, so no plan was chosen. Pick one.
    copy_not_available_yetStart 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_unattachedThis disk isn't attached to any server. Check you still need it.
    network_cidr_not_privateThis network's address range isn't a private range. Pantech networks use private ranges, so choose one.
    default_networkThis is the cloud's default network. You may not need to recreate it.
    rule_references_groupSome rules allow another firewall group rather than an address range. Add the matching address ranges by hand.
    rule_ipv6Some rules use IPv6 addresses, which Pantech firewalls don't support yet. They were left out.
    rule_prefix_listSome rules use a managed prefix list. Add the matching address ranges by hand.
    rule_protocol_not_supportedSome rules use a protocol other than TCP, UDP or ICMP. They were left out.
    public_address_changesThe 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_listenerSome 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_upgradePantech runs a newer major version. Test your application against it before going live.
    database_clusterThis is a cluster engine. It will become a single Pantech database.
    database_larger_than_largest_planThis database is larger than Pantech's largest plan, so the largest plan was chosen.
    database_size_unknownThis 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_emailNo 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_neededTo copy the objects, grant Pantech read access to this bucket under the connection's copy access, then start the copy.
    bucket_renamedPantech bucket names use lowercase letters, digits and hyphens, so this bucket gets a new name. Update tools that use the old one.
    bucket_name_unavailableNo valid Pantech bucket name could be made from this name. Choose one when you start the copy.
    bucket_publicThis 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_upgradePantech's version is more than one minor version newer. The preview shows any API your manifests use that it no longer serves.
    kubernetes_version_unknownThis cluster's Kubernetes version couldn't be read, so the newest Pantech version was chosen.
    kubernetes_private_endpointThis cluster's API is private. Run the Pantech Migrate agent where it can reach it.
    kubernetes_provider_addonThe 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_armSome node pools use ARM nodes. Pantech nodes are x86: images must be multi-architecture.
    node_pool_gpuSome node pools have GPUs. Pantech nodes have none, so those workloads won't schedule.
    node_pool_larger_than_largest_planA node pool is larger than Pantech's largest plan, so the largest plan was chosen.
    node_pool_size_unknownA 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):

    ChangeFieldFor
    Leave it out, or put it backexcludedAnything. An unsupported item stays unsupported
    Another planplan_slugServers and databases. Must be an active plan, such as performance (from pantech plans or GET /plans); the disk check runs again
    Another sizestorage_gbVolumes and databases: 1 to 16,384 GB
    Another address rangecidrNetworks and subnets: a private IPv4 range of your choice, such as a /16 (<vpc-cidr>)
    RolerolePeople: admin or member, until they are invited
    EmailemailPeople, until they are invited
    Allow an older Kubernetes versionallow_version_downgradeKubernetes clusters flagged kubernetes_version_downgrade: clears the flag once you have checked your workloads run on the older version
    Terminal
    $ 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.com

    The 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

    Terminal
    $ pantech migrate terraform mig_06gk3x9tq7m2v8r4y1c5d0zp8w --out ./pantech

    Without --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 from region, which defaults to the plan's region, these have no defaults, so Terraform asks for them:
    VariableWhat to give it
    regionThe Pantech region. The only variable with a default: the plan's region
    image_slugThe image new servers start from, like ubuntu-24-04
    ssh_key_idThe id of a Pantech SSH key that new servers accept
    volume_disk_offering_slugThe disk offering for extra volumes, at least as big as the largest one
    database_zone_idThe 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:

    Terminal
    $ 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.tfplan

    Read 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.

    Was this page helpful?

    Updated