AWS Compute Services
Comprehensive guides and cheat sheets for aws compute services. Perfect for developers, architects, and cloud professionals.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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. --- ## ...
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...
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...
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...
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...
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...
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...
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, ...
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...
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...
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...
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...
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...
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...
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...