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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 20

  • @sriniisv
    @sriniisv 2 ปีที่แล้ว +1

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

  • @shivanibhavsar852
    @shivanibhavsar852 2 ปีที่แล้ว

    Thank you so much for this! ❤❤

  • @swapnilpatel4150
    @swapnilpatel4150 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว

      Just checking if this is possible.

    • @clouddeepdive
      @clouddeepdive  3 ปีที่แล้ว +1

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

  • @sharathdn8841
    @sharathdn8841 3 ปีที่แล้ว +1

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

    • @clouddeepdive
      @clouddeepdive  3 ปีที่แล้ว +2

      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 ปีที่แล้ว +2

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

  • @SandeepSingh-hn6it
    @SandeepSingh-hn6it 2 ปีที่แล้ว

    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.

  • @ayushsitoke2456
    @ayushsitoke2456 2 ปีที่แล้ว

    Thanks!! Good video!!

    • @clouddeepdive
      @clouddeepdive  2 ปีที่แล้ว

      Thank you Ayush, hope you subscribed to the channel!

  • @shubhrasingh9254
    @shubhrasingh9254 3 ปีที่แล้ว +1

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

    • @clouddeepdive
      @clouddeepdive  3 ปีที่แล้ว +1

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

  • @yekohein1528
    @yekohein1528 2 ปีที่แล้ว

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

    • @clouddeepdive
      @clouddeepdive  2 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

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

  • @piyush.kumar.
    @piyush.kumar. 2 ปีที่แล้ว

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