EC2 Start and Stop using Lambda Function and Eventbridge
We can schedule the aws instance to stop and start with the help of lambda function by following steps:-
Step 1 :-
Make a custom role in IAM and attach the following custom policy:-
policy:-
{
"Version": "2012-10-17",
"Statement": [
{...
curvesandlevels.hashnode.dev2 min read