Skip to content

"Centralized Logging with OpenSearch" does not support GovCloud?

0

Hi all

I'm trying to test "Centralized Logging with OpenSearch" solution - https://docs.aws.amazon.com/solutions/latest/centralized-logging-with-opensearch/solution-overview.html in the US GovCloud. But I encountered the following error:

Template error: Unable to get mapping for ELBRootAccountArnTable::us-gov-east-1::elbRootAccountArn

Does it mean the solution does not support GovCloud?

Thanks.

asked 2 years ago218 views

1 Answer
0
Accepted Answer

Hi Ike,

Great question! Let's address the issue you're facing with centralized logging and GovCloud support. 😊


Clarifying the Issue

The error you encountered—Unable to get mapping for ELBRootAccountArnTable::us-gov-east-1:elbRootAccountArn—indicates that the CloudFormation template for the "Centralized Logging with OpenSearch" solution could not map an ARN specific to your GovCloud region. This might suggest that the solution, as it is currently implemented, does not include support for AWS GovCloud regions. GovCloud often requires additional adjustments due to its unique compliance and security requirements.


Key Terms

  1. GovCloud: AWS GovCloud is a specialized region designed for government agencies and customers requiring compliance with strict regulatory and compliance standards.
  2. Centralized Logging with OpenSearch: A pre-built AWS solution to centralize, manage, and analyze logs using the Amazon OpenSearch Service.
  3. ELBRootAccountArn: A key in the CloudFormation template representing the Elastic Load Balancer’s root account ARN for specific regions.

The Solution (Our Recipe)

  1. Confirm Documentation for GovCloud Support:
    • Review the solution's documentation here to see if GovCloud support is explicitly mentioned. If not, this could confirm the issue.

  1. Adjust the CloudFormation Template:

    • Download the CloudFormation template for the solution.
    • Check for region mappings in the Mappings section for us-gov-east-1 or us-gov-west-1.

    Example: In a typical CloudFormation template, you might see something like:

    Mappings:
      ELBRootAccountArnTable:
        us-east-1:
          elbRootAccountArn: arn:aws:iam::127311923021:root
        us-west-2:
          elbRootAccountArn: arn:aws:iam::797873946194:root

    For GovCloud, you’ll need to add entries like this:

        us-gov-east-1:
          elbRootAccountArn: arn:aws-us-gov:iam::027742884148:root
        us-gov-west-1:
          elbRootAccountArn: arn:aws-us-gov:iam::048591011584:root

    These ARNs are specific to GovCloud and need to replace or complement entries for commercial regions.


  1. Use GovCloud-Compatible ARNs:
    • Beyond ELBRootAccountArn, ensure any other ARNs in the template are updated for GovCloud. For example, update ARNs for Lambda functions or S3 buckets to include aws-us-gov instead of aws.

  1. Contact AWS Support:
    • Open a support ticket with AWS to confirm if the solution is officially supported in GovCloud. If not, request guidance or alternative approaches for centralized logging in GovCloud.

  1. Explore Custom Alternatives:
    • If official support isn’t available, consider deploying OpenSearch and log-forwarding pipelines (e.g., using Kinesis or CloudWatch Logs) tailored specifically for GovCloud.

Closing Thoughts

It seems the template might not currently support GovCloud out of the box. Custom modifications or direct AWS support may be necessary. Tackling this could even improve the solution for other GovCloud users! Let us know how things progress—happy to assist further. 🌟


Cheers, Aaron 🚀

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.