Getting started with Amazon CloudWatch Internet Monitor using the console - Amazon CloudWatch

Getting started with Amazon CloudWatch Internet Monitor using the console

To help you get started with Amazon CloudWatch Internet Monitor, this chapter provides the steps for creating and configuring a monitor. You create a monitor in Internet Monitor for your application by naming it, and then adding AWS resources that your application uses.

You create a monitor in Amazon CloudWatch Internet Monitor for your application by adding AWS resources that it uses, and then setting several configuration options. The resources that you add, Amazon Virtual Private Cloud VPCs, Network Load Balancers (NLBs), CloudFront distributions, or WorkSpaces directories, provide the information for Internet Monitor to map internet traffic information for your application. After you create your monitor, wait 15-30 minutes to generate the traffic profile specific to where your application is used.

Then, use the Internet Monitor dashboard, or other tools, to visualize and explore performance and availability about your client usage. These tools provide insights for you using your application traffic's measurements gathered for you by the monitor.

The steps here walk you through setting up your monitor by using the console. To see examples of using the AWS Command Line Interface with the Internet Monitor API actions, to create a monitor, view events, and so on, see Examples of using the CLI with Amazon CloudWatch Internet Monitor.

Tasks

Step 1: Create a monitor

To create a monitor using the console
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the left navigation pane, under Network monitoring, choose Internet Monitor.

  3. Choose Create monitor.

  4. For Monitor name, enter the name you want to use for this monitor in Internet Monitor.

  5. Choose Add resources, and then select the resources to set the monitoring boundaries for Internet Monitor to use for this monitor.

    Note

    Be aware of the following:

    • To generate meaningful output with Internet Monitor, VPCs that you add must be connected to the internet by having an Internet Gateway configured.

    • You can add only one type of resource to a single monitor. For example, VPCs or CloudFront distributions or WorkSpaces directories, but not a combination of different types.

  6. Leave the default percentage of traffic as 100%, or choose another percentage of your internet traffic to monitor.

  7. Choose Create monitor.

Step 2: Configure the monitor

After you create a monitor, you can edit the monitor at any time, for example, to change the application traffic percentage, update the maximum city-networks limit or add or remove resources. You can also delete the monitor. To do these tasks in the Internet Monitor console, choose a monitor, and then choose an option in the Action menu. Note that you can’t change the name of a monitor.

For more information about configuring a monitor, see Configure a monitor using the console.

To configure a monitor using the console
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the left navigation pane, under Network monitoring, choose Internet Monitor.

  3. Choose Create monitor.

  4. For Monitor name, enter the name you want to use for this monitor in Internet Monitor.

  5. Choose Add resources, and then select the resources to set the monitoring boundaries for Internet Monitor to use for this monitor.

    Note

    Be aware of the following:

    • To generate meaningful output with Internet Monitor, VPCs that you add must be connected to the internet by having an Internet Gateway configured.

    • You can add only one type of resource to a single monitor. For example, VPCs or CloudFront distributions or WorkSpaces directories, but not a combination of different types.

  6. Leave the default percentage of traffic as 100%, or choose another percentage of your internet traffic to monitor.

  7. Choose Create monitor.

Step 3: View metrics and explore history

View metrics about your application's internet traffic, current and historical

For more information, see Configure a monitor using the console.

To explore metrics with a monitor using the console
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the left navigation pane, under Network monitoring, choose Internet Monitor.

  3. Choose Create monitor.

  4. For Monitor name, enter the name you want to use for this monitor in Internet Monitor.

  5. Choose Add resources, and then select the resources to set the monitoring boundaries for Internet Monitor to use for this monitor.

    Note

    Be aware of the following:

    • To generate meaningful output with Internet Monitor, VPCs that you add must be connected to the internet by having an Internet Gateway configured.

    • You can add only one type of resource to a single monitor. For example, VPCs or CloudFront distributions or WorkSpaces directories, but not a combination of different types.

  6. Leave the default percentage of traffic as 100%, or choose another percentage of your internet traffic to monitor.

  7. Choose Create monitor.

Step 4 (Optional): Delete the monitor

If you created a monitor as a test or if you're no longer using a monitor, you can delete it. Before you can delete a monitor, you must disable it.

To delete a monitor
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the left navigation pane, under Network monitoring, choose Internet Monitor.

  3. Choose your monitor, and then choose the Action menu.

  4. Choose Disable.

  5. Choose the Action menu again, and then choose Delete.