sideara-image

Lorem ipsum dolor sit . Proin gravida nibh vel vealiquete sollicitudin, lorem quis bibendum auctonisilin sequat. Nam nec tellus a odio tincidunt auctor ornare.

Stay Connected & Follow us

What are you looking for?

Simply enter your keyword and we will help you find what you need.

AWS Lambda Tag

Improving cost and efficiency by using AWS Lambda’s cache

Introduction In this blog, we're going to discuss how global variables inside AWS Lambda work and how you can use them in your serverless applications to increase performance and cache values. Let’s first start with the definition of cache. According to AWS official documentation,  “In computing, a cache is a high-speed data storage layer that stores a subset of data, typically transient in nature, so that future requests for that data are served up faster than is...

AWS Lambda Function in GoLang

AWS Lambda is a well known and great cloud Function as a Service (FaaS). And Google’s GoLang is a statically typed, compiled programming language. It is widely popular for it is being super fast and it’s built-in concurrency. In this blog post, we will discuss how we can use GoLang in the AWS Lambda function. In this demonstration, I’m using Go1.15. Following things are assumed: You know how to setup GoLang for development in Unix systemsYou are familiar with AWS Lambda As Go is a compiled language, we cannot use the...

Invoke AWS Lambda from AWS Step Functions with Terraform

Terraform Terraform is an open-source infrastructure as a code software tool. It allows building, changing, and versioning the infrastructure. Terraform uses a declarative approach to define the infrastructure. Users will define the end infrastructure that they want and terraform will do the rest of the thing to have that infrastructure. Terraform allows its users to define and describe the infrastructure using a declarative configuration language known as HCL or HashiCorp Configuration Language. When the end infrastructure is defined terraform...

A journey to AWS Lambda integration testing with Python, Localstack, and Terraform

To start with unit testing for AWS Lambda, we can just choose a testing framework and start writing our beautiful unit tests. For testing AWS services we also can use some mock tools like moto. But what about integration testing? A solution may be to deploy with the Continuous Deployment tool and run some test code against real AWS services. But there are some problems: It takes more time to deploy every timeRunning test code against AWS takes more timeIncreases the AWS bills So...

Automate python libraries deployment at AWS Lambda layer from Pipfile with Terraform

AWS Lambda, a part of Amazon Web Services (AWS) is a serverless computing service that works as FaaS (Function as a Service). A FaaS is a service which provides users to develop and manage application service without thinking about infrastructure. Terraform is an Infrastructure as Code (IaC) tool which is developed by Hasi Corp to manage resources of cloud services like AWS, Google Cloud, Azure, etc. It is open-source and developed by golang. It is always challenging to zip the codes and upload them...

Demystifying cron job through AWS lambda in Serverless

Some services like video upload to social media like Facebook, YouTube, etc via API need some time to process the request as it takes time to finish the processing of a video by Facebook or YouTube. At Craftsmen, for one of our customers we have a service API where users can send us requests with a video URL, and in which social media platform the video should be uploaded, our API will upload the video to...