scheduling lambda function in zappa to stop instances scheduling lambda function in zappa to stop instances flask flask

scheduling lambda function in zappa to stop instances


  • Worth checking the way the zip file is created, Also check the uploaded zip if its in the correct format.
  • The lambda_hanlder should be at the base of the root of the zip.
  • User pip install -r requirements.txt -t .
  • Also just a small improvement move the ec2 connection outside of lambda_handler.
  • To start and stop the instance boto3 docs start and stop instance