Hey I get an error: Response { "errorMessage": "2024-03-14T10:32:34.778Z c8640d39-6d77-4df5-8a9d-ea41a6db2300 Task timed out after 3.01 seconds" } what I could do wrong?
Using this process in aws and set a bot on every minute start and stop ec2 instances and give particular ip when this particular ip come then i stop I requested please give me instructions.
Hi am trying to stop and start 3 ec2 its giving error of client error instance id is malformed. But its working for single ec2. Please how to solve this
instead of using cloudwatch, we can use eventbridge scheduler, by setting up the rate based timing schedule, to invoke the lambda function to turn on and off the EC2 instances right?
Hi Easy to follow and understand tutorial. Looks like one can't copy and paste code on Lambda anymore as you did on this tutorial. It showing i should use AWS cloud 9 to edit lambda function code.
For some reason it's not working for me, it gives me this message: Please Help [ERROR] NameError: name 'region_name' is not defined Traceback (most recent call last): File "/var/lang/lib/python3.12/importlib/__init__.py", line 90, in import_module
GREAT VIDEO
many many many step-by-step and only tours worked perfectly fine.
nice video bro keep it up dont stop uploading
Thank you.
This is very informative . i tried and it works fine.
thank you :)🙂
Hi
Please can you give an insight on how you edited the Lambda function code?I can't copy and paste code. Showing i should use cloud9.
@@JosephOfobuike
Just copy from aws official document of python script for lambda function and try 1 st with deploy and then test
you can use lambda code generator from aws console itself
Hey I get an error:
Response
{
"errorMessage": "2024-03-14T10:32:34.778Z c8640d39-6d77-4df5-8a9d-ea41a6db2300 Task timed out after 3.01 seconds"
}
what I could do wrong?
Try going to configuration of the lambda function and increasing the timeout. It worked for me
Thanks for explaining very nicely 🙏👍
Informative 👍
Using this process in aws and set a bot on every minute start and stop ec2 instances and give particular ip when this particular ip come then i stop
I requested please give me instructions.
What is the code to add other regions as well in same lambda function
Hi am trying to stop and start 3 ec2 its giving error of client error instance id is malformed. But its working for single ec2. Please how to solve this
instead of using cloudwatch, we can use eventbridge scheduler, by setting up the rate based timing schedule, to invoke the lambda function to turn on and off the EC2 instances right?
now cw rule now added into the EventBridge
This is good stuff..
very good explanation
the best!
Many thanks.. It worked..
Hi
Easy to follow and understand tutorial. Looks like one can't copy and paste code on Lambda anymore as you did on this tutorial. It showing i should use AWS cloud 9 to edit lambda function code.
you can use code generator for same and write required code
Do you have to create 2 functions 2 rules for both start & stop ? Waiting for your valuable response..
Yes you can create 2 functions and 1 function is also enough where we can include other required rule as well.
@@CloudPaathshala it is good now
Nice video man...please help us more
Hi how to monitor performance and availablity of ec2
by using cloudwatch, you can watch my video on cloudwatch to monitor ec2
thanks bro
For monthly cost should be??
monthly cost of any particular resource?
when it start again
For some reason it's not working for me, it gives me this message: Please Help
[ERROR] NameError: name 'region_name' is not defined
Traceback (most recent call last):
File "/var/lang/lib/python3.12/importlib/__init__.py", line 90, in import_module
Thanks