It is possible to deploy lambda function via aws-cli as explained here (developer.amazon.com/blogs/post/Tx1UE9W1NQ0GYII/P…), but I would recommend Serverless (serverless.com), a framework for development for developing using AWS lambda. Serverless has lot of capabilities that would help you throughout the development lifecycle. Its very easy to get started, easier to automate and most importantly its a more scalable approach.