Creating Image Thumbnails using AWS Lamda
Sidra Effendi (~sidra) |
Amazon web services has a feature which has been doing rounds that is AWS Lambda which allows to instantly react to actions carried in other AWS services, HTTP endpoints, or in-app activity.
You can use AWS Lambda to run your code in response to events, such as changes to data in an Amazon S3 bucket or an Amazon DynamoDB table; to run your code in response to HTTP requests using Amazon API Gateway; or invoke your code using API calls made using AWS SDKs. When using AWS Lambda, you are responsible only for your code. AWS Lambda manages the compute fleet that offers a balance of memory, CPU, network, and other resources. So it is very convenient and fast and saves a lot of sweat but implementing it can become a pain if you follow amazon docs by the book.Thumbnail creation of images as a reaction to putting images in S3 is the use case I will be demonstraing to explain how AWS Lambda works.
Basic knowledge of Amazon Web services (s3 and lambda) and virtual enviornment setup. Basics of linux and Python.
Official Amazon docs: http://docs.aws.amazon.com/lambda/latest/dg/welcome.html
B.Tech graduate in Computer Science and Engineering, Android app developer and lately dabbling with RESTful APIs and Amazon Web services. Co- founded a startup which has been selected by NASSCOM 10,000 Startups, Digital Ocean Hatch & IBM Global Entrepreneur for mentoring and growth.