Elastic Cloud Gate

AWS Blog

EC2 Scheduler Templates Management

EC2 Scheduler Templates Manager is a tool to manage scheduler across multiple EC2 objects.
Each template can have assigned one or multiple actions and one or multiple EC2 objects
Action types include:

  • Start, Stop or Reboot EC2 instance
  • AMI backup
  • EBS volume snapshot
  • Snapshots or AMI maintenance

EC2 object can be any EC2 Instance or EBS Volume available under any AWS account

How to manage templates

You can open templates manager either from the Dashboard or EC2 section.
To open from Dashboard click “Scheduler Templates”
To open from EC2 click “Manage Scheduler Templates”

Create or Manage Actions

Switch to “Manage Actions” tab

EC2 Scheduler Templates

To create a new action:

From the drop down list select the task of your choice, and click “New”

EC2 Scheduler Templates

Enter all information required for a given task
Click “Save”

EC2 Scheduler Templates

To edit existing action:

From the table click “Edit”

EC2 Scheduler Templates

All information will be populated on the task template
Make necessary changes
Click “Save”

EC2 Scheduler Templates

To delete action:

From the table click “Delete”

EC2 Scheduler Templates

The deleted action will be automatically removed from any assigned templates

Create a new template

To create a new template follow these steps:

  1. Click “Create New Template”
    EC2 Scheduler Templates
  2. Enter template name
  3. Select template type
    • EC2 Instances – under this type the only available actions will be relevant to EC2 Instances such as Start, Stop or Reboot EC2 instance, AMI backup and maintenance
    • EBS Volumes – this type will allow to assign actions that are only relevant to EBS volumes such as schedule snapshot or maintenance of EBS volume
    EC2 Scheduler Templates
  4. Click “Save”

After new template is created, you can start adding actions and resources within that template.

Assign Actions

To assign actions to the template select available action and click -> button
To assign all available actions click ->> button

EC2 Scheduler Templates

Once the action is assigned to the template, it will disappear from Available Actions and appear under Assigned Actions.
To remove action from the template, select assigned action and click <- button
To remove all actions from the template click <<- button

EC2 Scheduler Templates

Assign Resource

To assign resource click “Resource” under “Manage Template” tab.

EC2 Scheduler Templates

On the list you will see EC2 resources available under selected AWS account and region.
Check EC2 objects (either EC2 Instance or EBS volume – depending on template type).
To assign all available resources under given account and region, click “Check All”
Click “Save Resources”

EC2 Scheduler Templates

To remove resource(s) from the template, unchecked it from the list and click “Save Resources”
You can assign EC2 object from multiple accounts and regions. To do this, select different AWS account or region and follow the same steps.

Manage existing template

To edit existing template click “Edit” under “Scheduler Templates” table. The “Manage Templates” tab will populate with allocated actions and resources.

EC2 Scheduler Templates

To delete existing template click “Delete” under “Scheduler Templates” table. This action will delete template as well as all assigned actions and resources.

EC2 Scheduler Templates

At any time, you can suspend all actions assigned to the given template by clicking “Suspend” under “Scheduler Templates” table.
To resume suspended actions simply click “Resume”

EC2 Scheduler Templates

Please note that all actions assigned to the given template will be either suspended or resumed.

In case the single EC instance requires any type of maintenance, and all actions under such server have to be suspended, follow these steps:

  1. Click “Edit” under “Scheduler Templates”
  2. Go to “Resource” tab
  3. Switch to account/region where the EC2 instance is running
  4. Uncheck EC2 instance from the list
  5. Click “Save Resources”

When maintenance of the given instance is finished, simple add the EC2 instance back to the list.

, , ,

Leave a Reply