Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-ec2: L2 Construct for EC2 Instance Connect Endpoint #31896

Open
2 tasks
aaroncowie opened this issue Oct 25, 2024 · 3 comments
Open
2 tasks

aws-ec2: L2 Construct for EC2 Instance Connect Endpoint #31896

aaroncowie opened this issue Oct 25, 2024 · 3 comments
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@aaroncowie
Copy link

Describe the feature

An L1 construct is available, however an L2 construct would be handy.

L1 Construct:
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnInstanceConnectEndpoint.html

Original issue where L1 construct was added:
#26226

Use Case

Tunnel into private subnets via a bastion host without needing to expose the ssh port publicly.

Being able to manage the EC2 Instance Connect Endpoint ergonomically with CDK rather than manually managing the resource or using Cfn L1 constructs.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.163.1

Environment details (OS name and version, etc.)

MacOS Sonoma

@aaroncowie aaroncowie added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Oct 25, 2024
@github-actions github-actions bot added the @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud label Oct 25, 2024
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Oct 25, 2024
@khushail khushail self-assigned this Oct 25, 2024
@khushail
Copy link
Contributor

Thanks @aaroncowie for submitting the feature request. I am marking this as P2 (it already has L1 construct as a workaround) which means it might no be immediately addressed by the team but would be on their radar.
Hope that is helpful!

@khushail khushail added effort/medium Medium work item – several days of effort p2 and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Oct 25, 2024
@khushail khushail removed their assignment Oct 25, 2024
@mazyu36
Copy link
Contributor

mazyu36 commented Oct 26, 2024

FYI, L2 Instance Endpoint Construct created by @badmintoncryer is published in open-constructs.

https://github.com/open-constructs/aws-cdk-library

@badmintoncryer
Copy link
Contributor

I have also compiled an example implementation using open-constructs, so please feel free to refer to it as well.

https://dev.to/kazuho/maximizing-the-use-of-ec2-instance-connect-endpoint-with-cdk-5hba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

4 participants