File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ ssh <INSTACEC_USER>@<INSTANCE_ID> \
47
47
```
48
48
49
49
## Alternative Implementation with ` ec2-instance-connect `
50
- The advantage from security perspective it that you don't need to grant "ssm: SendCommand " to users.
50
+ The advantage from security perspective it that you don't need to grant ` ssm:SendCommand ` to users and there by the permission to execute everything.
51
+ Instead you only grant` ec2-instance-connect:SendSSHPublicKey ` permission.
51
52
* Ensure [ Prerequisits] ( #prerequisits )
52
53
* Use this [ aws-ssm-ec2-proxy-command.sh] ( ec2-instance-connect/aws-ssm-ec2-proxy-command.sh ) proxy command script instead
53
54
* Use this [ IAM Policy Example] ( ec2-instance-connect/aws-ssm-ec2-iam-policy.json ) instead
You can’t perform that action at this time.
0 commit comments