npm install -g serverless
Assuming you created a project named lambda-training, two files will be created in the lambda-training/ directory. The serverless.yml file is a configuration file that is heavily documented. The other file is handler.py which contains your lambda handler.