/cdk-eks-fargate

Primary LanguageTypeScriptMIT No AttributionMIT-0

CDK with EKS on Fargate

This repo contains code sample demonstrating how to leverage cdk, cdk8s and cdk8s+ to provision an ESK cluster with Fargate node groups, deploy workloads and expose Kubernetes services.

High Level Architecture

Prerequisites

In addition to an AWS account with permissions to create and manage Amazon EKS cluster, S3 bucket, AWS fargate and the Application Load Balancer, the following tools are also required:

  • AWS CDK >= 1.93.0.
  • Kubernetes command line tool kubectl.
  • A current version of nodejs.

What is being deployed

  • VPC with private subnets.
  • EKS cluster with Fargate nodegroup.
  • Application Load Balancer.
  • S3 bucket for K8s workloads.

Usage

Simply deploy the stack with AWS CDK

git clone git@github.com:aws-samples/cdk-eks-fargate.git
cd cdk-eks-fargate
npm install
cdk deploy

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.