It's an example CDK application using SimpleNAT. This application create NAT instances that provisions sshuttle setuping tunnel for specified IP ranges.
- create below two Systems Manager parameters for storing remote host information and private key of SSH.
remote-key
the private key of remote serverremote-host
the host information of remote server, for example,user@remote-server-ip
- the existing VPC with public subnets and private/isolate subnets
yarn install --check-files --frozen-lockfile
npx cdk deploy -c vpcId=<the vpcId of existing vpc>