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.
Accepting a Hosted Private Virtual Interface 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:
$ 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:
-
(optional)
profile
: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI. -
virtual-interface-id
: The ID of the connection. -
virtual-gateway-id
: The ID of the target virtual private gateway. For more information about the virtual private gateways you can use, see Getting Information About Your Virtual Private Gateways for DirectLink. -
endpoint
: The endpoint corresponding to the Region you want to send the request to.
The confirm-private-virtual-interface command returns the following element:
-
virtualInterfaceState
: The state of the private virtual interface.
{
"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.