- Notifications
You must be signed in to change notification settings - Fork0
This is a project instruct how to use serverless(serverless.com) to package the lambda program and using Zencoder as the example
License
dbpeng/aws-lambda-python-example-zencoder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project uses AWS API gateway, lambda, s3,serverless,zencoder,flywaydb to build an example how to successfully deploy a python based lambda project into AWS lambda environment. Using virtualenv is highly recommended to try this project.
At the project root running the following commmands, be sure you have created the flyway.conf at project root.
#> flyway init#> flyway migrate
Before usingserverless deploy
you have to write the variable files stored in/serverless
. There are 3 example files, replace the values with your environment setups and remove-example
in the filename. Here's the example of deployment command
#> serverless deploy --stage dev --profile <your profile>
curl -X "POST" "https://{DOMAIN_NAME_AND_PATH}/transcoders/zencoder/" \ -H 'Content-Type: application/json' \ -d $'{ "src": "https://wowza-video.escapex.com/hk3345678-2.mp4", "profile": "zen-hls"}'
About
This is a project instruct how to use serverless(serverless.com) to package the lambda program and using Zencoder as the example
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.