|
1 | 1 | # AWS Observability Accelerator for Terraform
|
2 | 2 |
|
3 |
| -Welcome to AWS Observability Accelerator for Terraform! |
| 3 | +Welcome to the AWS Observability Accelerator for Terraform! |
4 | 4 |
|
5 |
| -## Getting Started |
| 5 | +The AWS Observability accelerator for Terraform is a set of modules to help you |
| 6 | +configure Observability for your Amazon EKS clusters with AWS Observability services. |
| 7 | +This project proposes a core module to bootstrap your cluster with the AWS Distro for |
| 8 | +OpenTelemetry (ADOT) Operator for EKS, Amazon Managed Service for Prometheus (AMP), |
| 9 | +Amazon Managed Grafana (AMG). Additionally we have a set of workloads modules to |
| 10 | +leverage curated ADOT collector configurations, Grafana dashboards, |
| 11 | +Prometheus recording rules and alerts. |
6 | 12 |
|
| 13 | +You can check our [examples](./examples) for different end-to-end integrations scenarios. |
7 | 14 |
|
8 |
| -## Documentation |
| 15 | +We will be leveraging [EKS Blueprints](https://github.com/aws-ia/terraform-aws-eks-blueprints) |
| 16 | +repository to deploy the solution. |
9 | 17 |
|
| 18 | +## Example Usage |
10 | 19 |
|
11 |
| -## Examples |
| 20 | +The sections below demonstrate how you can leverage AWS Observability Accelerator |
| 21 | +to enable monitoring to an existing EKS cluster. |
12 | 22 |
|
| 23 | +### Base Module |
13 | 24 |
|
14 |
| -## Usage |
| 25 | +The base module allows you to configure the AWS Observability services for your cluster and |
| 26 | +the AWS Distro for OpenTelemetry (ADOT) Operator as the signals collection mechanism. |
15 | 27 |
|
| 28 | +This is the minimum configuration to have a new Managed Grafana Workspace, Amazon Managed |
| 29 | +Service for Prometheus Workspace, ADOT Operator deployed for you and ready to receive your |
| 30 | +data. |
16 | 31 |
|
17 |
| -## Submodules |
| 32 | +```hcl |
| 33 | +module "eks_observability_accelerator" { |
| 34 | + source = "aws-observability/terrarom-aws-observability-accelerator" |
| 35 | + aws_region = "eu-west-1" |
| 36 | + eks_cluster_id = "my-eks-cluster" |
| 37 | +} |
| 38 | +``` |
| 39 | + |
| 40 | +You can optionally reuse existing Workspaces: |
| 41 | + |
| 42 | +```hcl |
| 43 | +module "eks_observability_accelerator" { |
| 44 | + source = "aws-observability/terrarom-aws-observability-accelerator" |
| 45 | + aws_region = "eu-west-1" |
| 46 | + eks_cluster_id = "my-eks-cluster" |
| 47 | +
|
| 48 | + # prevents creation of a new AMP workspace |
| 49 | + enable_managed_prometheus = false |
| 50 | +
|
| 51 | + # reusing existing AMP |
| 52 | + managed_prometheus_workspace_id = "ws-abcd123..." |
| 53 | +
|
| 54 | + # prevents creation of a new AMG workspace |
| 55 | + enable_managed_grafana = false |
| 56 | +
|
| 57 | + managed_grafana_workspace_id = 'g-abcdef123' |
| 58 | + grafana_api_key = var.grafana_api_key |
| 59 | +} |
| 60 | +``` |
| 61 | + |
| 62 | +View all the configuration options in the module documentation below. |
| 63 | + |
| 64 | +### Workload modules |
| 65 | + |
| 66 | +We provide also workloads modules which essentially provide curated |
| 67 | +metrics collection, alerting rule and Grafana dashboards. |
| 68 | + |
| 69 | + |
| 70 | +#### Infrastructure monitoring |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | +```hcl |
| 75 | +module "workloads_infra" { |
| 76 | + source = "aws-observability/terrarom-aws-observability-accelerator/workloads/infra" |
| 77 | +
|
| 78 | + eks_cluster_id = module.eks_observability_accelerator.eks_cluster_id |
| 79 | +
|
| 80 | + dashboards_folder_id = module.eks_observability_accelerator.grafana_dashboards_folder_id |
| 81 | + managed_prometheus_workspace_id = module.eks_observability_accelerator.managed_prometheus_workspace_id |
| 82 | +
|
| 83 | + managed_prometheus_workspace_endpoint = module.eks_observability_accelerator.managed_prometheus_workspace_endpoint |
| 84 | + managed_prometheus_workspace_region = module.eks_observability_accelerator.managed_prometheus_workspace_region |
| 85 | +} |
| 86 | +``` |
| 87 | + |
| 88 | +Grafana dashboard |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | +To quickstart with a complete workflow, visit the [existing cluster with base and module example](./examples/existing-cluster-with-base-and-infra/) |
18 | 93 |
|
19 | 94 |
|
20 | 95 | ## Motivation
|
21 | 96 |
|
| 97 | +Kubernetes is a powerful and extensible container orchestration technology that allows you to deploy and manage containerized applications at scale. The extensible nature of Kubernetes also allows you to use a wide range of popular open-source tools, commonly referred to as add-ons, in Kubernetes clusters. With such a large number of tooling and design choices available however, building a tailored EKS cluster that meets your application’s specific needs can take a significant amount of time. It involves integrating a wide range of open-source tools and AWS services and requires deep expertise in AWS and Kubernetes. |
| 98 | + |
| 99 | +AWS customers have asked for examples that demonstrate how to integrate the landscape of Kubernetes tools and make it easy for them to provision complete, opinionated EKS clusters that meet specific application requirements. Customers can use AWS Observability Accelerator to configure and deploy purpose built EKS clusters, and start onboarding workloads in days, rather than months. |
22 | 100 |
|
23 | 101 | ## Support & Feedback
|
24 | 102 |
|
| 103 | +AWS Oservability Accelerator for Terraform is maintained by AWS Solution Architects. It is not part of an AWS service and support is provided best-effort by the AWS Oservability Accelerator community. |
| 104 | + |
| 105 | +To post feedback, submit feature ideas, or report bugs, please use the Issues (https://github.com/aws-observability/terraform-aws-observability-accelerator/issues) section of this GitHub repo. |
| 106 | + |
| 107 | +If you are interested in contributing to EKS Blueprints, see the Contribution (https://github.com/aws-observability/terraform-aws-observability-accelerator/blob/main/CONTRIBUTING.md) guide. |
| 108 | + |
25 | 109 | ---
|
26 | 110 |
|
27 | 111 | <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|
@@ -96,7 +180,7 @@ Welcome to AWS Observability Accelerator for Terraform!
|
96 | 180 | | <a name="output_managed_prometheus_workspace_region"></a> [managed\_prometheus\_workspace\_region](#output\_managed\_prometheus\_workspace\_region) | n/a |
|
97 | 181 | <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|
98 | 182 |
|
99 |
| -## Security |
| 183 | +## Contributing |
100 | 184 |
|
101 | 185 | See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
|
102 | 186 |
|
|
0 commit comments