Overview
You can create a workflow that temporarily changes the instance type of an EC2 instance and changes it again at a specified time.
This template creates two job workflows together: a "first change workflow" and a "second change workflow".
Job Workflows Created
Using this template will create the following two job workflows.
1. First Change Workflow
Stops the EC2 instance at a specified time, changes the instance type, and starts it.
| Order | Job Configuration |
|---|---|
| 1 | Trigger Job (Timer Trigger) |
| 2 | EC2: Stop Instance |
| 3 | EC2: Change Instance Type |
| 4 | EC2: Start Instance |
2. Second Change Workflow
Stops the EC2 instance at a specified time, restores the instance type, and starts it.
| Order | Job Configuration |
|---|---|
| 1 | Trigger Job (Timer Trigger) |
| 2 | EC2: Stop Instance |
| 3 | EC2: Change Instance Type |
| 4 | EC2: Start Instance |
User-Configured Items
- Group: The group in which to create the job workflow
- AWS Account: The target AWS account
- Region: The target region
- EC2 Instance: The EC2 instance to change the instance type for (specify by ID or tag)
- First Instance Type: The instance type for the first change
- First Change Schedule: The execution time of the first change workflow
- Second Instance Type: The instance type for the second change
- Second Change Schedule: The execution time of the second change workflow
- Post-process: Post-processing on success or failure for each job (optional)
AI Auto-Configured Items
The following settings are automatically configured by AI. They can be modified from the edit screen after the job workflow is created.
Common to All Jobs
| Setting | Auto-Configured Value |
|---|---|
| Workflow Name / Job Name | Auto-generated based on target resource and schedule |
| Timezone | User's timezone setting |
| Skip Dates | None (empty) |
| Status Check (trace_status) | Enabled (true) |
EC2: Start Instance Job Specific
| Setting | Auto-Configured Value |
|---|---|
| Status Checks (status_checks_enable) | Enabled (true) |
AI auto-configured items (such as job names and workflow names) can be modified from the edit screen after the job workflow is created.