We can create a CloudWatch dashboard as follows:
- Go to the CloudWatch service in the console.
- Click on Dashboards from the left sidebar.
- Click on Create dashboard.
- In the pop-up screen, give the dashboard a Name and click Create dashboard. I have set the Name to MySecurityDashboard.
- On the screen for selecting a widget type, select Line and click Configure:
- From the list of metric categories, click on Billing.
- Select By Service.
- Select all the services you need to monitor. Change the duration and type if needed. Here, I have selected a duration of 1 week, denoted as 1w, and set the type to Line:
- Scroll down and click ...