DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Cross Account Amazon CloudWatch Metric Sharing

4 years ago dzone.com
Cross Account Amazon CloudWatch Metric Sharing

Summary: This is a summary of an article originally published by the source. Read the full original article here →

by There are scenarios where we would like to share Amazon CloudWatch metrics with another AWS account and then retrieve the data programmatically.

It will ask for: We will use the Boto3 python library to retrieve the metrics.

Next, we will retrieve the list of EC2 instances in Account A, iterate over this list and get the metrics for each EC2 instance.

This is how we can share the metrics data across two AWS accounts and retrieve it.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com