mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-23 08:05:11 +00:00
Adding Module and Example for ECS cluster monitoring with ecs_observer (#211)
* Adding Module and Example for ECS cluster monitoring with ecs_observer * Adding Module and Example for ECS cluster monitoring with ecs_observer * Incorporating PR comments * Restructuring Examples and modules folder for ECS, Added content in main Readme * Fixing path as per PR comments * Parameterzing the config files, incorporated PR review comments * Adding condition for AMP WS and fixing AMP endpoint * Adding Document for ECS Monitoring and parameterized some variables * Added sample dashboard * Adding Document for ECS Monitoring and parameterized some variables * Fixing failures detected by pre-commit * Fixing failures detected by pre-commit * Fixing failures detected by pre-commit * Pre-commit fixes * Fixing failures detected by pre-commit * Fixing failures detected by pre-commit * Pre-commit * Fixing HIGH security alerts detected by pre-commit * Fixing HIGH security alerts detected by pre-commit * Fixing HIGH security alerts detected by pre-commit, 31stOct * Add links after merge * 2ndNov - Added condiotnal creation for Grafana WS and module versions for AMG, AMP --------- Co-authored-by: Rodrigue Koffi <bonclay7@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Example Amazon ECS Cluster with VPC
|
||||
This example deploys an AWS ECS Cluster with VPC and also add the ECS Monitoring module
|
||||
|
||||
## Prerequisites
|
||||
|
||||
!!! note
|
||||
Make sure to complete the [prerequisites section](https://aws-observability.github.io/terraform-aws-observability-accelerator/concepts/#prerequisites) before proceeding.
|
||||
|
||||
## Setup
|
||||
#### 1. Download sources and initialize Terraform¶
|
||||
|
||||
```
|
||||
git clone https://github.com/aws-observability/terraform-aws-observability-accelerator.git
|
||||
cd terraform-aws-observability-accelerator/examples/ecs-cluster-with-vpc
|
||||
terraform init
|
||||
```
|
||||
|
||||
#### 2. AWS Region¶
|
||||
Specify the AWS Region where the resources will be deployed:
|
||||
|
||||
```
|
||||
export TF_VAR_aws_region=xxx
|
||||
```
|
||||
|
||||
#### 3. Terraform Plan to validate the changes/updates
|
||||
|
||||
```
|
||||
terraform plan
|
||||
```
|
||||
|
||||
## Deploy
|
||||
|
||||
Simply run this command to deploy the example
|
||||
|
||||
```bash
|
||||
terraform apply
|
||||
```
|
||||
|
||||
## Cleanup
|
||||
|
||||
To clean up your environment, destroy the Terraform example by running
|
||||
|
||||
```sh
|
||||
terraform destroy
|
||||
```
|
||||
Reference in New Issue
Block a user