serverless

Effortless Debugging: AWS CDK TypeScript Projects in VSCode

Effortless Debugging: AWS CDK TypeScript Projects in VSCode

Debugging Lambda functions should be easy, right? You want to debug as you develop, using a standard editor (VSCode), a popular IaC framework (AWS CDK), and a widely adopted language (TypeScript). But it is never quite that easy. One of the main challenges to wider serverless adoption is the developer experience itself. Setting up an effective debugging environment for Lambda functions can be challenging, especially with the variety of tools, frameworks, and configurations available. If you're using the same stack as I am, this guide will help you set up a smooth, flexible debugging environment so you can iterate through…
Read More
Mastering AWS Serverless: Build and Deploy Applications

Mastering AWS Serverless: Build and Deploy Applications

The evolution of cloud computing has led to a groundbreaking shift in how applications are built, deployed, and scaled. AWS (Amazon Web Services) has been a pioneer in this space with its powerful serverless architecture, empowering developers to focus on writing code without the need to manage servers. In this guide, we’ll explore how to master AWS serverless services and walk you through the steps to efficiently build and deploy serverless applications. For a visual walkthrough of the concepts covered in this article, check out my YouTube Video:- Why Serverless? The Future of Cloud Computing Serverless computing allows you to…
Read More
AWS Elastic Beanstalk vs. AWS Amplify: Choosing the Right Tool for Your App’s Success

AWS Elastic Beanstalk vs. AWS Amplify: Choosing the Right Tool for Your App’s Success

Both AWS Elastic Beanstalk and AWS Amplify are popular managed services for deploying and managing applications, but they cater to different use cases and developer needs. Let’s explore these two services, highlighting their differences, trade-offs, and considerations to help you choose the right tool for your project. Understanding AWS Elastics Beanstalk AWS Elastic Beanstalk is a Platform-as-a-Service (PaaS) that helps developers deploy and manage applications in several languages, including Java, .NET, Node.js, PHP, Python, Ruby, Go, and Docker. It abstracts much of the infrastructure management by automatically handling scaling, load balancing, health monitoring, and environment management. Key Features: Multi-language support.…
Read More
Unlocking the Potential of Cloudflare Workers for Small Projects

Unlocking the Potential of Cloudflare Workers for Small Projects

Cloudflare Workers is a serverless platform that allows developers to run code at the edge, close to the end users. Unlike some other serverless platforms that run in centralized data centers, Cloudflare Workers run in over 200 locations worldwide, providing lower latency and high performance. This article explores why Cloudflare Workers is a fantastic choice for smaller projects and offers a practical use case of creating a Telegram bot using Cloudflare Workers. Why Choose Cloudflare Workers for Smaller Projects? 1. Low Latency and High Performance Imagine your code running in data centers closest to your users, reducing latency significantly and…
Read More
Getting the Actual Client IP When Using Application Load Balancer (ALB) in AWS Lambda

Getting the Actual Client IP When Using Application Load Balancer (ALB) in AWS Lambda

When I was new to AWS, I faced an interesting challenge while working on a task to digitally sign a document, which required the client's IP as part of the e-signature. Initially, I was thrilled when the implementation seemed to work perfectly the first time. However, my excitement was short-lived. During testing, I noticed that the same IP address was being returned, even when I accessed the application from different machines. It was then that I realized the IP address I was receiving was not the actual client IP but the IP of the load balancer. This discovery led me…
Read More
Creating a home server with CasaOS on Debian from that old dusty PC in your closet.

Creating a home server with CasaOS on Debian from that old dusty PC in your closet.

Introduction Setting up a home server can be an exciting project, especially when you aim to centralize backups, file sharing, and possibly even media streaming. Recently, I decided to repurpose my old desktop as a home server using Debian as the base operating system. During the process, I encountered a black screen issue caused by my graphics card, but removing the GPU resolved it since a home server doesn't require a dedicated graphics card. In this guide, I will walk you through the steps to install Debian on an old PC and then install CasaOS on your Debian home server.…
Read More
Event-Driven Architecture: reconcile Notification and Event-Carried State Transfer patterns

Event-Driven Architecture: reconcile Notification and Event-Carried State Transfer patterns

Event-driven architectures have tremendous benefits: decoupling application components brings improved resilience, the ability to isolate non-scalable workloads from unpredictable user traffic and better user experience (returning a response before we do the complexe processing). However, their design is not easy and can lead to numerous debates among developers and architects: should we have very minimalistic events, requiring consumers to fetch additional information? do we need fully-qualified events? .. In this post, I explain the different types of events and propose a way to simply reconcile the different approaches by relying on AWS EventBridge. A Github repo with fully functional examples…
Read More
Strong Performance with EC2, Lambda, and the Momento SDK for Rust

Strong Performance with EC2, Lambda, and the Momento SDK for Rust

I wrote recently about Mind Boggling Speed with Caching with Momento and Rust and wanted to continue in that theme as I explore the Momento SDK for Rust. Caching is a technique that builders reach for when looking to accomplish either improved performance or reduce the burden on resource-dependent parts of an application. It might also be a choice when looking to save costs if an operation is charged per read such as with DynamoDB. In any of those scenarios, caching must be fast. But caching must not also introduce a high amount of complexity. This is where I love…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.