AWS offers many services in the cloud, bringing simplicity and flexibility in the implementation of hosted infrastructures, but knowing and tracking your budget is complex and difficult to anticipate.
This difficulty is mainly due to the billing method. The invoice depends on a large number of parameters and in particular on the automatic scalability of the architecture, which is able to grow automatically as traffic increases.
ServiceNav allows real-time monitoring of your costs
Thanks to the supervision in ServiceNav, it is possible to be alerted at the earliest possible moment when your budget is exceeded.
Configuring Amazon Web Services
To monitor AWS costs from ServiceNav, you need to add billing information in CloudWatch :
- Open the Billing and Cost Management console at https://console.aws.amazon.com/billing/.
- In the navigation panel, choose Billing Preferences.
- Choose Receive Billing Alerts.
- Choose Save preferences.
Once this option is activated, the billing data will be added within 15 minutes in CloudWatch.
To monitor AWS billing in ServiceNav, simply add a checkpoint based on the service model. AWS-Paas-Cloudwatch to existing equipment
In the availability and control tab, fill in as follows:
Region You can override the account configuration at equipment level if you have several checkpoints.
Name of metric : the name of the metric is available in Cloudwatch, (see the following figure in green)
Dimensions Indicate the name of the dimension (in red) and the value of the dimension (in blue) (see following figure) according to the form Name=Dimension_name,Value=Dimension_value
Name space Enter the character string "AWS/Billing".
To know the name of the metric, the name of the dimension and the value of the dimension to fill in, go to the metric tab of CloudWatch, then Billing > by service. Select the metric to retrieve and go to the Source tab.
A page like this one will show you the necessary information:
Here the namespace is circled in black, the name of the metric is circled in green, the name of the dimension is in red and the value of the dimension is in blue.