Let us deploy our application. Within your project directory, execute:
zappa deploy
You will see a console output like this:
Created s3:ObjectCreated:* event schedule for converter.convert_to_hls!
Your updated Zappa deployment is live!:...
Now it is time to test if the lambda function runs when we upload an mp4 or an mp3 to the input S3 bucket. Upload an mp4 file (of size less than 300MB) to the input-bucket in S3 using the AWS console.
Execute
zappa tail
to see live logging from your lambda.
After lambda finishes execution, go to the output S3 bucket (hls-ready) and check that a directory with .ts and .m3u8 files is created.