Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

Practice Test + eBook Bundle Sale - Buy our Practice Test and get the supplementary eBook at 50% OFF

aws lambda

Home » aws lambda » Page 2

AWS Lambda Response Streaming Demo

2023-07-13T20:17:08+00:00

Introduction Response streaming is a new invocation method that enables your functions to progressively stream response payloads back to the clients. Instead of waiting for the entire data to be ready, your applications can now receive chunks of data as soon as they become available. This means faster loading times and a more responsive user experience. Response Streaming vs. Non-Streaming (Buffering) To quickly get an idea of how it works, we need to see it in action. Below, we show two functions that have the simple task of displaying a message in HTML. The non-streaming function introduces a delay of [...]

AWS Lambda Response Streaming Demo2023-07-13T20:17:08+00:00

Building Serverless APIs with AWS API Gateway and AWS Lambda

2023-08-11T19:49:27+00:00

Are you looking to create robust and scalable APIs without dealing with infrastructure management? In this article, we'll look at how to use AWS Lambda and AWS API Gateway to create serverless APIs. You may build APIs that automatically grow, are simple to manage, and offer a seamless user experience by using these services. Your APIs' front door is AWS API Gateway, and AWS Lambda handles the backend computation. Using this integration, you can create reliable and adaptable APIs without worrying about managing infrastructure or servers. Let's examine the relationship between Lambda and API Gateway in more detail. Two ways [...]

Building Serverless APIs with AWS API Gateway and AWS Lambda2023-08-11T19:49:27+00:00

Redacting PIIs Using S3 Object Lambda

2023-06-30T01:06:40+00:00

The Challenge Data privacy is a top priority for businesses, especially amid the rising global data regulations. One common challenge is ensuring sensitive data, like personally identifiable information (PII), remains protected when data is accessed or transferred. Imagine you have a bunch of employee profiles stored as CSV files in an S3 bucket. These profiles include sensitive information such as real names, social security numbers, and email addresses, along with non-sensitive data like job titles and office locations. Various teams within your company often need to access these files for their work. For instance, HR may need to understand the [...]

Redacting PIIs Using S3 Object Lambda2023-06-30T01:06:40+00:00

Setting Up AWS Billing Alerts on Slack

2023-06-16T03:19:15+00:00

Introduction Let's first get familiar with the AWS Cost Explorer. It's essentially a dedicated financial advisor for your AWS expenses, helping you make sense of where your spending goes. With an easy-to-use interface, AWS Cost Explorer provides detailed visual analytics of your past, present, and predicted AWS usage and costs.   Why Slack for AWS bill? We've all been there, trying to stay on top of our monthly bills. AWS does provide budget alerts, which are pretty handy in preventing spending overruns. But those alerts only chime in when you hit certain thresholds. If you want to see how your [...]

Setting Up AWS Billing Alerts on Slack2023-06-16T03:19:15+00:00

AWS Lambda: Synchronous vs Asynchronous Invocation

2023-05-17T05:38:23+00:00

You can invoke a Lambda function in two ways. Synchronous Invocation The first one is called Synchronous invocation, which is the default mode. Synchronous invocation is pretty straightforward. When you invoke a function synchronously, AWS Lambda waits until the function is done processing, then returns the result. Let’s see how this works through the following example: The diagram illustrates a Lambda function-backed API that is managed by API Gateway. When API Gateway receives a GET request from the /getOrder resource, it invokes the getOrder function. The function receives an event containing the payload, processes it, and then returns the result. [...]

AWS Lambda: Synchronous vs Asynchronous Invocation2023-05-17T05:38:23+00:00

Connecting your Lambda Function to a Private Database

2023-05-15T02:11:53+00:00

If you want your Lambda function to interact with resources (e.g., RDS database, EC2 instance) inside a private subnet, you won't be able to do so by default. The reason for this is that Lambda functions live in an isolated and secured VPC managed by AWS. This is why when you create a Lambda function, you don’t go through any networking configurations (VPC, subnet, ENIs), unlike when creating EC2 instances. Also, you cannot establish a VPC peering connection between the VPC where Lambda functions are run and the VPC where your private resources are located because the former is not [...]

Connecting your Lambda Function to a Private Database2023-05-15T02:11:53+00:00

Retrieving Parameter Values from SSM Parameter Store through AWS Lambda

2023-03-27T04:01:09+00:00

In today's world, serverless computing is gaining popularity as it offers technologies for running code, managing data, and integrating applications, all without managing servers. It eliminates the infrastructure management tasks so developers can focus on application development. One of the requirements of serverless development is storage for configuration data management and secrets management. Developers need to store data such as passwords, database strings, etc., at some point. Luckily, Parameter Store, a capability of AWS Systems Manager, provides secure, hierarchical storage for configuration data management and secrets management that works well in serverless development. Developers can store values as plain text [...]

Retrieving Parameter Values from SSM Parameter Store through AWS Lambda2023-03-27T04:01:09+00:00

Reduce The Cost Of Your Lambda Functions With Event Filters (Part 2 of 2)

2023-04-27T03:15:40+00:00

Introduction In the first part of this post, we covered the concept behind event filtering in AWS Lambda and learned how it could help you save money by invoking functions only when necessary. Now it's time to put that knowledge into practice. In this part 2, we’ll see event filtering in action using Amazon Simple Queue Service (SQS) as the event source. Overview A user sends a JSON message to the SQS queue. Event source mapping picks up the message from the queue and evaluates it against the specified filtering criteria. Event source mapping invokes the Lambda function synchronously when [...]

Reduce The Cost Of Your Lambda Functions With Event Filters (Part 2 of 2)2023-04-27T03:15:40+00:00

Reduce The Cost Of Your Lambda Functions With Event Filters (Part 1 of 2)

2023-04-27T03:17:39+00:00

Problem statement You are primarily billed based on how long your Lambda functions run and how often it is invoked. This is why AWS Lambda is great for scheduled jobs, short-duration tasks, and event-based processes. But does this mean you shouldn’t use them for high-volume traffic applications? Well, the short answer is... it depends. Whether or not to use AWS Lambda for high-volume traffic workloads ultimately depends on the requirements of your application and the cost trade-off you're willing to make. Regardless, if you ever find yourself wanting to use Lambda in a high-activity application like stream processing, it’s good [...]

Reduce The Cost Of Your Lambda Functions With Event Filters (Part 1 of 2)2023-04-27T03:17:39+00:00

Build Your Own Slack Commands with Lambda Function URL

2023-04-27T03:33:47+00:00

What are Lambda Function URLs? In the past, calling a Lambda function over HTTP required a lot of setup and configuration with API Gateway. The process of setting up API resources and methods, and linking them to the appropriate Lambda function, can be overwhelming, especially for developers who are new to it. With the function URL feature of the AWS Lambda service, you can create a secure HTTPS endpoint dedicated to a Lambda function. This means that instead of using an intermediary service (like Amazon API Gateway), you can directly invoke your function by simply sending an HTTP request to [...]

Build Your Own Slack Commands with Lambda Function URL2023-04-27T03:33:47+00:00

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!