Accepting a Hosted Private Virtual Interface

Another OUTSCALE user can request the creation of a private virtual interface hosted in your account. This enables you, as the grantee, to use the DirectLink connection of the other user to access one of your Virtual Private Clouds (VPCs).

As the grantee, you must accept this request of creation of a private virtual interface before you can use it. You then become the owner of the private virtual interface. If it is not accepted, the private virtual interface cannot forward traffic, and expires after 7 days.

When accepting, you must specify a virtual private gateway to attach to the private virtual interface.

For more information about private virtual interfaces, see About DirectLink > DirectLink Connections and Private Virtual Interfaces.

This feature is not available from Cockpit. This documentation only describes the procedure using AWS CLI.

Before you begin: Attach a virtual private gateway to the VPC which you want to access. For more information, see Creating a Virtual Private Gateway and Attaching a Virtual Private Gateway.

To accept ownership of a private virtual interface created in your account, use the confirm-private-virtual-interface command following this syntax:

Request sample
$ aws directconnect confirm-private-virtual-interface \
    --profile YOUR_profile \
    --virtual-interface-id dxvif-56781234 \
    --virtual-gateway-id vgw-87654321 \
    --endpoint https://directlink.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

The confirm-private-virtual-interface command returns the following element:

  • virtualInterfaceState: The state of the private virtual interface.

Result sample
{
    "virtualInterfaceState": "pending"
}

The private virtual interface is created, and remains in the pending state until it is ready to forward traffic. For more information about the states of private virtual interfaces, see About DirectLink > DirectLink Connections and Private Virtual Interfaces.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.