Subchapter 90.8
references/setting-up-direct-connect-sitelink.mdMarkdown8 KBView on GitHub
Domain expertise for SiteLink, the Direct Connect feature that connects two or more Direct Connect locations so on-premises sites attached to them can exchange traffic over the AWS backbone without routing through a VPC or a Region. Covers when SiteLink fits, the per-virtual-interface enablement, the single-partition requirement, the private/transit virtual interface requirement, and the per-gigabyte billing the customer is opting into.
Does not cover choosing the connection model, virtual interface and BGP setup (a separate reference), reaching VPCs through a Direct Connect gateway, or encryption. Those are separate references.
Execute commands using the AWS MCP server when connected (sandboxed execution, audit logging,
observability). Fall back to the AWS CLI otherwise. The Direct Connect console is regional; pass the
customer’s working --region on every aws directconnect command.
Constraints:
Constraints:
Constraints:
Constraints:
SiteLink is per virtual interface. Enable it on every participating private or transit virtual interface.
They are in different AWS partitions (for example commercial and GovCloud). SiteLink works only within one partition.
It is a public virtual interface. SiteLink runs only on private and transit virtual interfaces.
SiteLink carries a separate per-gigabyte charge. It applies as soon as the feature is enabled.
Disable with:
aws directconnect update-virtual-interface-attributes \
--virtual-interface-id {virtual_interface_id} --no-enable-site-link --region {region}This procedure confirms the partition and virtual interface type, states the billing, enables SiteLink on each participating virtual interface, and surfaces the console link.
Constraints for parameter acquisition:
Constraints:
aws sts get-caller-identity.aws sts assume-role)
rather than long-lived IAM user access keys for Direct Connect management operations.Constraints:
You MUST confirm each virtual interface is attached to a Direct Connect gateway (DXGW), not a virtual private gateway (VGW). SiteLink requires a DXGW association.
You MUST enable SiteLink on every participating virtual interface, not just one:
aws directconnect update-virtual-interface-attributes \
--virtual-interface-id {virtual_interface_id} --enable-site-link --region {region}You MUST verify SiteLink is active:
aws directconnect describe-virtual-interfaces \
--virtual-interface-id {virtual_interface_id} \
--query 'virtualInterfaces[0].{State:virtualInterfaceState,SiteLink:siteLinkEnabled}' \
--output table --region {region}Poll until siteLinkEnabled reports true.
Constraints:
You MUST confirm SiteLink is enabled on each virtual interface and present the console link, filling
{virtual_interface_id} and {region}:
https://console.aws.amazon.com/directconnect/v2/home?region={region}#/virtual-interfaces/{virtual_interface_id}You SHOULD recommend CloudWatch alarms on the virtual interface state and BGP status, and confirm
CloudTrail is capturing directconnect API calls with log file validation enabled and the trail
encrypted with a KMS key, and any CloudWatch Logs log groups receiving these events or alarm state
data encrypted with a KMS key, so state changes trigger alerts and configuration changes are audited
with assured log integrity and confidentiality rather than relying on manual detection.
You SHOULD ensure any SNS topics receiving Direct Connect alarm notifications are encrypted with a KMS key and that subscriptions are restricted to authorized operations personnel.
aws sts assume-role) for Direct Connect management operations rather than long-lived
IAM user access keys.directconnect API actions to the
specific actions and resource ARNs each principal needs, and MUST NOT grant directconnect:* on
resource * or attach any *FullAccess managed policy.