Sites
You can represent your on-premises network in your global network through sites, devices, and links. For more information, see Define and associate your on-premises network. You then associate a device with a site and one or more links.
A site is created for a specific global network and cannot be shared with other global networks.
Create a site
Create a site to represent the physical location of your network. The location information is used for visualization in the Network Manager console.
To create a site
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/
. -
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Sites. Choose Create site.
-
For Name and Description, enter a name and description for the site.
-
For Address, enter the physical address of the site, for example,
New York, NY 10004
. -
For Latitude, enter the latitude coordinates for the site, for example,
40.7128
. -
For Longitude, enter the longitude coordinates for the site, for example,
-74.0060
. -
Choose Create site.
Creating and viewing a site using the AWS CLI
Use the following commands:
-
To create a site: create-site
-
To view your sites: get-sites
Update a site
You can update the details of your site, including the description, address, latitude, and longitude.
To update a site
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/
. -
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Sites, and select your site.
-
Choose Edit.
-
Update the description, address, latitude, longitude, and tags as needed.
-
Choose Edit site.
Updating a site using the AWS CLI
Use the update-site command.
Delete a site
If you no longer need a site, you can delete it. You must first disassociate the site from any devices and delete any links for the site.
To delete a site
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/
. -
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Sites.
-
Select the site and choose Delete.
-
In the confirmation dialog box, choose Delete.
Deleting a site using the AWS CLI
Use the delete-site command.