Monitoring cost and portfolio with Service Catalog AppRegistry - Scalable Analytics Using Apache Druid on AWS

Monitoring cost and portfolio with Service Catalog AppRegistry

The Scalable Analytics using Apache Druid on AWS solution includes a Service Catalog AppRegistry resource to register the resources included in the solution's CloudFormation template as an application in both Service Catalog AppRegistry and AWS Systems Manager Application Manager.

AWS Systems Manager Application Manager gives you an application-level view into this solution and its resources so that you can:

  • Monitor its resources, costs for the deployed resources across stacks and AWS accounts, and logs associated with this solution from a central location.

  • View operations data for the resources of this solution in the context of an application. For example, deployment status, CloudWatch alarms, resource configurations, and operational issues.

The following figure depicts an example of the application view for the Scalable Analytics using Apache Druid on AWS stack in Application Manager.

Scalable Analytics using Apache Druid on AWS stack in Application Manager

Scalable Analytics using Apache Druid on AWS stack in Application Manager

Note

You must activate CloudWatch Application Insights, AWS Cost Explorer, and cost allocation tags associated with this solution. They are not activated by default.

Activate CloudWatch Application Insights

  1. Sign in to the Systems Manager console.

  2. In the navigation pane, choose Application Manager.

  3. In Applications, choose AppRegistry applications.

  4. In AppRegistry applications, search for the application name for this solution and select it.

The next time you open Application Manager, you can find the new application for your solution in the AppRegistry application category.

  1. In the Components tree, choose the application stack you want to activate.

  2. In the Monitoring tab, in Application Insights, select Auto-configure Application Monitoring.

Auto configure Application Monitoring

Auto configure application monitoring

Monitoring for your applications is now activated and the following status box appears:

Application insights overview.

Application monitoring activated

Activate AWS Cost Explorer

You can see the overview of the costs associated with the application and application components within the Application Manager console through integration with AWS Cost Explorer which must be first activated. Cost Explorer helps you manage costs by providing a view of your AWS resource costs and usage over time. To activate Cost Explorer for the solution:

  1. Sign in to the AWS Cost Management console.

  2. In the navigation pane, select Cost Explorer.

  3. On the Welcome to Cost Explorer page, choose Launch Cost Explorer.

The activation process can take up to 24 hours to complete. Once activated, you can open the Cost Explorer user interface to further analyze cost data for the solution.

Activate cost allocation tags associated with the solution

After you activate Cost Explorer, you must activate the cost allocation tags associated with this solution to see the costs for this solution. The cost allocation tags can only be activated from the management account for the organization. To activate cost allocation tags:

  1. Sign in to the AWS Billing and Cost Management and Cost Management console.

  2. In the navigation pane, select Cost Allocation Tags.

  3. On the Cost allocation tags page, filter for the AppManagerCFNStackKey tag, then select the tag from the results shown.

  4. Choose Activate.

The activation process can take up to 24 hours to complete and the tag data to appear.