Rolling update tasks can be used to update the configurations of multiple Elastic Compute Service (ECS) instances or elastic container instances at the same time. You can use rolling update tasks to update images, run scripts, or install Operation Orchestration Service (OOS) packages on multiple ECS instances or elastic container instances that are in the In Service state. The ECS instances or elastic container instances must be in the same scaling group.
Prerequisites
- Before you update the existing images for ECS instances or elastic container instances in a scaling group, you must prepare new images.
- Scripts are prepared before you run scripts on ECS instances or elastic container instances in a scaling group.
- OOS packages are prepared before you install the OOS packages on ECS instances or elastic container instances in a scaling group. For more information, see Manage custom software on multiple ECS instances.
Background information
The following table describes the types of tasks that are supported by the rolling update feature.
Type | Description |
---|---|
Image update | You can create an image update task to update the OSs of multiple ECS instances or
elastic container instances that are in the In Service state at the same time. The ECS instances or elastic container instances must be
in the same scaling group.
Before you run an image update task, take note that the image update task may have the following impacts on the instance configuration source of the scaling group:
Note You can create rolling update tasks or image update tasks to update images in your
scaling configurations based on your business requirements. For more information,
see Compare rolling update with image update.
|
Script running | You can create a script running task to perform one or more O&M operations at the
same time. Examples:
|
OSS package installation | You can create an OSS package installation task to install or uninstall software on multiple ECS instances or elastic container instances at the same time. |
Usage limits
- The rolling update feature is available only in regions where OOS is supported.
- The scaling group for which you want to enable the rolling update feature must have no ongoing scaling activities.
- You can run only one rolling update task at a time.
Compare rolling update with image update
- Image update allows the images in scaling configurations to be updated to new images. This way, instances that are created based on the scaling configurations can use the new images. For more information, see Automatically update images in scaling configurations.
- Rolling update allows the images that are used by existing instances in scaling groups to be updated to the latest version.
Create and run a rolling update task
Roll back a rolling update task
View the details of a rolling update task
You can view the details of a rolling update task and retry, skip, or cancel a rolling update for an ECS instance or elastic container instance.