Automatically Start Stop EC2 Instances with AWS Lambda and Amazon EventBridge

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 9

  • @javieraragones2320
    @javieraragones2320 Рік тому +2

    Hello,
    I had some problems with this. The Lambda function wored fine but the scheduler never ran it.
    If you have this problem, you must add in the policy something like:
    {
    "Sid": "lambdapermissions",
    "Effect": "Allow",
    "Action": "lambda:InvokeFunction",
    "Resource": "*"
    }
    It solved my problem, now the EventBidge works fine.

  • @scrumtuous
    @scrumtuous 2 роки тому

    Awesome. Very thorough video!

    • @awstraining
      @awstraining  2 роки тому

      Thank you, glad to hear that you found it useful.

  • @rajamubeen9374
    @rajamubeen9374 Рік тому

    can you provide documentation of this video?

  • @OmarGarcia-hk2fk
    @OmarGarcia-hk2fk 2 роки тому

    thanks for sharing!

  • @xryan83x
    @xryan83x Рік тому

    what about i want to stop in sequence? let say delay of 15mins per instance? same with start

    • @awstraining
      @awstraining  Рік тому

      Hi Ryan, you can use rate expressions here instead of specify scheduled times - docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html#eb-rate-expressions