- AWS Credentials
export AWS_ACCESS_KEY_ID="AXXXXXABCDEFFHIG"
export AWS_SECRET_ACCESS_KEY="ZXXJFJFJFJFJFJJFJFJFJFJJFXXXX"
export AWS_DEFAULT_REGION=us-east-2
- Key-Pair
Create VPC,EKS cluster and Node Group
cdk deploy
Skip VPC creation and use existing VPC - Creates EKS Cluster and Node Group
cdk deploy -c use_vpc_id=vpc-0bxxxxxxxxxxx
Create EKS cluster in existing VPC without Nodegroup
cdk deploy -c use_vpc_id=vpc-0bxxxxxxxxxxx -c no_ng=1
Skip Nodegroup - Creates only VPC and EKS Control plane.
cdk deploy -c no_ng=1
Deploy Nodegroup without EFS filesystem
cdk deploy -c no_fs=1
Deploy Only VPC and Skip the rest of the deployment
cdk deploy -c only_vpc=1