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

Provision EC2 Instance Connect Endpoint at VPC Networking stack #525

Closed
victorskl opened this issue Jan 4, 2025 · 2 comments · Fixed by #526
Closed

Provision EC2 Instance Connect Endpoint at VPC Networking stack #525

victorskl opened this issue Jan 4, 2025 · 2 comments · Fixed by #526
Assignees
Labels
feature New feature or request infrastructure Label this for automatically get onto infrastructure project board

Comments

@victorskl
Copy link
Member

Context:

EICE looks promising and should be the way forward our infra usage.

https://aws.amazon.com/blogs/compute/secure-connectivity-from-public-to-private-introducing-ec2-instance-connect-endpoint-june-13-2023/

Quota:

Action:

  • Create EC2 Instance Connect Endpoint at main-vpc networking stack
@victorskl victorskl self-assigned this Jan 4, 2025
@victorskl victorskl added feature New feature or request infrastructure Label this for automatically get onto infrastructure project board labels Jan 4, 2025
@victorskl victorskl linked a pull request Jan 6, 2025 that will close this issue
@victorskl
Copy link
Member Author

Note

  • You may typically want to EICE enabled private network Security Group
    which can be looked up name ssh_from_eice. Add this SG to your VM
    instance created in private subnet. Then you no longer need public IP
    to connect to this instance. Just need to do like so.

    aws ec2-instance-connect ssh --connection-type eice --os-user <ubuntu|ec2-user> --instance-id <i-1234567replace>
    

    Or, punch local tunnel like so:

    aws ec2-instance-connect open-tunnel --instance-id <i-1234567replace> --local-port 2222
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request infrastructure Label this for automatically get onto infrastructure project board
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant