From 2b6e244b06a379aa1b8c0eba05f208085aae0ac1 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sat, 9 Mar 2024 11:23:21 +0100 Subject: [PATCH] chore(kb): split tldr in generic usage and real world examples --- knowledge base/cloud computing/aws/ssm.md | 9 +++++++++ knowledge base/template.md | 18 ++++++++++++++++++ 2 files changed, 27 insertions(+) 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