Connectivity Test
Step 7 — End-to-end connectivity test
Section titled “Step 7 — End-to-end connectivity test”Allow a few minutes after the Interconnect
AWS Interconnect – multicloud — a managed private connectivity service that connects Amazon VPCs directly to VPCs on other cloud providers. GA with Google Cloud as of April 2026. shows Available for BGP
Border Gateway Protocol — the routing protocol used to exchange routes between AWS and GCP over the interconnect. and routes to converge.
Resolve ping targets
Section titled “Resolve ping targets”terraform output is not available inside EC2 ( SSM
AWS Systems Manager Session Manager — provides shell access to EC2 instances without a public IP or SSH key, using VPC interface endpoints. ) or GCE
Google Compute Engine — GCP virtual machine instances. The demo GCE VM is reachable via IAP tunnel SSH. (SSH) shells — note the IPs before you connect:
export GCP_PROJECT="$(terraform output -raw gcp_project_id)"export GCE_IP="$(terraform output -raw gce_instance_private_ip)"export AWS_IP="$(terraform output -raw aws_instance_private_ip)"echo "GCP project: ${GCP_PROJECT}"echo "GCE target: ${GCE_IP}"echo "AWS target: ${AWS_IP}"EC2 → GCE (SSM Session Manager)
Section titled “EC2 → GCE (SSM Session Manager)”The instance has no public IP. From your workstation:
aws ssm start-session \ --target "$(terraform output -raw aws_instance_id)" \ --region "$(terraform output -raw aws_region)"From the EC2 shell, ping using the GCE IP you printed above:
ping -c 5 10.1.0.2 # replace with your gce_instance_private_ipGCE → EC2 (IAP tunnel)
Section titled “GCE → EC2 (IAP tunnel)”From your workstation, save the TERRAFORM
HashiCorp Terraform — infrastructure-as-code tool used to provision the base AWS and GCP resources in this demo. -generated key pair and connect:
terraform output -raw gce_ssh_private_key > demo-gce-keyterraform output -raw gce_ssh_public_key > demo-gce-key.pubchmod 600 demo-gce-key demo-gce-key.pubgcloud compute ssh "$(terraform output -raw gce_instance_name)" \ --zone="$(terraform output -raw gce_instance_zone)" \ --project="$(terraform output -raw gcp_project_id)" \ --tunnel-through-iap \ --ssh-key-file=demo-gce-keyFrom the GCE shell, ping using the AWS IP you printed above:
ping -c 5 10.0.1.10 # replace with your aws_instance_private_ipSuccess criteria
Section titled “Success criteria”Successful round-trip ping confirms traffic is flowing over the Interconnect multicloud
AWS Interconnect – multicloud — a managed private connectivity service that connects Amazon VPCs directly to VPCs on other cloud providers. GA with Google Cloud as of April 2026. path.
Optional: Run traceroute from either side — hops should not traverse public internet addresses.