Automatically Start Stop EC2 Instances with AWS Lambda and Amazon EventBridge

  Рет қаралды 6,888

IAAS Academy

IAAS Academy

Күн бұрын

This video demonstrates how AWS Lambda and Amazon EventBridge can help you build event-driven applications and perform daily operational tasks like stop and start EC2 Instances at designated schedules.
This how-to guide comes with the necessary IAM policies and Lambda function code written in python to help you start and stop your EC2 Instances.
As part of our AWS Certified Solutions Architect SAA-C03 course, this video provides one of many hands-on demonstrations to help you build real-world solutions in the cloud and will most definitely help you ace the AWS Certified Solutions Architect Exam.
Check out the IAM Policy and Lambda Function code in our GitHub repository - github.com/iaa...
To take the entire course, visit us at iaasacademy.com
Take my AWS Technical Essentials Course using this discount link: www.udemy.com/...

Пікірлер: 9
@javieraragones2320
@javieraragones2320 Жыл бұрын
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.
@OmarGarcia-hk2fk
@OmarGarcia-hk2fk Жыл бұрын
thanks for sharing!
@awstraining
@awstraining Жыл бұрын
My pleasure!
@rajamubeen9374
@rajamubeen9374 Жыл бұрын
can you provide documentation of this video?
@e06241
@e06241 Жыл бұрын
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
AWS IAM permission boundaries - Hands-on Tutorial
15:48
IAAS Academy
Рет қаралды 1,8 М.
Алексей Щербаков разнес ВДВшников
00:47
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 19 МЛН
天使救了路飞!#天使#小丑#路飞#家庭
00:35
家庭搞笑日记
Рет қаралды 88 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 271 М.
aws lambda function to start and stop ec2 instance with tag value
19:43
VK Seth - AWS Devops
Рет қаралды 3,3 М.
Automate Start-Stop EC2 Instances Using Lambda - Step-by-Step Guide
8:45
AWS Systems Manager Run Command - Managing Servers Securely
22:31
AWS EventBridge Rules vs Scheduler
14:22
Be A Better Dev
Рет қаралды 9 М.
AWS Well Architected Framework CLF C02 Exam Topic
32:37
IAAS Academy
Рет қаралды 1,3 М.
Как противодействовать FPV дронам
44:34
Стратег Диванного Легиона
Рет қаралды 234 М.
when foldable cellphones follow the trend#shorts
0:11
amazing populer
Рет қаралды 14 МЛН
Слетела прошивка на LiXiang L7
1:01
Настя ЧПЕК Туман
Рет қаралды 4 МЛН
Дешёвый Core i9 | Мутант 12900HX против 14600K и 14900K
23:33
Мой Компьютер
Рет қаралды 99 М.