Skip to content

nekrassov01/cdk-log-aggregator

Repository files navigation

cdk-log-aggregator

Sample CDK application that configures the access log collection system on AWS.

Diagram

diagram

Supported

  • CloudFront
  • ALB
  • NLB
  • EC2 (httpd logs via td-agent)

Prerequisites

First, define the context as follows:

{
  ...
  "context": {
    ...
    "owner": "user",
    "serviceName": "myapp",
    "hostedZoneName": "your-domain.com"
  }
}

Usage

Deploy resources with the following command:

npx cdk synth
npx cdk deploy

About

Sample of log collection in AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published