Schedule Lightsail Instance

0

What are the ways to schedule lightsail's instance to be automatic turn off and on as per the office hours?

profile picture
asked a year ago329 views
1 Answer
0

Hi,I think you should try use the AutoScaling or use EventBridge set a cron job,then you can auto turn on/off the instance,hope this can help you

answered a year ago
  • I am unsure about the solution you are giving, Thanks though.

    I had setup the cron job on the linux server with AWS command and verified this is helping me out aws lightsail start-instance --instance-name poc-lightsail --region ap-south-1 aws lightsail stop-instance --instance-name poc-lightsail --region ap-south-1

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions