SUS06-BP02 Keep your workload up-to-date
Up-to-date operating systems, libraries, and applications can improve workload efficiency and enable easier adoption of more efficient technologies. Up-to-date software might also include features to measure the sustainability impact of your workload more accurately, as vendors deliver features to meet their own sustainability goals.
Common anti-patterns:
-
You assume your current architecture will become static with no updates over time.
-
You do not have any systems or a regular cadence to evaluate if updated software and packages are compatible with your workload.
-
You introduce architecture changes over time without justification.
Benefits of establishing this best practice: By establishing a process to keep your workload up to date, you will be able to adopt new features and capabilities, resolve issues, and improve workload efficiency.
Level of risk exposed if this best practice is not established: Low
Implementation guidance
-
Define a process and a schedule to evaluate new features or instances for your workload. Take advantage of agility in the cloud to quickly test how new features can improve your workload to:
-
Reduce sustainability impacts.
-
Gain performance efficiencies.
-
Remove barriers for a planned improvement.
-
Improve your ability to measure and manage sustainability impacts.
-
-
Inventory your workload software and architecture and identify components that need to be updated. You can use AWS Systems Manager Inventory to collect operating system (OS), application, and instance metadata from your Amazon EC2 instances and quickly understand which instances are running the software and configurations required by your software policy and which instances need to be updated.
-
Understand how to update the components of your workload.
Workload component How to update Machine images
Manage updates to Amazon Machine Images (AMI)
for Linux or Windows server images using EC2 Image Builder . Container images
You should use Amazon Elastic Container Registry (Amazon ECR) with your existing pipeline to manage Amazon Elastic Container Service (Amazon ECS) images and manage Amazon Elastic Kubernetes Service images.
AWS Lambda
AWS Lambda includes version management features.
-
Use automation for the update process to reduce the level of effort to deploy new features and limit errors caused by manual processes. Use tools such as AWS Systems Manager Patch Manager to automate the process of system updates, and schedule the activity using AWS Systems Manager Maintenance Windows.
Resources
Related documents:
Related examples: