diff --git a/knowledge base/cloud computing/aws/ssm.md b/knowledge base/cloud computing/aws/ssm.md index f91408b..285d44a 100644 --- a/knowledge base/cloud computing/aws/ssm.md +++ b/knowledge base/cloud computing/aws/ssm.md @@ -8,6 +8,9 @@ ## TL;DR +
+ Usage + ```sh # Start sessions. aws ssm start-session --target 'instance-id' @@ -19,6 +22,12 @@ aws ssm start-session \ --parameters '{"logpath":["/var/log/amazon/ssm/amazon-ssm-agent.log"]}' ``` +
+ +
+ Real world use cases +
+ ## Gotchas - SSM starts shell sessions under `/usr/bin` ([source][how can i change the session manager shell to bash on ec2 linux instances?]): diff --git a/knowledge base/template.md b/knowledge base/template.md index 8f75236..c6608eb 100644 --- a/knowledge base/template.md +++ b/knowledge base/template.md @@ -11,6 +11,24 @@ Intro ## TL;DR + + + + + + ## Further readings ### Sources