mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(kb): split tldr in generic usage and real world examples
This commit is contained in:
@@ -8,6 +8,9 @@
|
|||||||
|
|
||||||
## TL;DR
|
## TL;DR
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Usage</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Start sessions.
|
# Start sessions.
|
||||||
aws ssm start-session --target 'instance-id'
|
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"]}'
|
--parameters '{"logpath":["/var/log/amazon/ssm/amazon-ssm-agent.log"]}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Real world use cases</summary>
|
||||||
|
</details>
|
||||||
|
|
||||||
## Gotchas
|
## Gotchas
|
||||||
|
|
||||||
- SSM starts shell sessions under `/usr/bin` ([source][how can i change the session manager shell to bash on ec2 linux instances?]):
|
- SSM starts shell sessions under `/usr/bin` ([source][how can i change the session manager shell to bash on ec2 linux instances?]):
|
||||||
|
|||||||
@@ -11,6 +11,24 @@ Intro
|
|||||||
|
|
||||||
## TL;DR
|
## TL;DR
|
||||||
|
|
||||||
|
<!-- Uncomment if needed
|
||||||
|
<details>
|
||||||
|
<summary>Installation</summary>
|
||||||
|
</details>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Uncomment if needed
|
||||||
|
<details>
|
||||||
|
<summary>Usage</summary>
|
||||||
|
</details>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Uncomment if needed
|
||||||
|
<details>
|
||||||
|
<summary>Real world use cases</summary>
|
||||||
|
</details>
|
||||||
|
-->
|
||||||
|
|
||||||
## Further readings
|
## Further readings
|
||||||
|
|
||||||
### Sources
|
### Sources
|
||||||
|
|||||||
Reference in New Issue
Block a user