CmdID

CmdID / aws / aws lightsail

aws lightsail peer-vpc

Peers the Lightsail VPC with the user's default VPC. AWS CLI reference

1 example Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To peer the Amazon Lightsail virtual private cloud

The following peer-vpc example peers the Amazon Lightsail virtual private cloud (VPC) for the current AWS Region.

aws lightsail peer-vpcIdentify
Its output
{
    "operation": {
        "id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "resourceName": "vpc-0EXAMPLEa5261efb3",
        "resourceType": "PeeredVpc",
        "createdAt": 1571694233.104,
        "location": {
            "availabilityZone": "all",
            "regionName": "us-west-2"
        },
        "isTerminal": true,
        "operationDetails": "vpc-e2b3eb9b",
        "operationType": "PeeredVpc",
        "status": "Succeeded",
        "statusChangedAt": 1571694233.104
    }
}

For more information, see Connect Lightsail resources to AWS services using VPC peering in the Amazon Lightsail User Guide.