https://github.com/awsdataarchitect/eice-redshift-cdk
CDK code to demo connectivity to Redshift Cluster inside VPC using EC2 Instance Connect Endpoint
https://github.com/awsdataarchitect/eice-redshift-cdk
aws cdk cloudsecurity ec2-instance-connect-endpoint redshift
Last synced: 3 months ago
JSON representation
CDK code to demo connectivity to Redshift Cluster inside VPC using EC2 Instance Connect Endpoint
- Host: GitHub
- URL: https://github.com/awsdataarchitect/eice-redshift-cdk
- Owner: awsdataarchitect
- Created: 2023-07-23T00:14:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T17:22:25.000Z (almost 2 years ago)
- Last Synced: 2024-04-17T09:51:24.201Z (about 1 year ago)
- Topics: aws, cdk, cloudsecurity, ec2-instance-connect-endpoint, redshift
- Language: Python
- Homepage: https://vivek-aws.medium.com/securely-connecting-to-an-aws-redshift-cluster-not-publicly-accessible-in-your-vpc-by-using-ec2-21609873184c
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Securely Connecting to an AWS Redshift Cluster (not publicly accessible) in your VPC by using EC2 Instance Connect Endpoint over the Internet without the need of a VPN/Bastion host and SSH
This is a CDK project written in TypeScript that provisions a Redshift Cluster, EC2 Instance Connect Endpoint, CloudFormation Custom Resources/Lambda, IAM Roles/Policies, Security Groups, Route Tables, Private Subnets, and a VPC.
The `cdk.json` file tells the CDK Toolkit how to execute your app.
## Useful commands
* `npm run build` compile typescript to js
* `npm run watch` watch for changes and compile
* `npm run test` perform the jest unit tests
* `cdk deploy` deploy this stack to your default AWS account/region
* `cdk diff` compare deployed stack with current state
* `cdk synth` emits the synthesized CloudFormation template