AWS Compute Services

Comprehensive guides and cheat sheets for aws compute services. Perfect for developers, architects, and cloud professionals.

25 Articles
AWS Compute Services

Utilizing Lambda Functions to Control Amazon EC2 Instances via Slack

This cheat sheet outlines a "ChatOps" architectural pattern that allows you to securely start and stop Amazon EC2 instances directly from a Slack channel using slash commands. --- ## The Problem: In...

June 21, 2025
1 min read

Understanding and Managing AWS Lambda Recursive Loop Invocations

A recursive loop, or unintentional recursion, is a common and potentially costly issue in serverless architectures. It occurs when a Lambda function's execution triggers an event that, in turn, invoke...

June 21, 2025
1 min read

SFTP on Your Ubuntu EC2 Instance – Quick and Simple Setup

This cheat sheet provides a straightforward guide to setting up a secure, chrooted SFTP user on an Ubuntu EC2 instance. This restricts the user to a specific directory and only allows file transfer op...

June 21, 2025
1 min read

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

This cheat sheet covers the advanced syntax for AWS Lambda event filtering, allowing you to build more complex and precise rules to control which events trigger your function. This is a continuation o...

June 21, 2025
1 min read

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

AWS Lambda event filtering is a powerful feature designed to reduce costs and simplify your function code by processing only the events that matter. --- ## The Problem: Unnecessary Lambda Invocation...

June 21, 2025
1 min read

Real-time Monitoring of 5XX Errors using AWS Lambda, CloudWatch Logs and Slack

This cheat sheet outlines a common serverless architectural pattern for real-time monitoring of application errors. The goal is to receive instant notifications in a Slack channel whenever an Applicat...

June 21, 2025
1 min read

ECS Task Placement Strategies

## The Core Components of the Pattern ### 1. Amazon API Gateway: The Front Door API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and sec...

June 21, 2025
1 min read

ECS Network Modes Comparison

## The Core Components of the Pattern ### 1. Amazon API Gateway: The Front Door API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and sec...

June 21, 2025
1 min read

Configuring Notifications for Amazon EC2 Auto Scaling Lifecycle Hooks

## The Core Components of the Pattern ### 1. Amazon API Gateway: The Front Door API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and sec...

June 21, 2025
1 min read

Building Serverless APIs with AWS API Gateway and AWS Lambda

## The Core Components of the Pattern ### 1. Amazon API Gateway: The Front Door API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and sec...

June 21, 2025
1 min read

Amazon EC2 Auto Scaling Lifecycle Hooks

Lifecycle hooks are a powerful feature of Amazon EC2 Auto Scaling that allow you to pause an instance's state transition and perform custom actions before it is fully launched or terminated. --- ## ...

June 21, 2025
1 min read

AWS Wavelength

## Why Wavelength? The Ultra-Low Latency Imperative For a standard mobile application, a request from a user's 5G device typically has to travel from the cell tower, across the mobile network, over t...

June 21, 2025
1 min read

AWS Savings Plan

## How Savings Plans Work: The Commitment Model The concept behind Savings Plans is straightforward: 1. **Commitment**: You commit to a specific amount of compute usage per hour (e.g., $10/hour) fo...

June 21, 2025
1 min read

AWS Serverless Application Repository

The AWS Serverless Application Repository is a managed repository for serverless applications. It enables developers, teams, and organizations to store, share, and reuse serverless applications and th...

June 21, 2025
1 min read

AWS Serverless Application Model (SAM)

The AWS Serverless Application Model (SAM) is an open-source framework that simplifies the process of building and deploying serverless applications on AWS. It provides a shorthand syntax to declare s...

June 21, 2025
1 min read

AWS ParallelCluster

AWS ParallelCluster is an open-source cluster management tool that helps you to deploy and manage High Performance Computing (HPC) clusters on AWS. It simplifies the process of setting up the necessar...

June 21, 2025
1 min read

AWS Lambda

## The Core Paradigm: Event-Driven, Serverless Functions The fundamental principle of Lambda is simple: **You write the code, and Lambda runs it in response to events.** - **Serverless**: You neve...

June 21, 2025
1 min read

AWS Fargate

## The Core Value Proposition: Abstracting the Server Traditionally, running containers involved creating a cluster of virtual machines (like EC2 instances), installing container daemons and agents, ...

June 21, 2025
1 min read

AWS Elastic Beanstalk

## The Core Concepts of Elastic Beanstalk Elastic Beanstalk organizes your application using a simple, logical hierarchy. ### 1. Application An Elastic Beanstalk `Application` is a high-level logica...

June 21, 2025
1 min read

AWS Batch

## What Problem Does AWS Batch Solve? Batch computing is used for workloads that can be run automatically without end-user interaction, often for processing large volumes of data. Common examples inc...

June 21, 2025
1 min read

Amazon Lightsail

## What is Amazon Lightsail For? Lightsail is ideal for: - Simple web applications and websites, such as WordPress, Magento, or LAMP stack-based apps. - Developer environments for testing and sta...

June 21, 2025
1 min read

Amazon Elastic Container Service (ECS)

## The Core Components of ECS ECS is built around four fundamental components that work together to run your containerized applications. ### 1. Task Definition A Task Definition is a text file, in J...

June 21, 2025
1 min read

Amazon Elastic Container Registry (ECR)

Amazon Elastic Container Registry (ECR) is a fully managed Docker container registry service provided by AWS. It allows developers to securely store, manage, share, and deploy their container images a...

June 21, 2025
1 min read

Amazon Elastic Compute Cloud (EC2)

## Core EC2 Components ### Amazon Machine Image (AMI) An AMI is a master template used to create a virtual server, known as an EC2 instance. It contains all the necessary information to launch an ins...

June 21, 2025
1 min read

Amazon EKS

## EKS Core Architecture An EKS cluster is composed of two primary elements: the Control Plane and the Data Plane (worker nodes). ### 1. EKS Control Plane The EKS control plane is a highly availabl...

June 21, 2025
1 min read