Skip to content

Conversation

frank-ang
Copy link

Description

New terraform module: ecs-ec2-windows example/demo.

Terraform module to launch an example ECS Service illustrating the deployment of a demo Windows container application alongside an Coralogix Opentelemetry Collector running in a sidecar Windows container to collect logs and metrics from applications within the ECS Task, and forwarding to Coralogix. The defatult sample application logs to STDOUT every second, and you can replace this example your own container application image. This example requires deployment into existing AWS ECS Cluster on EC2 Windows container instances.

Fixes CDS840 Create integration for windows ECS on EC2 (update CF and create TF)

How Has This Been Tested?

  1. Create ECS cluster on EC2 Windows
  2. Configure tests/ecs-ec2-windows/terraform.tfvars with: ecs_cluster_name, subnet_ids, security_group_id, api_key, coralogix_region
  3. Deploy
    cd tests/ecs-ec2-windows/
    terraform init && terraform validate && terraform plan
    terraform apply -auto-approve
    
  4. Verify container logs and metrics on the Coralogix console. Example app sends 1 log every second.

Checklist:

  • [ ✅ ] I have updated the relevant example in the examples directory for the module.
  • [ ✅ ] I have updated the relevant test file for the module.
  • [ N.A. ] This change does not affect module (e.g. it's readme file change)

* examples, tests, READMEs, custom app image, cleanup
* ecs ec2 coralogix-monitor-demo-service, startup, container dependencies.
@frank-ang frank-ang requested a review from a team as a code owner November 22, 2023 08:24
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants