directconnect - cirelledo-csa/herd GitHub Wiki

Direct Connect

  • you need to create a connection

here are the parameters

aws directconnect create-connection --generate-cli-skeleton
{
    "location": "",
    "bandwidth": "",
    "connectionName": "",
    "lagId": ""
}
  • locations can be listed, for oregon:
aws directconnect describe-locations --region us-west-2
{
    "locations": [
        {
            "locationCode": "EqSe2",
            "locationName": "Equinix SE2, Seattle, WA",
            "region": "us-west-2"
        },
        {
            "locationCode": "SNAP",
            "locationName": "Switch SUPERNAP 8, Las Vegas, NV",
            "region": "us-west-2"
        },
        {
            "locationCode": "ECPO1",
            "locationName": "EdgeConnex, Hillsboro, OR",
            "region": "us-west-2"
        },
        {
            "locationCode": "TPS19",
            "locationName": "TierPoint, Seattle, WA",
            "region": "us-west-2"
        },
        {
            "locationCode": "PEH51",
            "locationName": "Pittock Block, Portland, OR",
            "region": "us-west-2"
        },
        {
            "locationCode": "CSDE1",
            "locationName": "CoreSite DE1, Denver, CO",
            "region": "us-west-2"
        }
    ]
}
  • for us-east-1 virginia:

So specify one of these locations:

aws directconnect describe-locations --region us-east-1
{
    "locations": [
        {
            "locationCode": "EqDC2",
            "locationName": "Equinix DC2/DC11, Ashburn, VA",
            "region": "us-east-1"
        },
        {
            "locationCode": "CS32A-24FL",
            "locationName": "CoreSite NY1, New York, NY | 24th Floor",
            "region": "us-east-1"
        },
        {
            "locationCode": "CS32A-7FL",
            "locationName": "CoreSite NY1, New York, NY | 7th Floor",
            "region": "us-east-1"
        },
        {
            "locationCode": "EqDA2",
            "locationName": "Equinix DA2, Dallas, TX",
            "region": "us-east-1"
        },
        {
            "locationCode": "CSVA1",
            "locationName": "CoreSite VA1, Reston, VA",
            "region": "us-east-1"
        },
        {
            "locationCode": "165HS",
            "locationName": "165 Halsey Street, Newark, NJ",
            "region": "us-east-1"
        },
        {
            "locationCode": "LGT50",
            "locationName": "Lightower, Philadelphia, PA",
            "region": "us-east-1"
        },
        {
            "locationCode": "TLXA1",
            "locationName": "Digital Realty ATL1, Atlanta, GA",
            "region": "us-east-1"
        },
        {
            "locationCode": "MB1SD",
            "locationName": "Markley, One Summer Street, Boston, MA",
            "region": "us-east-1"
        },
        {
            "locationCode": "EQMI1",
            "locationName": "Equinix MI1, Miami, FL",
            "region": "us-east-1"
        }
    ]
}
aws directconnect describe-locations | jq -r .locations[].locationCode
EqSe2
SNAP
ECPO1
TPS19
PEH51
CSDE1