Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
    • Data
Google Cloud Platform icon
Labs

Using Instance Scheduler to Automate Starting and Stopping EC2 and RDS Resources

In this lab, you will take what you have learned about Instance Scheduler and deploy the solution to the lab AWS account. You will use SSM Session Manager to access the provided `SchedulerAdmin` EC2 instance that has the scheduler CLI already installed and configure the appropriate IAM permissions for the instance. You will also configure periods and schedules for different dinosaurs (AWS resources) based on the proposed sleep schedule and associate each dinosaur with their own schedule.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Apr 06, 2025
Duration
30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Deploy Instance Scheduler

    Using the AWS Instance Scheduler documentation, deploy Instance Scheduler to the lab AWS account. Make sure to set scheduling for both EC2 and RDS resources.

  2. Challenge

    Log In to the SchedulerAdmin Instance

    Using SSM Session Manager, connect and get logged into the SchedulerAdmin instance provided with the lab.

  3. Challenge

    Use the Scheduler CLI to Configure Periods for the Dinosaur Sleep Schedules

    Update the IAM role for the SchedulerAdmin instance to include the SchedulerAdminPolicy permission for scheduler CLI commands. Then use the scheduler CLI to configure periods based on the following sleep schedule table:

    |Name|Breed |Wake-Up Time |Bed Time | |--|--|--|--| |Stacy |Stegosaurus |7 a.m. UTC |9 p.m. UTC | |Terrance |T-Rex |9 a.m. UTC |10 p.m. UTC | |Ralph |Raptor |6 a.m. UTC |9:30 p.m. UTC | |Roxy* |Raptor |6 a.m. & 1:30 p.m. UTC |1:15 p.m. & 9:30 p.m. UTC | |Tami |Triceratops |11 a.m. UTC |8:30 p.m. UTC |

    NOTE: Roxy needs to get a checkup by her doctors every day due to a recent surgery

  4. Challenge

    Use the Scheduler CLI to Configure Schedules for Each Dinosaur

    Create a unique schedule for each dinosaur and associate the periods created to the appropriate schedules. All schedules should have the timezone set to UTC and the enforced parameter enabled.

  5. Challenge

    Tag Each Dinosaur with Their Schedule

    Using the table below to map the dinosaurs to their respective AWS resources, tag each AWS resource with the dinosaur's schedule:

    |Dinosaur Name |AWS Resource | |--|--| |Stacy |EC2 - t3.micro | |Terrance |RDS - t3.micro | |Ralph |EC2 - t3.micro | |Roxy |EC2 - t3.micro | |Tami |EC2 - t3.micro |

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight