You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get an better idea on what you can expect, here is an example screenshot:
Note: Since AWS Lambda does not support Python 3 yet, we have to use Python 2(.7) when
working with the Flask app resp. deploying it with the help of zappa.
Initial Setup
To setup your local machine you need to execute once:
To allow the zappa role accessing AWS health information, please ensure
that you attached the IAM role ZappaLambdaExecution
the policy AWSElasticBeanstalkEnhancedHealth.
Customize to your needs
Copy settings-sample.py to settings.py and modify as required to your environment,
same for static/settings-sample.js. Specifically adjust the AWS regions to your needs.
The monitor screen is defined in templates/home.html, make sure that the CSS IDs do correlate
with the regions you setup in the previous settings files.
Initial Deployments
To install the dev environment on AWS Lambda with the help of zappa initially:
$ zappa deploy dev
As soon as the ZIP is packaged and uploaded, the code will be deployed as AWS Lambda function and
the endpoints registered with the AWS API gateway. When finished you will receive a URL to
access your function.