Tutorials
Step-by-step guides for common Megaport CLI tasks
Hands-on guides for real-world Megaport CLI workflows.
Available Tutorials
- Create a Port — provision your first Megaport Port end-to-end
- Port Lifecycle — full reference for update, lock, tag, delete, and restore
- Create an MVE — provision a Megaport Virtual Edge SD-WAN appliance
- Connect to AWS — provision a Direct Connect VXC
- Connect to Azure — provision an ExpressRoute VXC
- Create a Megaport Internet VXC — turn any service into a public internet upstream
- MCR Routing — provision a Cloud Router and configure BGP prefix filtering
- Multi-Cloud — build a complete AWS + Azure + GCP architecture through MCR
- Automation — templates, CI/CD pipelines, and scripted bulk operations
In this section
Create a Port
Provision your first Megaport Port from the command line — find a location, choose speed and term, and verify the service is live
Port Lifecycle
Walk through the complete lifecycle of a Megaport port — provision, inspect, update, lock, tag, and decommission
Create an MVE
Provision a Megaport Virtual Edge — pick a vendor image, size the instance, configure vNICs, and launch your virtual SD-WAN appliance
Connect to AWS
Provision an AWS Direct Connect VXC using the Megaport CLI — from partner port discovery to a live private connection
Connect to Azure
Provision an Azure ExpressRoute VXC using the Megaport CLI — from service key to a live private connection
Create a Megaport Internet VXC
Provision a Megaport Internet connection — turn any Port, MCR, or MVE into a public internet upstream using a TRANSIT VXC
MCR Routing
Provision a Megaport Cloud Router, attach VXC spokes, and manage BGP prefix filter lists for multi-cloud traffic engineering
Multi-Cloud Connectivity
Build a complete AWS + Azure + Google Cloud network through Megaport using MCR as a transit hub — with a full automation script
Automation & Scripting
JSON templates, jq pipelines, idempotent scripts, bulk operations, and GitHub Actions workflows for Megaport CLI automation