To make a build for the deployment, we need to initialize Zappa using zappa init
. This command generates an interactive questionnaire to configure the application. Once you configure Zappa, it will generate the zappa_settings.json
file. The following is a code snippet of the zappa_settings.json
file:
{ "dev": { "app_function": "resources.api", "aws_region": "ap-south-1", "profile_name": "default", "project_name": "chapter12", "runtime": "python3.6", "s3_bucket": "zappa-xl0doooe4" } }
Let's move ahead to make a build using Zappa without considering the Docker environment.