cloud:aws:system_manager
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cloud:aws:system_manager [2020/12/27 20:35] – external edit 127.0.0.1 | cloud:aws:system_manager [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:cloud:aws:system_manager to cloud:aws:system_manager skipidar | ||
---|---|---|---|
Line 4: | Line 4: | ||
https:// | https:// | ||
+ | - Set the region: eu-west-1 | ||
+ | - add the ProxyCommand to the ssh configuration | ||
+ | https:// | ||
< | < | ||
+ | # SSH over Session Manager | ||
- | # create | + | host i-* mi-* |
+ | |||
+ | ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters ' | ||
+ | </ | ||
+ | |||
+ | As an alternative run the command manually | ||
+ | |||
+ | < | ||
+ | # creates | ||
aws ssm start-session --target $INSTANCE_ID \ | aws ssm start-session --target $INSTANCE_ID \ | ||
| | ||
| | ||
+ | </ | ||
+ | - connect to localhost: | ||
+ | |||
+ | < | ||
Starting session with SessionId: sst-00xxx63 | Starting session with SessionId: sst-00xxx63 | ||
Port 9999 opened for sessionId sst-00xxx63 | Port 9999 opened for sessionId sst-00xxx63 | ||
Connection accepted for session sst-00xxx63. | Connection accepted for session sst-00xxx63. | ||
</ | </ |
cloud/aws/system_manager.1609101328.txt.gz · Last modified: by 127.0.0.1