Amazon MWAA Environment pattern-based discovery
Summarize
Summary of Amazon MWAA Environment pattern-based discovery
The Amazon MWAA Environment pattern-based discovery in ServiceNow enables automated identification and mapping of AWS Managed Workflows for Apache Airflow (MWAA) environments within your cloud infrastructure. This discovery leverages the Discovery and Service Mapping Patterns application, which requires proper configuration and adherence to AWS discovery prerequisites.
Show less
Key Features
- Pattern Activation: The MWAA environment discovery pattern is disabled by default and must be enabled. Starting with Visibility Content version 6.28.0, enabling or disabling patterns does not count as customization, ensuring smooth updates.
- Discovery Scheduling for AWS GovCloud: When discovering AWS GovCloud (US) accounts, you need to configure the discovery schedule to use a datacenter URL specific to GovCloud.
- Resource Inclusion List Management: To avoid duplicate discoveries, ensure that MWAA resources are not listed in the Resource Inclusion List [sacloudinventoryresourcewhitelist] table.
- Data Population:
- Non-CMDB Data: The pattern captures detailed MWAA environment data such as the Airflow version and Amazon Resource Name (ARN), storing it in the non-CMDB table cmdbawsmanagedworkflowsforapacheairflowenvironment.
- CMDB Data: Core configuration items for MWAA environments are stored in the CMDB table cmdbcicloudappserver, including installation status, operational status, and resource type (set as AWS::MWAA::Environment).
- Tag Collection: AWS tags associated with MWAA environments are collected and stored in the cmdbkeyvalue table for asset and configuration management.
- Configuration Item Relationships: The pattern creates relationships linking MWAA environments to their hosting AWS Datacenters and corresponding Cloud App Servers, enabling comprehensive service mapping.
Practical Considerations for ServiceNow Customers
- Before enabling the MWAA discovery pattern, verify that AWS discovery prerequisites are met and the relevant AWS service accounts are set up correctly.
- Manage the Resource Inclusion List carefully to prevent duplicate resource entries during discovery.
- Enable the MWAA environment pattern through the Discovery and Service Mapping Patterns application to begin discovery and mapping of MWAA resources.
- Review both CMDB and non-CMDB data tables post-discovery to gain comprehensive visibility into your Apache Airflow environments on AWS.
- Use the relationships established by the pattern to understand dependencies and hosting infrastructure, improving change impact analysis and operational awareness.
Discovery and Service Mapping Patterns finds AWS services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Pattern-based discovery and mapping requirements
- Verify the AWS discovery prerequisites
- For more information, see the prerequisites section in Amazon AWS Cloud components discovery using patterns.
- Remove resources from the Resource Inclusion List table
- Verify that the relevant resource isn't listed in the Resource Inclusion List [sa_cloud_inventory_resource_whitelist] table to avoid duplicate discovery. For more information on removing resources from the Resource Inclusion List, see Amazon Web Services (AWS) Resource Inventory.
- Enable the relevant pattern
- The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see Activate a disabled pattern.
- Configure the Discovery schedule to support GovCloud
- Discovering AWS GovCloud (US) accounts requires using a datacenter URL when setting up an AWS service account. For more information, see Create AWS service accounts.
Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.
Data stored in non-CMDB tables
Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - Managed Workflows for Apache Airflow Environment - Extended Inventory (LP) pattern.
You can review the non-CMDB AWS tables by navigating to . You can also search the navigation filter for the specific pattern name.
| Field | Description |
|---|---|
| Name [name] | The display name or identifier for the Airflow environment. |
| Airflow Version [airflow_version] | The specific version of Apache Airflow running in the environment. |
| Configuration Item [configuration_item] | References the Cloud App Server [cmdb_ci_cloud_appserver] table. |
| Object Id [object_id] | The Amazon Resource Name (ARN) uniquely identifying the Airflow environment. |
Data stored in CMDB tables
Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - Managed Workflows for Apache Airflow Environment - Extended Inventory (LP) pattern.
| Field | Description |
|---|---|
| Name [name] | The display name or identifier for the Airflow environment. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
| Object ID [object_id] | The ARN uniquely identifying the Airflow environment. |
| Operational status [operational_status] | Operational status of the resource. Default value is Operational. |
| Type [type] | Type of resource. The value is set to AWS::MWAA::Environment. |
CI relationships
The Amazon AWS - Managed Workflows for Apache Airflow Environment - Extended Inventory (LP) pattern creates these relationships to support Amazon MWAA Environment discovery.
| CI | Relationship | CI |
|---|---|---|
| Cloud App Server [cmdb_ci_cloud_appserver] | Hosted on::Hosts | AWS Datacenter [cmdb_ci_aws_datacenter] |
| AWS Managed Workflows for Apache Airflow Environment [cmdb_aws_managed_workflows_for_apache_airflow_environment] | References | Cloud App Server [cmdb_ci_cloud_appserver] |
AWS tag discovery
| Field | Description |
|---|---|
| Key [key] | Tag name. |
| Value [value] | Tag value. |