Invoke or Trigger AWS Lambda Functions Using S3 Events and AWS CDK By Varun Singh
Invoke or Trigger AWS Lambda Functions Using S3 Events and AWS CDK By Varun Singh
AWS Lambda Trigger Using CDK & S3

Lambda functions can be called or invoked directly from the Lambda console, the Lambda API, the AWS SDK, the AWS CLI, and AWS toolkits. You can also configure other AWS services to invoke your function, or you can configure Lambda to read from a stream or queue and invoke your function.

The interesting thing about Lambda is that it has native integrations with 200 service offerings from AWS. This means you can use any of these services to trigger the lambda functions.

If you are an AWS enthusiast and wanting to learn more about Lambdas and S3 for your project…


Edited by: Varun Singh and Background Image by William Daigneault on unsplash

Finally, with the release of Flask 2.0, and after listening to the podcast of the Flask team, it is official that Flask is the most popular Python web framework to date. Here are the stats discussed in the podcast.


Image Created By: Varun Singh using Da Vinci. Icons Taken from Google Images

Lambda can now run your containers as a function with base runtimes provided by AWS or even with custom runtimes.

With time, containerized apps became a hit and now the problem was how to deploy docker images on AWS Lambda as functions. Because we all know, using Lambda you pay only when you run the functions.

A wise man once said —

Docker container is like a bullet proof jacket to prevent you from facing dependency issues. By — Varun Singh 😎

Now that, we have established that I am a wise man, let me tell you a brief about…


AWS Lambda

Typically, the overhead in starting a Lambda invocation — commonly called a cold start — consists of two components.

The first is the time taken to set up the execution environment for your function’s code, which is entirely controlled by AWS.

The second is the code initialization duration, which is managed by the developer — yes, you and me.

This is impacted by code outside of the main Lambda handler function, and is often responsible for tasks like setting up database connections, initializing objects, downloading reference data, or loading heavy frameworks like Spring Boot. According to the analysis done by…


The truth is that for the past year, the cloud has been helping businesses and technology developers in creating a streamlined way to reach customers remotely.

On the other hand, many startups initiated a cloud-native approach to deliver products and services directly to end-users.

Both private and public cloud service or infrastructure providers gained a tremendous amount of business during last year. According to a MariaDB survey:

By 2022, 75% of the databases will be moved to the cloud to achieve faster scalability and lesser infrastructure cost.

Now, let me tell you some numbers — according to estimates from Synergy…


Tree Data Structure Using Python By Varun Singh
Tree Data Structure Using Python By Varun Singh
Tree Data Structure Using Python

In the 5th installment of the Data Structure & Algo Series, we will discuss about Tree data structure.

If you’re looking to brush up on your coding skills for a job interview, or if you want to learn more about data structures and implement them in python besides the usual dictionaries and lists, then you’ve come to the right place!

Tree is a non-linear data structure. Unlike Linked List, Queue, Stacks, etc, the order of the items does not matter in a tree. Also, the items in a tree point to several other items in a non-linear fashion.

We will…


In 2 Minutes — Configure AWS CLI

In this guide, I will walk you through the steps required to successfully configure AWS CLI in your system. Let’s get started.

Login to your AWS account using root user. Now go to IAM Service —

  1. Click on Add User under IAM -> Users.


In 2 Minutes — Setup AWS CLI for All your Cloud Projects

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

In this guide, I will walk you through the steps required to successfully install AWS CLI in your system. Let’s get started —

Windows

Download and run the AWS CLI MSI installer for Windows (64-bit):

Installing using an installer is highly recommend for the Windows…


In 2 Minutes — Setup AWS CDK for You AWS Cloud Projects

This article will guide you to install and configure AWS CDK for all your future projects that are going to build on AWS. This guide will work for all three platforms — Linux, Mac, and Windows

The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define your cloud application resources using familiar programming languages.

CDK can save you from all troublesome activities like manually creating buckets on AWS, write custom scripts, maintain templates, or learn domain-specific languages. …


Linked List Implementation Using Python

In our 4th installment of the Data Structure & Algo Series, we will discuss Linked List.

An alternative to arrays in python — Not By Me😛

If you’re looking to brush up on your coding skills for a job interview, or if you want to learn more about Python data structures besides the usual dictionaries and lists, then you’ve come to the right place!

A linked list is a data structure with the following qualities —

  1. Each item in a linked list is referred to as a Node.
  2. Each node consists of two parts — Data & Next(pointer to the…

Varun Singh

Data Analyst turned Software Developer and Blogger. Enjoys a hot cup of tea and nature’s spell.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store