eljohnacebedo

Home » Collections for Carlo Acebedo

About Carlo Acebedo

Carlo is a cloud engineer and a content creator at Tutorials Dojo. He's also a member of the AWS Community builder and holds 5 AWS Certifications. Carlo specializes in building and automating solutions in the Amazon Web Services Cloud.

Cloudfront Function URL Demo

2023-10-03T19:03:42+00:00

In this article, we will guide you through the process of setting up a CloudFront Function for your CloudFront distribution. We'll walk you through a scenario where we use CloudFront Functions to redirect users to different content based on their device type. By the end of this guide, you'll gain a clear understanding of how CloudFront Functions can benefit your specific use case. Creating an S3  Bucket This bucket will simply serve as a mock origin for the CloudFront distribution that we'll be creating. If you have some test buckets lying around, you may use them instead and skip this [...]

Cloudfront Function URL Demo2023-10-03T19:03:42+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

CloudFront Function URL

2023-07-10T21:58:49+00:00

Introduction CloudFront Functions is a feature of Amazon CloudFront that enables developers to deploy and run lightweight JavaScript functions at AWS’s global edge locations closer to the end-users. This functionality facilitates high scalability and low latency and simplifies operations by allowing developers to run code that customizes the content delivered through CloudFront.  When to Use CloudFront Functions?  CloudFront Functions is ideal for simple tasks requiring high request rates and low latency.  These tasks can include a range of activities. Modifying Cache-keys: CloudFront allows you to change certain parts of your HTTP request (like the URL, headers, cookies, and query strings) [...]

CloudFront Function URL2023-07-10T21:58:49+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

Managing Non-EC2 Servers using AWS Systems Manager

2023-06-21T02:38:50+00:00

Introduction AWS Systems Manager is like a Swiss army knife for your cloud infrastructure, bundling a wide range of features into a single service. You can use it to effectively manage not only your entire AWS ecosystem but also extends its capabilities to your on-premises infrastructure. Here's a quick rundown of what it offers: Operations Management: AWS Systems Manager collects and aggregates operational data, offering you insights for understanding your system's overall performance and maintaining consistent performance and security profiles. Application Management: This tool aids in automating the packaging and deployment of applications. Its Parameter Store securely manages secrets and [...]

Managing Non-EC2 Servers using AWS Systems Manager2023-06-21T02:38:50+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

Adding Logs Insights Queries To Your CloudWatch Dashboard

2023-05-29T02:37:32+00:00

Introduction Widgets are the building blocks of a CloudWatch dashboard. They come in various types that can help you interpret metrics in a way that's not only meaningful but also tailored to your specific needs. While they are typically used for visualizing metrics, widgets can also display the results of Logs Insights queries on your dashboard. Logs Insights queries as a checklist You can save Logs Insights queries to create a "troubleshooting checklist" for various situations. For example, if there's a sudden increase in your application's load, you might wanna check your logs first for any high number of requests, [...]

Adding Logs Insights Queries To Your CloudWatch Dashboard2023-05-29T02:37:32+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

How AWS IAM Handles Conflicting IAM Policies

2023-05-03T03:39:25+00:00

Overview When a user attempts an action in AWS, such as launching an EC2 instance or listing S3 buckets, AWS evaluates all involved IAM policies to determine whether to grant the request. Since IAM policies can be associated with various types of identities, the hierarchy of these identities influences the final permissions for a user. AWS IAM Policy Evaluation Flow Let’s break down the process of how AWS evaluates a request using the simplified version of the AWS flow chart below: 1. Default Deny AWS denies a request by default. For example, if your IAM user has no policies attached [...]

How AWS IAM Handles Conflicting IAM Policies2023-05-03T03:39:25+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!