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

Add Helper Method for Configuring SSM #265

Closed
1 of 2 tasks
horsmand opened this issue Dec 9, 2020 · 0 comments · Fixed by #266
Closed
1 of 2 tasks

Add Helper Method for Configuring SSM #265

horsmand opened this issue Dec 9, 2020 · 0 comments · Fixed by #266
Labels
feature-request A feature should be added or improved.

Comments

@horsmand
Copy link
Contributor

horsmand commented Dec 9, 2020

It's very common to require access to a host in a render farm for troubleshooting. A simple way of connecting to a host is the AWS Systems Manager Session Manager. It would be nice to have a helper method that applies the required permissions for using Session Manager.

Use Case

An example of where this can be used is on a worker fleet that is having issues. I would like to be able to pass the worker fleet into the helper method and then be able to go into the AWS console and connect to the host using the Session Manager to be able to access the host from the browser without having to configure ssh keys and permissions.

Proposed Solution

A helper method that applies this policy:

new PolicyStatement(
    actions: [
        'ssmmessages:CreateControlChannel',
        'ssmmessages:CreateDataChannel',
        'ssmmessages:OpenControlChannel',
        'ssmmessages:OpenDataChannel',
        'ssm:UpdateInstanceInformation',
    ],
    resources: ['*']
)
  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@horsmand horsmand added needs-triage This issue or PR still needs to be triaged. feature-request A feature should be added or improved. and removed needs-triage This issue or PR still needs to be triaged. labels Dec 9, 2020
horsmand referenced this issue in horsmand/aws-rfdk Dec 9, 2020
horsmand referenced this issue in horsmand/aws-rfdk Dec 16, 2020
horsmand referenced this issue in horsmand/aws-rfdk Dec 16, 2020
horsmand referenced this issue in horsmand/aws-rfdk Dec 16, 2020
horsmand referenced this issue in horsmand/aws-rfdk Dec 17, 2020
horsmand referenced this issue in horsmand/aws-rfdk Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant