aws lambda

Home » aws lambda » Page 4

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

Building Dynamic Start and Stop Scheduler Functions for Non-Distributed Applications Under Auto-Scaling Group

2023-05-26T04:50:32+00:00

In AWS, it’s of utmost importance to consider the cost in every aspect. In fact, cost optimization is one of the 6 pillars of a well-architected framework, therefore, it must be included in every step in building solutions in AWS. There are infinite ways to reduce bills but one of the most popular ones for EC2 instances is to start or stop them, especially if they don't need to run 24/7. But constantly doing this manually can be quite tedious and can significantly increase the operational load. It involves human intervention and hence, piling up its risks for human errors. [...]

Building Dynamic Start and Stop Scheduler Functions for Non-Distributed Applications Under Auto-Scaling Group2023-05-26T04:50:32+00:00

Elastic Container Service (ECS) vs Lambda

2023-04-08T05:18:48+00:00

Amazon EC2 Container Service (ECS) AWS Lambda Amazon ECS is a highly scalable, high performance container management service that supports Docker containers and allows you to easily run applications on a managed cluster of Amazon EC2 instances. ECS eliminates the need for you to install, operate, and scale your own cluster management infrastructure. With ECS, deploying containerized applications is easily accomplished. This service fits well in running batch jobs or in a microservice architecture. You have a central repository where you can upload your Docker Images from ECS container for safekeeping called Amazon ECR. Applications in ECS can be written [...]

Elastic Container Service (ECS) vs Lambda2023-04-08T05:18:48+00:00

AWS Lambda

2024-07-16T07:10:03+00:00

Bookmarks Introduction to AWS Lambda Components of a Lambda Application Lambda Functions Invoking Functions Event Source Mapping Deploying Codes with External Dependencies Concurrency Management Lambda Function URL Configuring a Lambda Function to Access Resources in a VPC Lambda@Edge AWS Lambda SnapStart Pricing AWS Lambda-Related Cheat Sheets Validate Your Knowledge AWS Lambda Cheat Sheet A serverless compute service. Lambda executes your code only when needed and scales automatically. Lambda functions are stateless - no affinity to the underlying infrastructure. You choose the amount of [...]

AWS Lambda2024-07-16T07:10:03+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!