

# Shared peerings in AWS Cloud WAN
<a name="cloudwan-shared-peerings"></a>

Shared peering allows you to establish peering connections between your Cloud WAN core network and transit gateways in the same AWS Region. You can dynamically exchange routing and reachability information between your core network edge and transit gateway over these peering connections, and interconnect your existing transit gateway-based network with your Cloud WAN network. You can create a new transity gateway policy table for this new shared peering or you can choose an existing transit gatewa policy table to use. 

When a core network owner shares their core network with your account, you are then able to create new peerings for the shared core network, delete existing peerings, or manage the tags associated with a peering. When you create a shared peering you can choose the core network that you want to associate the peering with, the edge location, and any transit gateways you want to share in this peering. In addition, you can also choose whether to create a new policy table for the shared peering or to use an existing policy table. If you choose an existing table, you'll be prompted to supply the transit gateway policy table to use. 

**Topics**
+ [Create a shared peering](cloudwan-peerings-share-create.md)
+ [Delete a shared peering](cloudwan-peerings-share-delete.md)
+ [Edit tags for a shared peering](cloudwan-peerings-share-tags.md)

# Create a shared peering in an AWS Cloud WAN global network
<a name="cloudwan-peerings-share-create"></a>

The following steps guide you through creating a shared peering in your core network.

**Important**  
Before creating a peering, make sure that the account you use to create the peering has the following permissions:  
`ec2:CreateTransitGatewayPolicyTable`
`ec2:AcceptTransitGatewayPeering`
`ec2:AssociateTransitGatewayPolicyTable`

**To create a shared peering**

1. Access the Network Manager console at [https://console.aws.amazon.com/networkmanager/home/](https://console.aws.amazon.com/networkmanager/home).

1. Under **Connectivity**, choose **Global Networks**.

1. On the **Global networks** page, choose the global network ID.

1. In the navigation pane, under **Shared by me**, choose **Peerings**.

1. Choose **Create peering**.

1. Enter a **name** to identify the attachment.

1. From the **Core network** dropdown list, choose the core network that is shared with you and that is where you want to create the peering.

1. From the **Edge location** dropdown list, choose the location where the attachment is located.

1. In the **Transit gateway** section, choose the transit gateway used for the peering.

1. Choose one of the following **Associate policy table** options:
   + **New** — Creates a new policy routing table.
   + **Existing** — Allows you to associate this peering with an existing policy route table. If you choose this option, choose an existing **Transit gateway policy table** from the dropdown list to associate with the peering. 

1. (Optional) In the **Tags** section, add **Key** and **Value** pairs to help identify this resource. You can add multiple tags by choosing **Add tag**, or remove any tag by choosing **Remove tag**.

1. Choose **Create peering**.

# Delete a shared peering from an AWS Cloud WAN global network
<a name="cloudwan-peerings-share-delete"></a>

Delete a transit gateway peering.

**To delete a shared peering**

1. Access the Network Manager console at [https://console.aws.amazon.com/networkmanager/home/](https://console.aws.amazon.com/networkmanager/home).

1. Under **Connectivity**, choose **Global Networks**.

1. On the **Global networks** page, choose the global network ID.

1. In the navigation pane, under **Shared by me**, choose **Peerings**.

1. Choose the **Peering ID** of the peer that you want to delete.

1. Choose **Delete**.

1. In the confirmation box, choose **Delete**.

   The **Peering** page displays a confirmation that you deleted the transit gateway peering.

# Edit shared peering tags in an AWS Cloud WAN global network
<a name="cloudwan-peerings-share-tags"></a>

Edit the tags associated with a shared transit gateway peering.

**To edit shared peering tags**

1. Access the Network Manager console at [https://console.aws.amazon.com/networkmanager/home/](https://console.aws.amazon.com/networkmanager/home).

1. Under **Connectivity**, choose **Global Networks**.

1. On the **Global networks** page, choose the global network ID.

1. In the navigation pane, under **Shared by me**, choose **Peerings**.

1. Choose the **Peering ID** of the peer that you want to add or modify tags for.

1. In the **Peering name** section, choose the **Tags** tab.

1. Choose **Edit tags**.

1. Do any of the following:
   + To add a new tag, choose **Add tag**, then add a new **Key** and **Value**.
   + To remove an existing tag, choose **Remove tag** for the tag that you want to delete.
   + To edit an existing tag, change the **Key** or **Value** text as needed.

1. Choose** Edit tags**.