diff --git a/knowledge base/cloud computing/aws/README.md b/knowledge base/cloud computing/aws/README.md
index d2bceb1..ebe8f08 100644
--- a/knowledge base/cloud computing/aws/README.md
+++ b/knowledge base/cloud computing/aws/README.md
@@ -351,6 +351,7 @@ Examples:
- [Rotating AWS KMS keys]
- [Image baking in AWS using Packer and Image builder]
- [Avoid the 60 minutes timeout when using the AWS CLI with IAM roles]
+- [Using AWS KMS via the CLI with a Symmetric Key]
@@ -290,3 +307,4 @@ Solutions:
[install the session manager plugin for the aws cli]: https://docs.aws.amazon.com/systems-manager/latest/userguide/install-plugin-macos-overview.html#install-plugin-macos-signed
[quickstart]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html
[use an iam role in the aws cli]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html
+[using aws kms via the cli with a symmetric key]: https://nsmith.net/aws-kms-cli
diff --git a/knowledge base/cloud computing/aws/ebs.md b/knowledge base/cloud computing/aws/ebs.md
index 8819a36..ea7d1fb 100644
--- a/knowledge base/cloud computing/aws/ebs.md
+++ b/knowledge base/cloud computing/aws/ebs.md
@@ -21,6 +21,11 @@ aws ec2 describe-volumes --output 'text' --filters 'Name=status,Values=available
+Volumes can have their size **increased**, but **not** reduced.
+After increase, the filesystem **must** be [extended][Extend the file system after resizing an EBS volume] to take
+advantage of the change in size.
+Apparently, Linux machines are able to do that automatically with a reboot.
+
## Snapshots
When created, snapshots are **incremental**.
@@ -45,6 +50,7 @@ take **up to 72h**.
- [Archive Amazon EBS snapshots]
- [Automate snapshot lifecycles]
- [Choose the best Amazon EBS volume type for your self-managed database deployment]
+- [Extend the file system after resizing an EBS volume]
### Sources
@@ -52,6 +58,7 @@ take **up to 72h**.
- [Delete Unused AWS EBS Volumes]
- [`describe-volumes`][describe-volumes]
- [`delete-volume`][delete-volume]
+- [How do I increase or decrease the size of my EBS volume?]
diff --git a/snippets/aws.fish b/snippets/aws.fish
index 171c4ac..6f0eb1d 100644
--- a/snippets/aws.fish
+++ b/snippets/aws.fish
@@ -1,4 +1,4 @@
-#!fish
+#!/usr/bin/env fish
# Check the credentials are fine
aws sts get-caller-identity
@@ -126,3 +126,21 @@ aws rds describe-db-parameters --db-parameter-group-name 'default.postgres15' \
aws rds describe-db-parameters --db-parameter-group-name 'default.postgres15' --output 'json' --query "Parameters[?ApplyType!='dynamic']"
aws kms get-key-policy --output 'text' --key-id '01234567-89ab-cdef-0123-456789abcdef'
+
+aws ec2 describe-images --image-ids 'ami-01234567890abcdef'
+aws ec2 describe-images --image-ids 'ami-01234567890abcdef' --query 'Images[].Description'
+
+aws autoscaling start-instance-refresh --auto-scaling-group-name 'ProductionServers'
+aws autoscaling describe-instance-refreshes \
+ --auto-scaling-group-name 'ProductionServers' --instance-refresh-ids '01234567-89ab-cdef-0123-456789abcdef'
+aws autoscaling cancel-instance-refresh --auto-scaling-group-name 'ProductionServers'
+aws autoscaling rollback-instance-refresh --auto-scaling-group-name 'ProductionServers'
+
+aws kms create-key
+aws kms encrypt --key-id '01234567-89ab-cdef-0123-456789abcdef' --plaintext 'My Test String'
+aws kms encrypt --key-id '01234567-89ab-cdef-0123-456789abcdef' --plaintext 'My Test String' \
+ --query 'CiphertextBlob' --output 'text' \
+| base64 --decode > 'ciphertext.dat'
+aws kms decrypt --ciphertext-blob 'fileb://ciphertext.dat'
+aws kms decrypt --ciphertext-blob 'fileb://ciphertext.dat' --query 'Plaintext' --output 'text' \
+| base64 --decode