diff --git a/knowledge base/cloud computing/aws/ec2.md b/knowledge base/cloud computing/aws/ec2.md
index 8637ec0..06fd555 100644
--- a/knowledge base/cloud computing/aws/ec2.md
+++ b/knowledge base/cloud computing/aws/ec2.md
@@ -25,6 +25,9 @@ Clone EC2 instances by:
[to guarantee the image's filesystem integrity][create an ami from an amazon ec2 instance].
1. Using that AMI to launch clones identical to the original.
+Consider using specialized AMIs for specialized purposes.
+E.g., [using AL2023 based Amazon ECS AMIs to host containerized workloads].
+
Real world use cases
@@ -174,6 +177,7 @@ TODO
- [Unlimited mode for burstable performance instances]
- [Standard mode for burstable performance instances]
- [Configuring EC2 Disk alert using Amazon CloudWatch]
+- [Using AL2023 based Amazon ECS AMIs to host containerized workloads]
### Sources
@@ -221,6 +225,7 @@ TODO
[retrieve instance metadata]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
[standard mode for burstable performance instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-standard-mode.html
[unlimited mode for burstable performance instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode.html
+[using al2023 based amazon ecs amis to host containerized workloads]: https://docs.aws.amazon.com/linux/al2023/ug/ecs.html
[using instance profiles]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html
diff --git a/knowledge base/gitlab/runner.md b/knowledge base/gitlab/runner.md
index 2567603..97dd9e7 100644
--- a/knowledge base/gitlab/runner.md
+++ b/knowledge base/gitlab/runner.md
@@ -184,10 +184,12 @@ Idle instances stay available for at least 20 minutes.
Requirements:
- An EC2 instance with Docker Engine to act as manager.
-- A Launch Template referencing an AMI equipped with Docker Engine for the runners to use.
+- A Launch Template referencing an AMI equipped with Docker Engine for the runners to use.
+ Suggested to use [AL2023 based Amazon ECS AMIs][using al2023 based amazon ecs amis to host containerized workloads] or
+ custom ones.
- Alternatively, any AMI that can run Docker Engine can be used as long as an appropriate cloud-init configuration is
- provided in the template's `userData`.
+ Any AMI that can run Docker Engine can be used as-is, as long as an _appropriate_ cloud-init configuration is provided
+ in the LT's `userData` field.
@@ -201,11 +203,11 @@ Requirements:
- In this case, and specially if the cloud-init process takes long, instances might be considered ready by the ASG but
- jobs might fail if the Docker Engine is not installed and configured properly before they are assigned to the
+ In this last case, and specially if the cloud-init process takes long, instances might be considered ready by the ASG,
+ but jobs might fail if the Docker Engine is not installed and configured properly before they are assigned to the
instances.
Consider creating a new AMI with everything ready for the LT to use, or set up a lifecycle hook in the ASG to give
- instances time to finish preparations before being considered ready by the ASG.
+ instances time to finish preparations before being considered ready.
- An AutoScaling Group with the following setting:
- Minimum capacity = 0.
@@ -833,6 +835,7 @@ Improvements:
- Gitlab's [gitlab-runner-operator] for OpenShift and Kubernetes
- [Docker Machine Executor autoscale configuration]
- [Fleeting]
+- [Using AL2023 based Amazon ECS AMIs to host containerized workloads]
### Sources
@@ -879,3 +882,4 @@ Improvements:
[authenticating your gitlab ci runner to an aws ecr registry using amazon ecr docker credential helper]: https://faun.pub/authenticating-your-gitlab-ci-runner-to-an-aws-ecr-registry-using-amazon-ecr-docker-credential-b4604a9391eb
[aws driver does not support multiple non default subnets]: https://github.com/docker/machine/issues/4700
[amazon ecr docker credential helper]: https://github.com/awslabs/amazon-ecr-credential-helper
+[using al2023 based amazon ecs amis to host containerized workloads]: https://docs.aws.amazon.com/linux/al2023/ug/ecs.html