AWS res documentation change
Summary
Added requirement to install unzip for Ubuntu 24.04 AMIs before AWS CLI component, adjusted step numbering, and updated section titles.
Security assessment
The change addresses build dependencies (unzip) for image creation. No security controls, vulnerabilities, or security features are referenced. The added component uses standard package installation without security context.
Diff
diff --git a/res/latest/ug/res-ready-ami.md b/res/latest/ug/res-ready-ami.md index e79c84a6a..a8cf96244 100644 --- a//res/latest/ug/res-ready-ami.md +++ b//res/latest/ug/res-ready-ami.md @@ -65,2 +64,0 @@ Follow the directions to [Create a component using the Image Builder console](ht - key : value - @@ -247 +245,18 @@ For information on how to install an SSM agent, see: - 7. For Linux based recipes, add the Amazon-managed `aws-cli-version-2-linux` build component to the recipe. For Windows based recipes, add the Amazon-managed `aws-cli-version-2-windows` build component to the recipe. RES installation scripts use the AWS CLI to provide VDI access to configuration values for the DynamoDB cluster-settings. + 7. For Ubuntu 24.04 based recipes, add a custom component to install `unzip` before adding the AWS CLI component. Create a component with the following content: + + name: unzip-ubuntu + description: An RES EC2 Image Builder component to install unzip + schemaVersion: 1.0 + + phases: + - name: build + steps: + - name: InstallPackage + action: ExecuteBash + onFailure: Abort + maxAttempts: 3 + inputs: + commands: + - "apt-get update && apt-get install -y unzip" + + 8. For Linux based recipes, add the Amazon-managed `aws-cli-version-2-linux` build component to the recipe. For Windows based recipes, add the Amazon-managed `aws-cli-version-2-windows` build component to the recipe. RES installation scripts use the AWS CLI to provide VDI access to configuration values for the DynamoDB cluster-settings. @@ -249 +264 @@ For information on how to install an SSM agent, see: - 8. Add the EC2 Image Builder component created for your Linux or Windows environment. + 9. Add the EC2 Image Builder component created for your Linux or Windows environment. @@ -257 +272 @@ You must add these components in order with the `aws-cli-version-2-linux` (for L - 9. (Recommended) Add the Amazon-managed `simple-boot-test-<linux-or-windows>` test component to verify that the AMI can be launched. This is a minimum recommendation. You may select other test components that meet your requirements. + 10. (Recommended) Add the Amazon-managed `simple-boot-test-<linux-or-windows>` test component to verify that the AMI can be launched. This is a minimum recommendation. You may select other test components that meet your requirements. @@ -259 +274 @@ You must add these components in order with the `aws-cli-version-2-linux` (for L - 10. Complete any optional sections if needed, add any other desired components, and choose **Create recipe**. + 11. Complete any optional sections if needed, add any other desired components, and choose **Create recipe**. @@ -269 +284,18 @@ If you have an existing EC2 Image Builder recipe, you can use it by adding the f - 1. For Linux based recipes, add the Amazon-managed `aws-cli-version-2-linux` build component to the recipe. For Windows based recipes, add the Amazon-managed `aws-cli-version-2-windows` build component to the recipe. RES installation scripts use the AWS CLI to provide VDI access to configuration values for the DynamoDB cluster-settings. + 1. For Ubuntu 24.04 based recipes, add a custom component to install `unzip` before adding the AWS CLI component. Create a component with the following content: + + name: unzip-ubuntu + description: An RES EC2 Image Builder component to install unzip + schemaVersion: 1.0 + + phases: + - name: build + steps: + - name: InstallPackage + action: ExecuteBash + onFailure: Abort + maxAttempts: 3 + inputs: + commands: + - "apt-get update && apt-get install -y unzip" + + 2. For Linux based recipes, add the Amazon-managed `aws-cli-version-2-linux` build component to the recipe. For Windows based recipes, add the Amazon-managed `aws-cli-version-2-windows` build component to the recipe. RES installation scripts use the AWS CLI to provide VDI access to configuration values for the DynamoDB cluster-settings. @@ -271 +303 @@ If you have an existing EC2 Image Builder recipe, you can use it by adding the f - 2. Add the EC2 Image Builder component created for your Linux or Windows environment. + 3. Add the EC2 Image Builder component created for your Linux or Windows environment. @@ -279 +311 @@ You must add these components in order with the `aws-cli-version-2-linux` (for L - 3. Complete any optional sections if needed, add any other desired components, and choose **Create recipe**. + 4. Complete any optional sections if needed, add any other desired components, and choose **Create recipe**. @@ -374 +406 @@ Setting custom permission boundaries -DCV session validation thresholds +Set up custom domains after RES installation