

# Sites and links in AWS Global Networks for Transit Gateways
Sites and links

After you've added any devices to your AWS global network, you can associate of your devices with that particular site using a connection, or link. For information on adding devices, see [Devices in AWS Global Networks for Transit Gateways](nm-devices.md).

## Sites


A site represents the physical location of your network, using location information such as latitude, longitude, and address. You can have multiple sites for each of your network locations. Sites are useful when viewing the global network dashboard, which provides you the geographical location of these sites based on location information you provided. Once you create a site you can view the devices associated with the site and create links between devices and sites. You can also view any VPNs associated with the site as well as monitor CloudWatch metrics for this site. 

## Links


A link represents the connection between a device and a site. Once you've added a device and created a site, you can create an association between the device and a site. 

Tasks

# Create a site using AWS Network Manager
Create a site

Create a site to represent the physical location of your network. Location information is used in the Network Manager transit gateway dashboards.

**To create a site**

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, choose **Sites**. Choose **Create site**.

1. For **Name** and **Description**, enter a name and description for the site.

1. For **Address**, enter the physical address of the site, for example, `New York, NY 10004`.

1. For **Latitude**, enter the latitude coordinates for the site, for example, `40.7128`.

1. For **Longitude**, enter the longitude coordinates for the site, for example, `-74.0060`.

1. Choose **Create site**.

**Creating and viewing a site using the AWS CLI**  
Use the following commands:
+ To create a site: [create-site](https://docs.aws.amazon.com/cli/latest/reference/networkmanager/create-site.html)
+ To view your sites: [get-sites](https://docs.aws.amazon.com/cli/latest/reference/networkmanager/get-sites.html)

# View site details using AWS Network Manager
View site details

View details about a core network site using the Network Manager console. 

**To view details about a site**

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, choose **Sites**.

1. Choose the link that you want to see site details for.

1. The **General details** page provides information about the site.

1. Choose the **Devices** tab. This page displays information about the devices that are connected to the site. If you don't see a device listed, you'll need to add it. For more information on adding devices, see [Add a device using AWS Network Manager](nm-devices-add.md).

1. Choose the **Links** tab. This page displays the links that represent a connection from a device. If you don't see a link listed, you'll need to create the link. For the steps to create a link, see [Add a link using AWS Network Manager](nm-site-link-add.md).

1. Choose the **VPNs** tab. This page displays site-related VPN information.

1. Choose the **Monitoring** tab. This page displays **Data In** and **Data Out** information for your links. 

1. From the dropdown list, choose the link that you want to view information for.

1. (Optional) Metrics and events use the default time set up in the CloudWatch Events event. To set a custom time frame, choose **Custom** and then choose a **Relative** or **Absolute** time, and then choose if you want to see that date range in **UTC** or the edge location's **Local time zone**.

   Choose **Add to dashboard** to add this metric to your CloudWatch dashboard. For more information about using CloudWatch dashboards, see [Using Amazon CloudWatch Dashboards](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html) in the *Amazon CloudWatch User Guide*.
**Note**  
The **Add to dashboard** option only works if your registered transit gateway is in the US West (Oregon) Region. 

# Update a site using AWS Network Manager
Update a site

Update any of the details of a site you've added, including the description, address, latitude, and longitude.

**To update a site**

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, choose **Sites**, and select your site.

1. Choose **Edit**.

1. Update the **Description**, **Address**, **Latitude**, **Longitude**, and **Tags** as needed.

1. Choose **Edit site**.

**Update a site using the AWS CLI**  
Use the [update-site](https://docs.aws.amazon.com/cli/latest/reference/networkmanager/update-site.html) command.

# Delete a site using AWS Network Manager
Delete a site

Delete sites from your global network if the site is no longer valid or you no longer want to return any information about the site. You must first disassociate the site from any devices and delete any links for the site.

**To delete a site**

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, choose **Sites**.

1. Select the site and choose **Delete**.

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

**Deleting a site using the AWS CLI**  
Use the [delete-site](https://docs.aws.amazon.com/cli/latest/reference/networkmanager/delete-site.html) command.

# Add a link using AWS Network Manager
Add a link

Add a link to associated a device with a site. 

**To add a link**

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, choose **Sites**.

1. Choose the link for the site **ID** that you want to add a link to, and then choose the **Links** tab.
**Note**  
Choose the link. Do not select the check box.

1. Choose the **Links** tab, and then choose **Create link**.

1. For **Name** and **Description**, enter a name and description for the link.

1. For **Upload speed (Mbps)**, enter the upload speed in Mbps.

1.  For **Download speed (Mbps)**, enter the download speed in Mbps. 

1. (Optional) For **Provider**, enter the name of the service provider. 

1. (Optional) For **Type**, enter the type of link, for example, **broadband**.

1. (Optional) Under **Additional settings**, add one or more **Key** and **Value** **Tags** to help further identify this link.

1. Choose **Create link**.

# Edit a link using AWS Network Manager
Edit a link

Edit the link between two devices in your Cloud WAN global network.

**To update a link**

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, choose **Sites**.

1. Choose the **Links** tab.

1. On the **Links** page, select the check box for the link that you want to update, and then choose **Edit**.

1. Modify any of the link settings as needed, including adding, editing, or removing tags.

1. Choose **Edit link**.

# Delete a link using AWS Network Manager
Delete a link

You can delete the link between two devices without deleting the devices.

**To delete a link**

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, choose **Sites**.

1. Choose the **Links** tab.

1. On the **Links** page, select the check box for the link that you want to delete, and then choose **Delete**.

1. Confirm that you want to delete the link by choosing **Delete** again.