Deploying your python backend with (almost) zero cost

Srinivasan R (~srinivasan)




Gone are the days when you had to provision and maintain servers full time and pay huge costs for it (even though it is idle 99% of the time). The world is going serverless where someone else takes care of running your code automatically whenever you want.

AWS Lambda is one such service which runs your piece of code when an event occurs - could be an HTTP API call, a message put in a queue or a file put in an S3 bucket.

And NO! This isn't the usual cloud servers where you pay for the full hour. You pay in multiples of 100ms intervals of when your code executes and don't even have to pay a dime if no execution occurs.

I will be presenting a real world code with a hands-on demo of how you can easily deploy your python code - be it a simple script to process your log files or handle HTTP API requests to return JSON responses. I would also talk about where you can't use lambdas and also workaround for those use cases.

Going serverless for most of your backend processes will save you lot of money, which is a real differentiator when it comes to pricing your products competitively.

Some of the places where people use AWS Lambdas are:

  • replace most parts of the data pipeline for data munging and pre-processing
  • do basic image manipulation of user uploaded images
  • user activity tracking, metrics generation, log file processing, etc.
  • build backends for IOT devices with data from sensors
  • and even obscure use cases like having your own free commenting system for a static blog.


Basic knowledge of python and some web framework would help.

Content URLs:


Speaker Info:

I have been programming in python for more than a decade and helped startups to build various text/data analytics products, distributed and scalable systems, built web applications using wide variety of frameworks. Also worked with PostgreSQL, MongoDB, Redis, Cassandra, etc., and making them work scalably. Currently helping bring AI to the common man by scaling it for millions of users and fighting lot of challenges along the way.

I have presented in two of previous Pycon India:

  1. The first ever Pycon India (2009) - about a schema less data store built on top of RDBMS (long before postgres added the JSON data type) [link]
  2. In 2013 Pycon India about building distributed and scalable applications using ZeroMQ [link]

Have also regularly talked in local meetups and organized various hackathons and events related to tech & entrepreneurship.

Speaker Links:

Section: Infrastructure
Type: Talks
Target Audience: Intermediate
Last Updated:

Hi, This is a nice topic to cover. Topics covered in the slides seem pretty exhaustive, please consider the content to match the talk time. Can you add Python code snippets for the application and the Python bindings for AWS Lambda, this maybe useful to audience?

Chetan Giridhar (~chetan)

The earth is going away server less where another person deals with running your code naturally at whatever point you need. Later on, I sophisticated the discussion to Write My Assignment | adopts a well ordered strategy that gives the obliged foundation to comprehend the formula bringing about the present type of the discussion.


I have been working so long on Java And C++ both languages are similar but now I want to try python to make some New and interesting Software. I have such a New Ideas in the assignment writing services a Software that helps the student to make assignment but where can I find best resources to learn phyton.

William Morris (~william)

I have tried many CMS for creating website. Python is better web language than PHP. buy essay UK it is much more suitable for development of website. you can also use Django which can do most of your tasks.


There is always a way-out to incur less costs for something really valuable. Even finding a qualified essay writer might be much cheaper if you follow the instructions on this article.


There is always a way-out to incur less costs for something really valuable. Even finding a qualified essay writer might be much cheaper if you follow the instructions on this article.


There is dependably an exit plan to bring about less expenses for something truly profitable. Notwithstanding finding a prestige chauffeurs may be significantly less expensive on the off chance that you take after the directions on this article.


Login to add a new comment.