AWS Instance Scheduler Step by Step | Tutorial to automate EC2/RDS start/stop | Multi Account

In this video we talk about how to automate EC2/RDS instances start/stop during off hours. Video also shows demo how to use AWS Instance Scheduler to control EC2/RDS in different accounts.

Пікірлер: 20

  • @sriniisv
    @sriniisv2 жыл бұрын

    It's a nice video for AWS Instance Scheduler. Thank you.

  • @shivanibhavsar852
    @shivanibhavsar852 Жыл бұрын

    Thank you so much for this! ❤❤

  • @ayushsitoke2456
    @ayushsitoke24562 жыл бұрын

    Thanks!! Good video!!

  • @clouddeepdive

    @clouddeepdive

    2 жыл бұрын

    Thank you Ayush, hope you subscribed to the channel!

  • @swapnilpatel4150
    @swapnilpatel41502 жыл бұрын

    Thank you very much for the ec2 Instance Scheduler Demo @CloudDeepDive. I have a question. Before Scheduler picks defined period from tags to execute that period, I want job to check if instance is first in stop or running state. And if instance is in running state, than I want job to skip that instance and do not stop them. Is this something possible to achieve with this?

  • @clouddeepdive

    @clouddeepdive

    2 жыл бұрын

    Thank you Swapnil for watching! Can you elaborate more on this - "if instance is in running state, than I want job to skip that instance and do not stop them" I am not clear on the question you have.

  • @swapnilpatel4150

    @swapnilpatel4150

    2 жыл бұрын

    @@clouddeepdive So lets the requirement is to start 50 instances every sunday 6pm and stop at mid night. so 1st sunday, lets say all 50 are in stop state, job is going to start them all. at midnight, it is going to stop all 50. But next sunday at 6pm, when job tried to start all 50, 10 were already running, so job is going to start only 40 instances. But at midnight, job must stop only those 40 which it started at 6pm and do not touch those 10 in running state. so essentially, when it comes stop the instances, it should stop only those previous job started.

  • @swapnilpatel4150

    @swapnilpatel4150

    2 жыл бұрын

    Just checking if this is possible.

  • @clouddeepdive

    @clouddeepdive

    2 жыл бұрын

    For this you need to play with the tags on those instances. Instance scheduler works based on the tags you have on the resource.

  • @shubhrasingh9254
    @shubhrasingh92543 жыл бұрын

    What if I want to change the timings of my office-hours period in dynamodb?

  • @clouddeepdive

    @clouddeepdive

    3 жыл бұрын

    you can do that by adding a different period and use that in your schedule or by editing exiting period you are using.

  • @SandeepSingh-hn6it
    @SandeepSingh-hn6it2 жыл бұрын

    Sir how to Increase the RDS size from 4xlarge to 16xlager, by automated and scheduling the particular time will increase and particular time will decrease it automatically.

  • @clouddeepdive

    @clouddeepdive

    2 жыл бұрын

    AWS Instance Scheduler support only Start/Stop of EC2/RDS. - docs.aws.amazon.com/solutions/latest/instance-scheduler/welcome.html If you want to automate RDS scaling then you need to write something custom, I am not aware of any existing solution right now, will do some research and share if I will find any existing solution.

  • @sharathdn8841
    @sharathdn88413 жыл бұрын

    if we assign the time to start & stop will that save the work which was working while shutdown.

  • @clouddeepdive

    @clouddeepdive

    3 жыл бұрын

    Thank you Sharath for watching this video. Hope you subscribed to our channel as well. Stop and Start will be like boto3 function which will be called from Lambda based on the timings you provide. You need to make sure you are not running any critical workload which fall on this schedule. Here is the AWS documentation on this - docs.aws.amazon.com/solutions/latest/instance-scheduler/welcome.html

  • @sharathdn8841

    @sharathdn8841

    3 жыл бұрын

    @@clouddeepdive thank you very much for you reply it was very helpful

  • @piyush.kumar.
    @piyush.kumar.2 жыл бұрын

    I tried this, and it is working fine but it is not starting my instances on maintinence windows.

  • @yekohein1528
    @yekohein15282 жыл бұрын

    Hello sir, I would like to know if this function will cost money for using?

  • @clouddeepdive

    @clouddeepdive

    2 жыл бұрын

    Hi Yeko, As this solution use different AWS services like Lambda, DynamoDb it will cost you money, how much depends on the usage.

  • @chintalapativenkataramarahul

    @chintalapativenkataramarahul

    Жыл бұрын

    In AWS documentation it is mentioned that it costs around 10 dollars per month to run this.

Келесі