The uptime:schedule tag
The uptime:schedule tag tells Uptime Scheduler when a resource should be running. Add the tag to any supported AWS resource and the scheduler will start it at the beginning of the window and stop it at the end.
Tag key
uptime:scheduleSchedule format
[time-range] [days]The time range must come before the day specification. Both parts are required unless using a named preset.
Time range formats
| Format | Example | Meaning |
|---|---|---|
H-H | 9-17 | 9:00 AM to 5:00 PM (hour precision) |
HHMM-HHMM | 0830-1730 | 8:30 AM to 5:30 PM (minute precision) |
Hours use 24-hour format. 0 is midnight, 23 is 11 PM.
Day specifications
| Value | Meaning |
|---|---|
mon-fri | Monday to Friday |
weekdays | Monday to Friday (alias) |
sat-sun | Saturday and Sunday |
weekends | Saturday and Sunday (alias) |
mon-sun | Every day |
daily | Every day (alias) |
mon, tue, wed, thu, fri, sat, sun | Specific days |
Named presets
| Value | Meaning |
|---|---|
weekdays-business-hours | Monday–Friday, 9:00 AM–5:00 PM |
always-on | Resource is always running (scheduler takes no action) |
always-off | Resource is always stopped |
Examples
# Weekday business hoursuptime:schedule = 9-17 mon-fri
# Extended hours with minutesuptime:schedule = 0800-1900 mon-fri
# Weekend onlyuptime:schedule = 10-16 weekends
# Every dayuptime:schedule = 6-22 daily
# Named presetuptime:schedule = weekdays-business-hoursTimezone
Schedule times are resolved using the following priority order:
- Explicit suffix on the tag — append a timezone abbreviation after the schedule (see below)
- Resource’s AWS region — if no suffix is given, times are interpreted in the timezone of the region the resource lives in (e.g.
eu-west-3→Europe/Paris,us-east-1→America/New_York) - Stack default — the
TimezoneCloudFormation parameter you set during deployment - UTC — fallback if none of the above resolve
This means a resource in us-east-1 tagged 9-17 mon-fri will start at 9 AM Eastern time, even if your CloudFormation stack is deployed in eu-west-2.
Explicit timezone suffix
Append a timezone abbreviation to override the automatic region-based resolution:
uptime:schedule = 9-17 mon-fri CETuptime:schedule = 0830-1730 mon-fri BSTuptime:schedule = 8-18 weekdays ESTThe suffix is case-insensitive and separated from the day specification by a space.
Supported timezone abbreviations
| Abbreviation | Timezone |
|---|---|
UTC / GMT | UTC |
BST | Europe/London (British Summer Time) |
CET / CEST | Europe/Paris (Central European Time) |
EET / EEST | Europe/Helsinki (Eastern European Time) |
EST / EDT | America/New_York (Eastern) |
CST / CDT | America/Chicago (Central) |
MST / MDT | America/Denver (Mountain) |
PST / PDT | America/Los_Angeles (Pacific) |
IST | Asia/Kolkata (India) |
JST | Asia/Tokyo (Japan) |
AEST / AEDT | Australia/Sydney (Eastern) |
ACST / ACDT | Australia/Darwin (Central) |
AWST | Australia/Perth (Western) |
Daylight saving time is handled automatically — the scheduler always fires at the wall clock time you specified, regardless of DST transitions.
How to apply the tag
AWS Console
- Navigate to the resource in the AWS Console
- Open the Tags tab
- Add a tag with key
uptime:scheduleand your schedule as the value
AWS CLI
# EC2 — times in the resource's region timezone (us-east-1 → America/New_York)aws ec2 create-tags \ --resources i-0123456789abcdef0 \ --tags Key=uptime:schedule,Value="9-17 mon-fri"
# EC2 — explicit timezone overrideaws ec2 create-tags \ --resources i-0123456789abcdef0 \ --tags Key=uptime:schedule,Value="9-17 mon-fri CET"
# RDSaws rds add-tags-to-resource \ --resource-name arn:aws:rds:eu-west-2:123456789012:db:my-db \ --tags Key=uptime:schedule,Value="9-17 mon-fri"Terraform
resource "aws_instance" "app" { # ... tags = { "uptime:schedule" = "9-17 mon-fri" }}AWS CDK
instance.applyRemovalPolicy(RemovalPolicy.RETAIN);Tags.of(instance).add('uptime:schedule', '9-17 mon-fri');Removing a schedule
Remove the uptime:schedule tag from the resource. The EventBridge rules will be deleted and the resource will no longer be managed by Uptime Scheduler. The resource is left in its current state.