Skip to main content

Kong CDK Construct Library to deploy Core common infrastructural constructs

Project description

kong-core

NPM version PyPI version

Downloads npm PyPI

Use this Kong CDK Construct Library to deploy Core common infrastructural constructs .

This CDK library automatically creates and configures recommended architecture on AWS by:

  • Amazon EKS

    • Well architected EKS cluster from networking standpoint
    • Cluster autoscaler
    • Node termination handler
    • Secrets management from AWS Secrets Manager using CSI driver
    • mTLS using AWS ACM for pod to pod communication using private certificate authority and aws-pca-issuer
    • Use of IAM Role for Service Account (IRSA) where applicable
    • AWS EKS encryption at rest
    • Metrics server installation
    • Logs and metrics to cloudwatch using AWS CloudWatch Container insights
  • Elasticache

    • private accessibility
    • multi az
    • auto failover
    • auto minor version upgrade
    • cwl output
  • RDS Features

    • Encryption at rest
    • Private subnets
    • Multiaz
    • auto backup
    • Logs output to CloudWatch

npm Package Installation:

yarn add --dev kong-core
# or
npm install kong-core --save-dev

PyPI Package Installation:

pip install kong-core

Sample

Try out https://github.com/kong/aws-samples for the complete sample application and instructions.

Resources to learn about CDK

Related

Kong on AWS Hands on Workshop - https://kong.awsworkshop.io/

Useful commands

  • rm -rf node_modules && rm package.json && rm package-lock.json && rm yarn.lock && rm tsconfig.dev.json cleans the directory
  • npm install projen installs projen
  • npx projen build Test + Compile + Build JSII packages
  • npx projen watch compile and run watch in background
  • npm run test perform the jest unit tests

Tips

  • Use a locked down version of constructs and aws-cdk-lib. Even with CDK V2 i saw https://github.com/aws/aws-cdk/issues/542 repeating when there is minor version mismatch of construcs. AWS CDK init commands generate package.json file without locked down version of constructs library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kong-core-2.0.17.tar.gz (68.8 kB view hashes)

Uploaded Source

Built Distribution

kong_core-2.0.17-py3-none-any.whl (66.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page