aws lambda

Home » aws lambda » Page 3

Serverless Model Deployment in AWS: Streamlining with Lambda, Docker, and S3

2023-11-30T06:08:01+00:00

Welcome back to our series on model deployment in AWS! In the fast-paced world of machine learning and data science, the ability to deploy models efficiently and reliably is crucial. This is where AWS services, with their vast array of tools and capabilities, come into play. In this second installment, we will delve into the potent combination of AWS Lambda and Docker, coupled with the convenience of storing models in S3. This trio offers a scalable, cost-effective, and streamlined solution for deploying machine learning models in a production environment. If you recall, in the first part of our series, we [...]

Serverless Model Deployment in AWS: Streamlining with Lambda, Docker, and S32023-11-30T06:08:01+00:00

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

2024-07-17T03:30:08+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 Invocation2024-07-17T03:30:08+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

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. Upskill and 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!