Serverless mp3 and mp4 to HLS converter using Zappa, AWS Lambda, API Gateway, S3 and FFmpeg : Installing and setting up Zappa

Installing and setting up Zappa

Before installing Zappa, make sure you have installed Python 3.x.

Let us first install virtualenv. Virtualenv is a tool for creating isolated python environments.

Use pip to install virtualenv (globally or for your user only).

Reference: https://pypi.org/project/virtualenv/

$ pip install virtualenv

Let us create and activate a virtual environment inside our project directory, before installing our other dependencies.

$ mkdir hls-converter-project
$ cd hls-converter-project
$ virtualenv venv
$ . venv/bin/activate

You should now see that your virtual environment is active - command line starting with (venv).

It is now time to install Zappa.

$ pip install zappa
$ zappa init

zappa init will generate a zappa_settings.json file which we will need to update later.


course logo
Serverless mp3 and mp4 to HLS converter using Zappa, AWS Lambda, API Gateway, S3 and FFmpeg
Number of sections:
7
Content length:
Delivery formats:

Instructor

Evans Boateng Owusu
Evans is a Computer Engineer and cloud technology enthusiast. He has a Masters degree in Embedded Systems (focusing on Software design) from the Technical University of Eindhoven (The Netherlands) and a Bachelor of Science in Electronic and Computer Engineering from the Polytechnic University of Turin (Italy). In addition, he has worked for the high-tech industry in the the Netherlands and other large corporations for over seven years.... Show more
Serverless mp3 and mp4 to HLS converter using Zappa, AWS Lambda, API Gateway, S3 and FFmpeg