Create a Prometheus workspace
This guide shows you how to create a Amazon Managed Service for Prometheus workspace.
What is Amazon Managed Service for Prometheus?
It's a storage service for Prometheus metrics, built on Cortex.
The default retention time is 150 days.1 You can request an account-level quota increase from Amazon if you need more.
Reference implementation
Step 1: Create a stack for observability
Step 2: Set up the module
Download the module template:
Step 3: Apply the configuration
Initialize Terraform and apply the configuration:
Next steps
- Create a Grafana workspace to visualize metrics.