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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file kong-core-2.0.17.tar.gz.

File metadata

  • Download URL: kong-core-2.0.17.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for kong-core-2.0.17.tar.gz
Algorithm Hash digest
SHA256 15cc7eccb5a1c8823824b06891d1347f4765161a04efc5c9848d4d15e4e8f71c
MD5 b55ba39d65bb1b9a22c8ebd737e4db79
BLAKE2b-256 3aa29f6350c50645076a3b2cd17f5284beaf97fa4ed25389f47b33a22a103091

See more details on using hashes here.

File details

Details for the file kong_core-2.0.17-py3-none-any.whl.

File metadata

  • Download URL: kong_core-2.0.17-py3-none-any.whl
  • Upload date:
  • Size: 66.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for kong_core-2.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 8ca1fedc5bcfb935cbda915019357d1a6a8c12144f74b2ad1e9ac55dd3110192
MD5 a248c98ad200b48dc3cfa2456dc5ad43
BLAKE2b-256 2c71d58ea8178eee0de3c2b5bd4e0b9539fbd859e1ddec511cdd5d6ba32a21ac

See more details on using hashes here.

Supported by

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