sv222/aws-cloud-architecture-handbook
소개
Practical AWS cloud architecture handbook for engineers: core services, design patterns, limits, security, cost optimization and AWS Well-Architected Framework guidance, updated for 2026.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAWS Cloud Architecture Handbook

A practical handbook for engineers who design, build, and run systems on AWS. It summarizes core services, their limits and defaults, and Well-Architected Framework guidance. Last reviewed in November 2026.

Table of Contents
- Amazon Elastic Compute Cloud (EC2)
- Amazon Elastic Container Service (ECS)
- Amazon Elastic Container Registry (ECR)
- Amazon Elastic Kubernetes Service (EKS)
- AWS Lambda
- Amazon Virtual Private Cloud (VPC)
- Amazon Route 53
- Amazon Elastic Load Balancing (ELB)
- AWS Transfer Family
- AWS Direct Connect
- Amazon Simple Storage Service (S3)
- Amazon Elastic Block Store (EBS)
- Amazon Elastic File System (EFS)
- Amazon Relational Database Service (RDS)
- Amazon Aurora
- Amazon DynamoDB
- Amazon Redshift
- Amazon Simple Queue Service (SQS)
- Amazon Simple Notification Service (SNS)
- Amazon API Gateway
- Amazon Cognito
- Amazon CloudWatch
- AWS CloudTrail
- AWS Identity and Access Management (IAM)
- AWS Key Management Service (KMS)
- AWS Security Hub
- AWS CloudFormation
- AWS Systems Manager
- AWS Well-Architected Framework
- AWS Cost Optimization Strategies
- Amazon EventBridge
- AWS Step Functions
- Amazon Kinesis
- Amazon GuardDuty
- Amazon Inspector
- Amazon Macie
- AWS IAM Access Analyzer
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeCommit
- Contributing
- License
Amazon Elastic Compute Cloud (EC2)
Amazon EC2 provides resizable virtual server capacity in the cloud. Key concepts:
Instance Types (named by family; the generations within each family change over time, so check the current instance types list):
- General Purpose (M, T)
- Compute Optimized (C)
- Memory Optimized (R, X, U)
- Accelerated Computing (P, G, Trn, VT)
- Storage Optimized (I, Im, Is)
Pricing Models:
- On-Demand (no commitment)
- Savings Plans (1- or 3-year hourly spend commitment; applies across accounts in an AWS Organization, and does not reserve capacity)
- Spot Instances (up to 90% off On-Demand prices)
- Reserved Instances (1- or 3-year billing discount; a zonal RI also reserves capacity in its Availability Zone)
- Dedicated Hosts (physical servers for your use)
- Dedicated Instances (EC2 instances on single-tenant hardware)
- Capacity Reservations (reserve capacity in a specific Availability Zone with no term commitment; no billing discount of their own, but Savings Plans and Regional RIs apply to them)
Advanced Features:
- Nitro System (enhanced security & performance)
- Elastic Fabric Adapter (EFA) for HPC and ML networking
- Capacity Blocks for ML (reserved GPU capacity for a fixed start time and duration)
- EC2 Instance Connect for browser-based SSH
- EC2 Fleet and Spot Fleet (launch On-Demand and Spot capacity across instance types and Availability Zones in one request)
Best Practices:
- Use Instance Metadata Service (IMDSv2) for enhanced security
- Enable Detailed Monitoring for 1-minute metrics (CloudWatch)
- Leverage Placement Groups (Cluster, Spread, Partition) for specific workload needs
- Utilize EC2 Auto Scaling for elasticity and high availability
- Implement AWS Systems Manager for operational automation
- Continuously monitor and optimize costs using AWS Cost Explorer and Compute Optimizer
Amazon Elastic Container Service (ECS)
Amazon ECS is a managed container orchestration service that supports Docker containers. ECS enables you to deploy, manage, and scale containerized applications. ECS provides a variety of features to help you manage your containerized applications, including:
- Service discovery: Service Connect and AWS Cloud Map let services find each other by name.
- Load balancing: ECS services register tasks with Application or Network Load Balancer target groups.
- Health monitoring: The ECS service scheduler replaces tasks that fail container or load balancer health checks.
- Auto scaling: Service Auto Scaling adjusts the desired task count based on metrics such as CPU, memory, or request count.
Key points about Amazon ECS for architecture and operations:
- ECS supports Docker containers and OCI compliant images.
- Compute options: Fargate (serverless), EC2 (instances you manage), ECS Managed Instances (AWS provisions and patches the EC2 instances in your account), and ECS Anywhere (External) for servers you run on-premises or in other clouds.
- Supports Windows Containers for specific workloads.
Amazon Elastic Container Registry (ECR)
Amazon ECR is a fully managed container registry for Docker container images and Open Container Initiative (OCI) compatible artifacts. ECR is integrated with Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS).
Key points about Amazon ECR for architecture and operations:
- ECR provides a variety of features to help you manage your container images, including:
- Image tagging and versioning
- Image replication
- Image scanning: basic scanning (AWS-native, no additional charge) or enhanced scanning through Amazon Inspector (billed separately). Clair-based scanning has been deprecated.
- Image lifecycle management
- Pull through cache rules cache images from upstream registries, such as Docker Hub, in your private registry.
- Maximum layer size is a service quota. Check the current value in Service Quotas before you push very large images.
- ECR supports IPv6 for enhanced networking capabilities.
Amazon Elastic Kubernetes Service (EKS)
Amazon EKS is a managed Kubernetes service that makes it easy to deploy, manage, and scale Kubernetes applications on AWS. AWS operates the Kubernetes control plane (API server and related components). You manage the worker nodes unless you use EKS Auto Mode, which provisions and manages the compute for you.
Key points about Amazon EKS for architecture and operations:
- Worker node options: managed node groups, self-managed EC2 nodes, AWS Fargate, and EKS Hybrid Nodes for machines in your own data centers.
- Kubernetes version support: about 14 months of standard support after a version is released, followed by extended support, for 26 months in total.
- As of November 2026, Amazon EKS supports Kubernetes version 1.37.
- Load balancing with the AWS Load Balancer Controller: a Network Load Balancer for each Service of type LoadBalancer, and an Application Load Balancer for each Ingress. The legacy in-tree controller creates Classic Load Balancers.
- Use EKS access entries to map IAM principals to Kubernetes RBAC permissions. The aws-auth ConfigMap is deprecated.
- EKS Pod Identity simplifies IAM credentials for pods.
- Monitoring with CloudWatch Container Insights.
- The EKS Dashboard provides centralized visibility and management of Kubernetes clusters.
- EKS Hybrid Nodes runs your on-premises machines as nodes in an EKS cluster. EKS Anywhere is a separate product for disconnected or air-gapped environments.
AWS Lambda
AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers. Lambda runs your code only when it is invoked and scales automatically. Lambda provides managed runtimes for Node.js, Python, Java, .NET, and Ruby, plus OS-only runtimes such as provided.al2023, which custom runtimes (such as Go) use.
Key points about AWS Lambda for architecture and operations:
- Runtimes are deprecated on published dates. After deprecation, AWS stops security patches for the runtime, and later blocks creating and updating functions that use it.
- Limits:
- Maximum timeout: 15 minutes (900 seconds)
- Memory: 128 MB to 10,240 MB; CPU scales with memory
- Ephemeral storage (
/tmp): 512 MB to 10,240 MB - Deployment package: 50 MB zipped for direct upload (use Amazon S3 for larger packages), 250 MB unzipped including layers
- Container images: up to 10 GB uncompressed
- Event sources include HTTP requests (through API Gateway or function URLs), changes to S3 objects, and Kinesis stream records.
- Function URLs give a function a dedicated HTTPS endpoint with
AWS_IAMorNONEauth. - Supports
arm64architecture (AWS Graviton). - Newer managed runtimes run on Amazon Linux 2023.
Amazon Virtual Private Cloud (VPC)
Amazon Virtual Private Cloud (VPC) enables you to launch AWS resources into a logically isolated virtual network that you define. This virtual network closely resembles a traditional network that you'd operate in your own data center, with the benefits of using the scalable infrastructure of AWS.
Key points about Amazon VPC for architecture and operations:
- VPC provides you with complete control over your virtual networking environment, including the selection of your own IP address range, creation of subnets, and configuration of route tables, internet gateways, NAT gateways, virtual private gateways, and VPC endpoints.
- A VPC can use IPv4, IPv6, or dual-stack addressing.
- VPC can be used to build public, private, and hybrid networks, with VPC peering and Transit Gateway for inter-VPC connectivity.
Here are some additional details about Amazon VPC that you may want to know:
- Subnets are smaller networks within your VPC. Each subnet resides in a single Availability Zone.
- Security groups control inbound and outbound traffic at the instance level and are stateful, so return traffic is allowed automatically. Network ACLs control traffic at the subnet level and are stateless, so return traffic needs its own rule.
- A NAT gateway, placed in a public subnet, lets instances in private subnets start outbound IPv4 connections.
- Gateway endpoints for Amazon S3 and DynamoDB are targets in route tables. Interface endpoints use AWS PrivateLink and elastic network interfaces.
- VPC Flow Logs capture information about the IP traffic going to and from network interfaces in your VPC, enabling monitoring and troubleshooting.
Amazon Route 53
Amazon Route 53 is a highly scalable and available cloud Domain Name System (DNS) web service. It provides a reliable and secure way to route end users to internet applications by translating domain names, such as example.com, to the numeric IP addresses of the underlying infrastructure where the applications are hosted.
Key points about Amazon Route 53 for architecture and operations:
- Route 53 supports a variety of DNS record types, including A, AAAA, CNAME, MX, NS, SOA, TXT, SRV, and CAA.
- Route 53 provides a variety of features to help you manage your DNS records, including:
- DNS health checks
- Routing policies: simple, weighted, latency, failover, geolocation, geoproximity, IP-based, and multivalue answer
- AWS recommends a default record with geolocation, geoproximity, and latency records, so clients that match no rule still get an answer
- Alias records, which can be created at the zone apex (a CNAME cannot)
- Route 53 Resolver (for DNS resolution within your VPC)
- DNSSEC support
Here are some additional details about Amazon Route 53 that you may want to know:
- Route 53 can be used to route traffic to applications hosted on AWS, on-premises, or with other cloud providers.
Amazon Elastic Load Balancing (ELB)
Elastic Load Balancing (ELB) is a load balancing service that automatically distributes incoming traffic across multiple targets, such as EC2 instances, containers, and IP addresses, in one or more Availability Zones. It monitors the health of its registered targets and ensures that traffic is routed only to the healthy targets. ELB scales your load balancer capacity automatically in response to changes in incoming traffic.
Key points about Elastic Load Balancing for architecture and operations:
- ELB supports four different types of load balancers:
- Application Load Balancer: Routes traffic to web applications (Layer 7).
- Network Load Balancer: Routes traffic to TCP and UDP applications (Layer 4).
- Gateway Load Balancer: Enables you to deploy, scale, and manage third-party virtual appliances.
- Classic Load Balancer: A legacy load balancer that is still supported. AWS recommends migrating to an Application or Network Load Balancer.
Here are some additional details about Elastic Load Balancing that you may want to know:
- IP address targets can be on-premises servers reachable over AWS Direct Connect or Site-to-Site VPN.
- Cross-zone load balancing is on by default for Application Load Balancers, where you can turn it off per target group. It is off by default for Network and Gateway Load Balancers.
- ELB provides a variety of features to help you manage your load balancers, including:
- Health checks: Monitors the health of your registered targets and routes traffic only to the healthy targets.
- Listener rules (Application Load Balancer): Route requests to different target groups based on path, host, or HTTP header conditions.
- Target groups: Groups of targets that you can register with your load balancer.
- Security groups: Supported on Application, Network (only when set at creation), and Classic Load Balancers. Not supported on Gateway Load Balancers.
AWS Transfer Family
AWS Transfer Family is a managed service that makes it easy to transfer files over SFTP, FTPS, FTP, and AS2. It provides a secure and reliable way to transfer files between your on-premises systems and AWS storage services, such as Amazon S3 and Amazon Elastic File System (EFS).
Key points about AWS Transfer Family for architecture and operations:
- Protocol availability depends on the endpoint type:
- Public endpoints support SFTP only.
- VPC endpoints with internet access support SFTP, FTPS, and AS2.
- VPC endpoints with internal access support SFTP, FTP, FTPS, and AS2.
- FTP sends data and credentials in clear text, so it is available only on VPC internal endpoints.
- FTPS supports explicit mode only and requires a certificate in AWS Certificate Manager.
- AS2 requires a VPC endpoint and Amazon S3 storage. Amazon EFS is not supported for AS2.
- AWS Transfer Family supports a variety of SFTP clients, including WinSCP, Cyberduck, and FileZilla.
- AWS Transfer Family provides a variety of features to help you manage your file transfers, including:
- Identity providers: service-managed users (SFTP only), AWS Directory Service for Microsoft AD (password authentication, with access granted by AD group), or custom identity providers backed by AWS Lambda or Amazon API Gateway
- Access control (using IAM roles and policies)
- Activity logging (API calls in AWS CloudTrail, and transfer logs in Amazon CloudWatch)
- File transfer notifications (EventBridge events can be sent to Amazon SNS topics)
AWS Direct Connect
AWS Direct Connect is a dedicated network connection between your on-premises network and one of the AWS Direct Connect locations. It provides a private, high-bandwidth connection to AWS that bypasses the public internet. Private virtual interfaces reach resources in your VPCs, and public virtual interfaces reach public AWS service endpoints such as Amazon S3.
Key points about AWS Direct Connect for architecture and operations:
- Traffic over Direct Connect is not encrypted by default. Use MACsec on dedicated 10, 100, or 400 Gbps connections at select locations, or run a Site-to-Site VPN over a public or transit virtual interface.
- AWS Direct Connect offers two main types of connections:
- Dedicated Connections: A dedicated physical connection with 1, 10, 100, or 400 Gbps ports.
- Hosted Connections: A connection provisioned by an AWS Direct Connect partner, with bandwidth from 50 Mbps to 25 Gbps.
- Resiliency Toolkit models:
- Maximum resiliency: Separate connections on separate devices in more than one location, with a 99.99% SLA when its conditions are met.
- High resiliency: Two connections to multiple locations, with a 99.9% SLA.
- Development and test: For non-critical workloads, in one location, with no SLA.
Here are some additional details about AWS Direct Connect that you may want to know:
- AWS Direct Connect is a global service with over 150 Direct Connect locations around the world.
- Transit virtual interfaces connect to a transit gateway. A Direct Connect gateway lets a private virtual interface reach VPCs in multiple AWS Regions.
Amazon Simple Storage Service (S3)
Amazon S3 is a highly scalable, durable, and available object storage service for storing and retrieving any amount of data. It is commonly used to host static websites, store data for web and mobile applications, back up and restore data, archive data, support disaster recovery, and run analytics and machine learning workloads.
Key points about Amazon S3 for architecture and operations:
- S3 stores objects in buckets, which are logical containers for your data. Each object is identified by its key (name) and, if versioning is enabled, a version ID.
- Objects can be up to 50 TB. Single PUT requests are limited to 5 GB, so use multipart upload for larger objects (up to 10,000 parts, each 5 MiB to 5 GiB).
- S3 provides strong read-after-write consistency for PUT and DELETE requests in all AWS Regions.
- SSE-S3 is the default encryption for all buckets. SSE-KMS, DSSE-KMS (dual-layer encryption with AWS KMS keys), and SSE-C are also available. SSE-C is disabled by default for new buckets and must be enabled explicitly.
- New buckets have all four Block Public Access settings enabled and ACLs disabled (bucket owner enforced).
- S3 provides features to manage your data, including:
- Object versioning
- Access control with IAM policies, bucket policies, access points, and Access Grants
- Static website hosting
- S3 Storage Lens (organization-wide visibility)
- S3 Object Lambda (process data as it is retrieved; closed to new customers since November 7, 2025)
Here are some additional details about Amazon S3 that you may want to know:
- S3 offers these storage classes: S3 Standard, S3 Intelligent-Tiering, S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, S3 Glacier Deep Archive, and S3 Express One Zone.
- S3 can be integrated with other AWS services, such as Amazon EC2, Amazon CloudFront, AWS Lambda, AWS Storage Gateway, and AWS Lake Formation.
Amazon Elastic Block Store (EBS)
Elastic Block Store (EBS) is a block-level storage service designed for use with Amazon Elastic Compute Cloud (EC2) instances. EBS volumes provide persistent storage for applications running on EC2 instances. EBS volumes are replicated within the Availability Zone in which they are created to protect against data loss.
EBS volumes are available in six volume types:
- General Purpose SSD (gp3): Recommended for most workloads. Baseline 3,000 IOPS and 125 MiB/s throughput, scalable to 80,000 IOPS and 2,000 MiB/s.
- Provisioned IOPS SSD (io2 Block Express): Highest performance SSD for mission-critical applications. Supports up to 256,000 IOPS and 4,000 MiB/s throughput per volume, which requires Nitro-based instances.
- Throughput Optimized HDD (st1): Cost-effective for frequently accessed, throughput-intensive workloads like big data.
- Cold HDD (sc1): Lowest cost HDD for less frequently accessed workloads.
- io1: Provisioned IOPS SSD with up to 64,000 IOPS and 1,000 MiB/s per volume. io2 Block Express offers higher durability and a higher IOPS-to-GiB ratio.
- gp2: General Purpose SSD with IOPS tied to volume size (3 IOPS per GiB, up to 16,000 IOPS and 250 MiB/s). gp3 is the lower-cost option, with IOPS and throughput provisioned separately from size.
EBS volumes can be increased in size without downtime (Elastic Volumes), but they cannot be decreased. EBS volumes can also be used to create snapshots, which are point-in-time copies of an EBS volume. Snapshots can be used to create new EBS volumes or to restore an EBS volume to a previous state. Snapshots can also be moved to the lower-cost archive tier for long-term retention, but an archived snapshot must be restored before you can create a volume from it.
Key points about EBS for architecture and operations:
- An EBS volume can only be attached to an instance in the same Availability Zone.
- io1 and io2 volumes support Multi-Attach, which lets up to 16 Nitro-based instances in the same Availability Zone attach one volume.
- EBS volumes can be encrypted at rest using AWS Key Management Service (KMS). Data in transit between the instance and the volume is also encrypted.
- Encryption by default is a per-Region account setting that encrypts all new volumes.
- EBS volumes can be used to create RAID arrays.
- EBS volumes can serve as root (boot) volumes or additional data volumes for EC2 instances.
Amazon Elastic File System (EFS)
Amazon Elastic File System (EFS) is a fully managed, elastic file system that lets multiple Amazon Elastic Compute Cloud (EC2) instances and on-premises servers share files.
Key points about EFS for architecture and operations:
- Regional file systems store data redundantly across multiple Availability Zones. One Zone file systems store data in a single Availability Zone at lower cost.
- EFS scales to petabytes of data without provisioning capacity.
- EFS provides close-to-open consistency, as NFS clients expect, and NFSv4 byte-range file locking. Locks are advisory, so applications must handle NFS semantics themselves.
- Throughput modes are Elastic (recommended), Provisioned, and Bursting.
- General Purpose is the default performance mode and is recommended for all file systems. The performance mode can't be changed after the file system is created.
- EFS can be used with EC2 instances, Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS), AWS Lambda functions, and AWS Fargate.
- Storage classes are Standard, Infrequent Access (IA), and Archive. Lifecycle management can move files between them automatically.
Here are some additional details about EFS that you may want to know:
- EFS uses the Network File System (NFS) protocol. NFSv4.1 is preferred, and NFSv4.0 is also supported.
- Windows-based EC2 instances are not supported.
- EFS file systems can be mounted on EC2 instances in your virtual private cloud (VPC).
- EFS file systems can be accessed from on-premises servers using AWS Direct Connect or AWS VPN.
- EFS encrypts data at rest using AWS Key Management Service (KMS). The encryption key is chosen when the file system is created.
- EFS Replication copies a file system to a destination in the same AWS Region or another Region. The destination is read-only until you delete the replication configuration.
Amazon Relational Database Service (RDS)
Amazon Relational Database Service (RDS) is a managed database service that provides a relational database infrastructure for deploying, scaling, and managing relational databases in the cloud.
Key points about RDS for architecture and operations:
- RDS is a fully managed service. AWS handles the underlying infrastructure, and you choose instance classes, storage, and maintenance windows.
- RDS runs MySQL, MariaDB, PostgreSQL, Oracle Database, Microsoft SQL Server, and IBM Db2. Amazon Aurora is a separate MySQL- and PostgreSQL-compatible engine that is also managed through the RDS API and console.
- RDS provides high availability and durability for your databases.
- RDS offers a variety of features to help you secure your databases, including encryption, access control, auditing, and integration with AWS Secrets Manager.
Here are some additional details about RDS that you may want to know:
- Deployment options include single-AZ, Multi-AZ with a standby, Multi-AZ DB clusters (MySQL and PostgreSQL only), and read replicas.
- RDS stores automated backups in Amazon Simple Storage Service (S3). The retention period is 0 to 35 days, and 0 turns automated backups off.
- RDS instances can be restored from backups to create new RDS instances.
- Increasing storage usually doesn't cause an outage. Each increase must be at least 10% larger than the current size, up to four storage modifications fit in 24 hours, and storage can't be reduced. Storage autoscaling grows storage automatically when free space runs low.
- Multi-AZ deployments minimize downtime during instance changes.
- Blue/Green deployments create a synchronized staging copy for testing engine upgrades and changes. Switchover usually takes under a minute.
- RDS Proxy pools database connections and keeps the application endpoint stable during failover.
- Engine versions that reach RDS end of standard support are enrolled in Extended Support automatically. Extended Support costs extra and runs for up to three years, so plan the upgrade before its end date.
- RDS databases can be migrated between engines using the AWS Schema Conversion Tool and AWS Database Migration Service.
Amazon Aurora
Amazon Aurora is a relational database service that is MySQL and PostgreSQL compatible, so developers can use existing code, skills, and tools to build new applications, or migrate existing applications to the cloud.
Key points about Aurora for architecture and operations:
- Aurora is a fully managed service, so you don't have to worry about provisioning or managing the underlying infrastructure.
- Aurora delivers up to six times the throughput of standard MySQL and PostgreSQL databases, and it offers up to 99.99% availability.
Here are some additional details about Aurora that you may want to know:
- Aurora uses a distributed storage system to achieve high performance and availability.
- Aurora supports up to 15 Aurora Replicas across multiple Availability Zones for high availability and disaster recovery.
- Aurora offers continuous backup and point-in-time recovery, with a retention period of 1 to 35 days.
- Changing an instance's class causes downtime for that instance. Other instances in the cluster stay up. To shorten the interruption, add a replica of the new size and fail over to it.
- Aurora is compatible with Amazon RDS tools and APIs.
Amazon DynamoDB
Amazon DynamoDB is a fully managed, durable NoSQL database with built-in security, backup and restore, and global tables for multi-Region, multi-active replication. DynamoDB provides single-digit millisecond performance at any scale.
Key points about DynamoDB for architecture and operations:
- DynamoDB is a NoSQL database, which means that it does not use a traditional relational database schema.
- DynamoDB is highly available and durable, and it can scale to petabytes of data.
- DynamoDB has two capacity modes. On-demand bills per read and write request. Provisioned bills for provisioned read and write capacity per hour, and auto scaling can adjust that capacity. Reserved capacity, with a one- or three-year commitment, lowers the cost of provisioned tables.
- DynamoDB Accelerator (DAX) is a separate managed in-memory cache cluster in front of tables. It is not built into the table service.
Here are some additional details about DynamoDB that you may want to know:
- DynamoDB uses a key-value and document data model, supporting both eventually consistent and strongly consistent reads.
- DynamoDB tables are made up of items, which are collections of attribute-value pairs. An item can be up to 400 KB, including attribute names and values. Store larger objects in Amazon S3 and keep a pointer to them in the item.
- Each DynamoDB table has a single primary key, either a partition key alone or a partition key plus sort key, which is used to identify and retrieve items.
- DynamoDB tables can also have secondary indexes (Global Secondary Indexes and Local Secondary Indexes), which are used to query items based on attribute values.
- Point-in-time recovery restores a table to any second within a window of 1 to 35 days. The default window is 35 days.
- DynamoDB offers a variety of APIs for accessing and managing data, including the AWS SDKs, the AWS CLI, and the AWS Management Console.
Amazon Redshift
Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud. You analyze data with standard SQL and existing BI tools. Redshift is up to 100 times faster than traditional data warehouses, and it offers a variety of features to help you analyze your data, including:
- Massively parallel processing (MPP): Redshift uses MPP to distribute data across multiple compute nodes, allowing it to process large datasets quickly and efficiently.
- Columnar storage: Redshift stores data in columns, which significantly improves performance for analytical queries.
- Advanced Query Optimizer: Optimizes query execution plans for faster results.
- Materialized Views: Pre-compute and store results of complex queries for faster access.
- Concurrency Scaling: Automatically adds capacity to handle concurrent queries.
- Redshift ML: Create, train, and deploy machine learning models directly from Redshift.
- Redshift Serverless: Run and scale data warehouse workloads without managing infrastructure.
Key points about Redshift for architecture and operations:
- Redshift is cost-effective, and it offers a variety of features to help you save money, such as reserved nodes.
- Provisioned clusters use RA3 nodes, which separate compute from managed storage. DS2 node types are no longer available.
Here are some additional details about Redshift that you may want to know:
- Resizing a provisioned cluster makes it unavailable for a few minutes. Elastic resize is the faster option, with a shorter outage than classic resize. Concurrency Scaling is separate and adds temporary capacity for concurrent queries.
- Redshift clusters can be backed up automatically to Amazon Simple Storage Service (S3).
- Redshift clusters can be restored from backups to create new Redshift clusters.
- Redshift can be integrated with a variety of other AWS services, such as Amazon Athena, Amazon EMR, and Amazon QuickSight.
Amazon Simple Queue Service (SQS)
Amazon Simple Queue Service (SQS) is a fully managed message queuing service. It stores messages as they travel between applications or microservices, so producers and consumers can run and scale independently.
Key points about SQS for architecture and operations:
- SQS is a fully managed service, so you don't have to worry about provisioning, managing, or scaling your queue.
- Standard queues deliver messages at least once, with best-effort ordering, so consumers must handle duplicates.
- FIFO queues provide exactly-once processing and strict ordering, with lower throughput limits. High throughput mode raises those limits. Sends with the same deduplication ID are treated as duplicates within a 5-minute interval.
- SQS is highly available and durable, and it can scale to millions of messages per second.
Here are some additional details about SQS that you may want to know:
- After a consumer receives a message, the message is hidden from other consumers for the visibility timeout. The default is 30 seconds, and the maximum is 12 hours. If the message is not deleted before the timeout expires, it becomes visible again and can be received again. Set the timeout above your worst-case processing time, or extend it with
ChangeMessageVisibility. - SQS queues can be configured with dead-letter queues, which are queues where messages are sent if they cannot be processed successfully.
- Messages are retained for 4 days by default. Retention ranges from 1 minute to 14 days.
- The maximum message size is 1 MiB. For larger payloads, store the body in Amazon S3 and send a reference by using the SQS Extended Client Library.
- Long polling (
ReceiveMessagewithWaitTimeSecondsup to 20) returns as soon as a message arrives, and reduces empty responses compared with short polling. - SQS can be integrated with a variety of other AWS services, such as Amazon EC2, AWS Lambda, Amazon SNS, Amazon EventBridge, and Amazon S3.
Amazon Simple Notification Service (SNS)
Amazon Simple Notification Service (SNS) is a fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. A publisher sends a message to a topic once, and SNS delivers it to every subscriber of that topic.
Key points about Amazon SNS for architecture and operations:
- SNS is a pub/sub messaging service, which means that publishers send messages to topics, and subscribers receive messages from topics.
- SNS is a fully managed service, so you don't have to worry about provisioning, managing, or scaling your messaging infrastructure.
- SNS is highly available and durable, and it can scale to millions of messages per second.
Here are some additional details about Amazon SNS that you may want to know:
- SNS topics can have multiple subscribers, and subscribers can subscribe to multiple topics.
- Subscription filter policies deliver each message only to subscribers whose message attributes (or message body, if the filter scope is set to body) match the policy.
- Raw message delivery sends the message body to Amazon SQS and HTTP/S subscribers without SNS metadata.
- Messages are limited to 256 KiB by default. Set the topic's
MaximumMessageSizeattribute to raise the limit to 1 MiB. Above 256 KiB, only Amazon Data Firehose, Amazon SQS, and AWS Lambda subscriptions are supported. - SNS messages can be encrypted at rest (SSE) and in transit (HTTPS).
- SNS messages can be delivered to a variety of endpoints, including email, SMS, HTTP/S, Amazon SQS queues, AWS Lambda functions, and mobile push notifications.
- A subscription can have a dead-letter queue, which is an Amazon SQS queue in the same account and Region. Without one, SNS discards a message after its delivery retries are exhausted.
- SNS can be integrated with a variety of other AWS services, such as Amazon EC2, AWS Lambda, Amazon CloudWatch, Amazon EventBridge, and Amazon Data Firehose.
- SNS supports FIFO topics for strict message ordering, deduplication, and message grouping. FIFO topic names must end in
.fifo.
Amazon API Gateway
Amazon API Gateway is a fully managed service that makes it easy to create, publish, maintain, monitor, and secure APIs. With API Gateway, you can create REST APIs that access data, applications, and services hosted on AWS or on-premises. API Gateway also provides a variety of features to help you manage your APIs, including:
- API authorization and authentication: You can authorize callers with IAM roles, Amazon Cognito user pools, and Lambda authorizers. HTTP APIs also support JWT authorizers for OAuth 2.0 and OpenID Connect tokens.
- API monitoring: API Gateway provides detailed metrics (CloudWatch) and logs (CloudWatch Logs, X-Ray) for your APIs, so you can monitor their performance and identify any issues.
- API caching: Response caching is available for REST APIs only.
- API versioning: Stages and base path mappings let you run several versions side by side, such as
api.example.com/v1andapi.example.com/v2. - Usage Plans: REST APIs only. Usage plans with API keys set per-client throttling limits.
- AWS WAF Integration: REST APIs only. Protect your APIs from common web exploits.
Key points about API Gateway for architecture and operations:
- API Gateway is a fully managed service, so you don't have to worry about provisioning, managing, or scaling your API infrastructure.
- API Gateway supports REST APIs, WebSocket APIs, and HTTP APIs (optimized for serverless workloads).
- HTTP APIs cost less and have lower latency than REST APIs, but they lack caching, usage plans, AWS WAF, and private endpoints. Choose REST APIs when you need those features.
Here are some additional details about API Gateway that you may want to know:
- API Gateway APIs are defined using OpenAPI specifications.
- Stages let you deploy one API to production, staging, and test environments. Each REST API stage has its own invoke URL, in the form
api-id.execute-api.region.amazonaws.com/stage. - The default account-level throttle is 10,000 requests per second per Region, with a burst capacity of 5,000 requests.
- Integration timeouts default to 29 seconds. An integration that runs longer returns HTTP 504 to the client.
- API Gateway can be integrated with a variety of other AWS services, such as AWS Lambda, Amazon DynamoDB, Amazon S3, AWS Step Functions, and AWS AppSync.
- Private REST APIs are reachable only from within a VPC, through an interface VPC endpoint. They require a resource policy.
Amazon Cognito
Amazon Cognito is a fully managed service that allows you to easily add user authentication, authorization, and management to your web and mobile applications. Cognito provides features such as user registration, sign-in, sign-out, password recovery, and access control.
Cognito can be used to authenticate users with a variety of methods, including:
- Username and password
- Social login (e.g., Facebook, Google, Amazon, Apple)
- Multi-factor authentication (MFA) with SMS, TOTP authenticator apps, or email (email requires the Essentials or Plus plan)
- Passkeys (not available in the Lite plan)
- Custom authentication schemes (e.g., using AWS Lambda)
- SAML and OIDC federation for enterprise identities
Cognito can also authorize users for AWS resources. User pool groups can be assigned IAM roles, and an identity pool then gives members temporary AWS credentials with the permissions of those roles. Identity pool rules can also choose a role from token claims.
Key points about Amazon Cognito for architecture and operations:
- Cognito is a fully managed service for end-user identity. AWS IAM still controls which AWS resources a signed-in user can reach.
- User pools handle sign-up and sign-in and issue JWT tokens. Identity pools exchange those identities for temporary AWS credentials.
Here are some additional details about Amazon Cognito that you may want to know:
- User pools come in Lite, Essentials, and Plus feature plans. Essentials is the default for new user pools. Managed login, passkeys, and email MFA require Essentials or Plus.
- Cognito supports user migration for seamless transitions from existing user directories.
- Cognito can be integrated with a variety of other AWS services, such as Amazon API Gateway, AWS Lambda, and Amazon S3.
Amazon CloudWatch
Amazon CloudWatch is a monitoring and observability service that provides data and insights in logs and metrics. It collects them from AWS services and your applications, and you can visualize the data and act automatically when it changes.
Key points about CloudWatch for architecture and operations:
- CloudWatch metrics are numerical values that measure the performance of your AWS resources.
- CloudWatch Logs stores log events from your resources in log groups.
- CloudWatch dashboards allow you to visualize your metrics and logs.
- CloudWatch alarms allow you to be notified when certain conditions are met.
Here are some additional details about CloudWatch that you may want to know:
- EC2 instances publish CPU and network metrics by default. Memory and disk space utilization are not published by default, so you need the CloudWatch agent to collect them.
- Metrics are retained for 15 months. Sub-minute (high-resolution) custom metric data points are available for 3 hours before they roll up to 1-minute data.
- Log groups keep log events indefinitely by default. Set a retention period on each log group to control storage cost.
- CloudWatch Logs can be used to troubleshoot problems, analyze trends, and audit your systems. Log Insights allows for interactive analysis of log data.
- Amazon EventBridge (formerly CloudWatch Events) routes events from AWS services to targets such as AWS Lambda.
- CloudWatch alarms can notify subscribers through Amazon SNS topics, such as email or SMS subscriptions. They can also trigger EC2 actions (for alarms on EC2 metrics), Auto Scaling policies, and Systems Manager actions.
- CloudWatch Contributor Insights helps you find top talkers and identify root causes of performance issues.
- CloudWatch Synthetics allows you to create canaries to monitor your endpoints and APIs.
- CloudWatch Internet Monitor for monitoring internet performance.
- CloudWatch Application Signals for application performance monitoring.
AWS CloudTrail
AWS CloudTrail records API calls and other account activity as event log files, and delivers them to storage for governance, compliance, and operational auditing. With CloudTrail, you can track user activity and API usage across your AWS services and resources.
Key points about AWS CloudTrail for architecture and operations:
- CloudTrail is a fully managed service. It records management events by default. Data events, such as S3 object-level activity, must be enabled explicitly.
- CloudTrail logs can be delivered to Amazon S3 and Amazon CloudWatch Logs.
- Event history shows the last 90 days of management events in each Region, at no charge. To keep events longer, deliver logs from a trail to Amazon S3. CloudTrail Lake is closed to new customers as of May 31, 2026. Existing customers can continue to use it.
Here are some additional details that you may want to know:
- CloudTrail logs can be filtered to only include events that are of interest to you.
- Send a trail to CloudWatch Logs, then use metric filters and CloudWatch alarms to alert on matching events, such as root account usage.
- A multi-Region trail logs activity from all Regions to one S3 bucket or CloudWatch Logs log group, and includes new Regions automatically.
- Data events are not logged by default and do not appear in Event history. Add them to a trail for the resources you need.
- With log file validation enabled, CloudTrail delivers hourly digest files that contain hashes of the log files it delivered. You can verify them with the AWS CLI.
- CloudTrail logs can be integrated with other AWS services, such as AWS IAM, Amazon GuardDuty, and AWS Security Hub.
- CloudTrail Insights for anomaly detection.
Example use cases of CloudTrail:
- Auditing: CloudTrail logs can be used to audit API calls made to your AWS account and your resources. This can help you to identify any suspicious activity or unauthorized access to your resources.
- Troubleshooting: CloudTrail logs can be used to troubleshoot problems with your AWS resources. For example, if you are experiencing a performance issue, you can review your CloudTrail logs to see what API calls were made leading up to the issue.
- Compliance: CloudTrail logs can be used to help you comply with various industry regulations. For example, if you are subject to HIPAA compliance, you can track access to protected health information (PHI) in S3 by enabling S3 data events for the buckets that hold it, because management events do not record object reads.
AWS Identity and Access Management (IAM)
AWS Identity and Access Management (IAM) is a web service that enables you to securely control access to AWS services and resources. Using IAM, you can create and manage AWS users and groups, and use permissions to allow and deny their access to AWS resources.
Key points about AWS Identity and Access Management (IAM) for architecture and operations:
- IAM uses users, groups, and roles to manage access to AWS resources.
- IAM uses identity-based policies (attached to users, groups, roles), resource-based policies (attached to resources like S3 buckets, SQS queues), and access control lists (ACLs) to manage access to AWS resources.
- IAM users are individual people or applications that are authorized to use AWS services and resources.
- IAM groups are collections of IAM users who are assigned the same permissions.
- IAM roles are not assigned to users or groups. A principal assumes a role to get temporary credentials, from the same account, another account, a federated identity provider, or an AWS service.
- Permissions are allow and deny statements in policies that name actions and resources.
- Access is denied by default. An explicit allow is required, and an explicit deny in any applicable policy overrides any allow.
- Service control policies (SCPs) in AWS Organizations and permissions boundaries limit the maximum permissions available. A request must also be allowed by each of them that applies.
- For people, use IAM Identity Center to federate users from an identity provider and issue temporary credentials, instead of creating IAM users.
- Do not use the root user for everyday tasks. Enable MFA on it, do not create root access keys, and use it only for the tasks that require it.
Here are some additional details that you may want to know:
- IAM users can register up to eight MFA devices of these types: passkeys and FIDO security keys, virtual authenticator apps, and hardware TOTP tokens. SMS-based MFA is no longer supported.
- IAM supports attribute-based access control (ABAC) for fine-grained permissions.
- IAM Roles Anywhere allows workloads outside of AWS to use IAM roles.
- IAM Access Analyzer helps identify unintended access to your resources.
- AWS CloudTrail records the API calls made with IAM identities, which is the usual source for auditing access.
AWS Key Management Service (KMS)
AWS Key Management Service (KMS) is a managed service that makes it easy for you to create and control the cryptographic keys that are used to protect your data.
Key points about AWS Key Management Service (KMS) for architecture and operations:
- KMS supports symmetric encryption keys, asymmetric keys, and HMAC keys.
- KMS encrypts up to 4,096 bytes of plaintext per Encrypt call with a symmetric key. For larger data, generate a data key with GenerateDataKey and encrypt the data locally (envelope encryption), or use the AWS Encryption SDK.
- Automatic rotation is set per key. AWS managed keys rotate every year, and you cannot change that schedule. Customer managed keys have rotation off by default. When enabled, they rotate every 365 days by default, and you can set a period from 90 to 2,560 days. Automatic rotation applies only to symmetric keys with AWS-generated key material.
- Scheduled key deletion waits 7 to 30 days (30 days by default) before KMS removes the key. The key cannot be used for cryptographic operations while it is pending deletion, and you can cancel the deletion before the waiting period ends.
- Custom key stores are backed by an AWS CloudHSM cluster or by an external key store (XKS) proxy that connects to a key manager outside AWS. The store type cannot be changed after creation.
- KMS API calls require TLS 1.2 or later. Protecting data in transit between your services is done with TLS, not with KMS keys.
- KMS integrates with many AWS services, including Amazon S3, Amazon RDS, Amazon EBS, Amazon DynamoDB, AWS Lambda, Amazon CloudFront, Amazon OpenSearch Service, and Amazon Redshift. Integrated services use KMS to encrypt data at rest.
- AWS CloudTrail records KMS API calls, including key creation and scheduled deletion.
AWS Security Hub
In December 2025 AWS released a new, unified AWS Security Hub that correlates findings from GuardDuty, Inspector, Macie, and Security Hub CSPM. The original service is now called AWS Security Hub CSPM and remains available.
AWS Security Hub CSPM provides centralized security governance across AWS accounts with these key features:
- Compliance standards:
- AWS Foundational Security Best Practices (FSBP)
- CIS AWS Foundations Benchmark (v5.0.0 recommended)
- PCI DSS (v3.2.1 and v4.0.1)
- NIST SP 800-53 Rev. 5
- Security score: Quantitative measure of compliance status and overall security posture.
- Cross-Region and cross-account aggregation: Centralized view of security posture across multiple AWS accounts and Regions.
- Integration with AWS Organizations: Manage security at scale across your organization.
- Custom insights: Create custom queries to identify specific security issues.
- Automated remediation: Integrate with AWS Systems Manager Automation and AWS Lambda for automated responses.
Key points about AWS Security Hub CSPM for architecture and operations:
- Security Hub CSPM is a cloud security posture management service that provides a view of your security state across AWS accounts, services, and supported third-party products.
- Security Hub CSPM collects findings from AWS services, including Amazon GuardDuty, Amazon Inspector, Amazon Macie, and AWS IAM Access Analyzer, and from AWS Partner Network security products. It converts them to the AWS Security Finding Format (ASFF).
- Security Hub can be integrated with other AWS services, such as Amazon EventBridge and Amazon CloudWatch, to automate remediation actions.
- Security Hub supports security controls for AWS services and partner products.
Here are some additional details that you may want to know:
- Security Hub is a regional service. You must enable it in each Region where you want to use it.
- Cross-Region aggregation pulls data only from Regions where Security Hub CSPM is enabled. Turning on aggregation does not enable Security Hub CSPM in other Regions.
- Configuration policies (up to 20 per delegated administrator) apply enabled standards, controls, and parameter values across accounts and organizational units.
- Security Hub can be used to generate reports on your security posture.
AWS CloudFormation
AWS CloudFormation is a service that helps you model and set up your AWS infrastructure resources. CloudFormation allows you to use templates to define a collection of AWS resources and the dependencies between them. You can then deploy, update, or delete your infrastructure using a single CloudFormation template.
Key points about AWS CloudFormation for architecture and operations:
- CloudFormation templates can be written in JSON or YAML.
- Change sets show the planned changes before you run an update, including which resources will be replaced.
- By default, a failed stack create or update rolls back to the last stable state. Use
DisableRollback(orOnFailureset toDO_NOTHINGon create) to keep failed resources in place for troubleshooting. - Set
DeletionPolicyon stateful resources. Without it, deleting a stack deletes its resources, except RDS DB instances and clusters, which default toSnapshot. UseRetainto keep a resource after stack deletion. - CloudFormation Drift Detection helps identify when your deployed stack configuration differs from its template.
- CloudFormation Hooks evaluate resource configuration before it is provisioned. A hook can fail the operation (FAIL mode) or only warn (WARN mode).
- CloudFormation Guard is a policy-as-code language. Its rules can run as Guard hooks to block or warn on non-compliant changes.
Here are some additional details that you may want to know:
- CloudFormation templates can be parameterized, allowing you to create reusable templates.
- CloudFormation templates can be nested, allowing you to create complex infrastructure deployments.
- CloudFormation templates can be versioned, allowing you to track changes to your infrastructure over time.
- CloudFormation can be integrated with other AWS services, such as AWS CodePipeline, AWS Systems Manager, and AWS Service Catalog.
- CloudFormation supports resource import to bring existing resources under CloudFormation management.
- CloudFormation StackSets allow you to deploy CloudFormation stacks across multiple accounts and Regions.
Example use case of CloudFormation:
- Deploying a web application: CloudFormation can be used to deploy a web application, including the Amazon EC2 instances, Amazon RDS databases, and Amazon S3 buckets that are required.
AWS Systems Manager
AWS Systems Manager is a service that helps you manage and automate your AWS resources. Systems Manager provides a set of tools and capabilities that can be used to:
- Deploy, manage, and configure applications
- Automate operational tasks
- Collect and analyze data from your infrastructure
- Respond to events and alerts
Key points about AWS Systems Manager for architecture and operations:
- Systems Manager includes a variety of features, such as:
- Patch Manager: Helps you manage and deploy software patches to your AWS resources.
- State Manager: Helps you automate the configuration and management of your AWS resources.
- Automation: Helps you create and run runbooks to automate operational tasks across your AWS resources.
- Inventory: Provides a detailed inventory of your AWS resources, including software installed and configuration details.
- Parameter Store: Provides secure, hierarchical storage for configuration data and secrets. SecureString parameters are encrypted with AWS KMS. Parameter Store does not rotate secrets; use AWS Secrets Manager for automatic rotation.
- Session Manager: Provides secure and auditable instance management without opening inbound ports.
- Systems Manager supports Run Command for remote execution of commands on instances.
- Systems Manager can be integrated with other AWS services, such as AWS CloudFormation, AWS CodePipeline, and AWS Config.
Example use cases of Systems Manager:
- Deploying an application: Systems Manager can be used to deploy an application to a fleet of Amazon EC2 instances.
- Automating patching: Systems Manager can be used to automate the patching of your AWS resources.
- Managing configuration: Systems Manager can be used to manage the configuration of your AWS resources.
- Responding to incidents: Systems Manager can be used to respond to incidents by automatically running runbooks that troubleshoot and resolve problems.
AWS Well-Architected Framework
The AWS Well-Architected Framework is a set of guiding principles for designing and operating reliable, secure, efficient, and cost-effective cloud architectures. It consists of six pillars:
- Operational Excellence: Focuses on running and monitoring systems to deliver business value and continuously improve supporting processes and procedures.
- Security: Focuses on protecting information, systems, and assets while delivering business value through risk assessments and mitigation strategies.
- Reliability: Focuses on the ability of a system to recover from infrastructure or service disruptions, dynamically acquire computing resources to meet demand, and mitigate disruptions such as misconfigurations or transient network issues.
- Performance Efficiency: Focuses on using computing resources efficiently to meet system requirements and maintaining that efficiency as demand changes and technologies evolve.
- Cost Optimization: Focuses on avoiding unnecessary costs. This includes understanding and controlling where money is being spent, selecting the most appropriate and right-sized resources, analyzing spend over time, and scaling to meet business needs without overspending.
- Sustainability: Focuses on minimizing the environmental impacts of running cloud workloads. This includes a shared responsibility model for sustainability between AWS and the customer.
AWS Cost Optimization Strategies
These are the main levers for reducing AWS spend without sacrificing performance or reliability:
- Choose the right service for the job: Select the most appropriate AWS service for your workload, considering its features, performance, and pricing model.
- Right-size your resources: Continuously analyze and adjust the size of your AWS resources (e.g., EC2 instances, RDS databases) to match your workload's actual needs, avoiding over-provisioning.
- Utilize pricing models effectively:
- Savings Plans: Commit to a consistent spend ($/hour) for a 1-year or 3-year term. Commitments cannot be cancelled during the term. Compute Savings Plans save up to 66% on EC2, Fargate, and Lambda usage. EC2 Instance Savings Plans save up to 72%, but only within one instance family in one Region. Database Savings Plans cover services such as Aurora, RDS, and DynamoDB.
- Reserved Instances (RIs): Standard RIs save up to 72% compared to On-Demand pricing for a commitment to a specific instance type in a Region for a 1-year or 3-year term.
- Spot Instances: Leverage unused EC2 capacity at steep discounts (up to 90%) for fault-tolerant workloads. EC2 can reclaim Spot Instances with two minutes' notice.
- Implement Cost Allocation Tags: Tag your resources to categorize and track costs across different projects, departments, or environments.
- Monitor and Analyze Costs: Use AWS Cost Explorer, AWS Budgets, and AWS Organizations to visualize, manage, and forecast your spending, and identify cost optimization opportunities.
- Automate Cost Control: Implement automation for stopping idle resources, scaling down during off-peak hours, and deleting unneeded resources.
- Leverage Serverless Architectures: Pay only for compute time consumed, eliminating idle capacity costs.
- Optimize Data Transfer Costs: Design architectures to minimize data transfer across regions, Availability Zones, and to the internet.
- Use AWS Compute Optimizer: Get recommendations for right-sizing your compute resources.
- Use AWS Trusted Advisor: Get recommendations across six categories: cost optimization, security, performance, fault tolerance, operational excellence, and service quotas. Full check access requires a Business Support+, Enterprise Support, or Unified Operations plan.
- Use cheaper S3 storage classes for cold data: S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive cost less per GB but take hours to restore. For data with unpredictable access, S3 Intelligent-Tiering moves objects between tiers automatically. Its archive tiers are opt-in and suit only data that can be retrieved asynchronously.
Amazon EventBridge
Amazon EventBridge is a serverless event bus that makes it easy to connect applications together using events. It allows you to decouple and scale microservices, serverless applications, and legacy applications. EventBridge can detect events from a variety of sources, including AWS services, applications, and connected devices. It can then route those events to targets such as AWS Lambda functions, Step Functions state machines, Kinesis streams, and Amazon SNS topics.
Key points about Amazon EventBridge for architecture and operations:
- Rules match events with JSON event patterns. A pattern matches only when the event contains every field the pattern lists, at the same nesting level. String matching is exact.
- EventBridge is a highly scalable and reliable service that can handle millions of events per second with low latency.
- It is also a cost-effective service, as you only pay for the events that you process and deliver.
- Rule targets retry failed deliveries for up to 24 hours and 185 attempts by default. Events that exhaust their retries are dropped unless you configure a dead-letter queue.
- EventBridge Archive keeps events indefinitely by default, or for a number of days you set. Replaying an archive sends the events back to the source event bus and does not remove them from the archive.
- EventBridge Pipes allow you to build point-to-point integrations between event sources and targets with optional filtering and enrichment.
- EventBridge supports API Destinations for invoking HTTP APIs. Endpoints must use HTTPS, and calls that exceed the 5-second timeout are retried.
- EventBridge Schema Registry allows you to discover, manage, and share schemas for events.
Here is an example of how Amazon EventBridge can be used to build a serverless application:
- You have an application that generates a new event whenever a new customer order is placed.
- You can use EventBridge to create a rule that routes this event to an AWS Lambda function.
- The Lambda function can then process the order and send a confirmation email to the customer.
- You can also use EventBridge to create a rule that routes the event to an Amazon SNS topic.
- This topic can then be used to notify other systems about the new order, such as your inventory system or your CRM system.
AWS Step Functions
AWS Step Functions is a serverless workflow service that makes it easy to coordinate the execution of distributed applications and microservices. It allows you to define workflows as a series of steps, and Step Functions runs them in the correct order. Retries and error handling apply only where you define Retry and Catch fields on a state.
Key points about AWS Step Functions for architecture and operations:
- Step Functions can integrate with a variety of AWS services, including AWS Lambda, Amazon S3, Amazon DynamoDB, Amazon SNS, Amazon SQS, and over 220 AWS services directly.
- Step Functions is a highly scalable and reliable service that can handle millions of workflows per second, with built-in error handling, retries, and parallel execution.
- Step Functions supports two types of workflows: Standard Workflows (long-running, durable, auditable) and Express Workflows (high-volume, short-duration, event-driven).
- Standard workflows run for up to one year and execute exactly once. Express workflows run for up to five minutes. Asynchronous Express executions are at-least-once, so keep their logic idempotent. Synchronous Express executions are at-most-once.
- Only Express workflows support synchronous execution through the StartSyncExecution API. Express workflows also do not support the .sync (job-run) or .waitForTaskToken (callback) service integration patterns.
- Standard workflows are billed per state transition, including retries. Express workflows are billed per request and by duration and memory.
- Step Functions workflows are defined using the Amazon States Language, a JSON-based structured language.
- Executions start through the StartExecution API, the console, EventBridge rules (including S3 object events routed through EventBridge), or EventBridge Scheduler.
- Step Functions workflows can be monitored and managed using the AWS Management Console, the AWS CLI, AWS SDKs, and integrated with CloudWatch and X-Ray for observability.
- Distributed Map runs up to 10,000 child workflow executions in parallel, for processing large datasets.
- Step Functions supports Workflow Studio for visual workflow design and orchestration.
Here is an example of how AWS Step Functions can be used to build a serverless application:
- You have an application that processes images that are uploaded to S3.
- You can use Step Functions to create a workflow that first resizes the image, then converts it to a different format, and then stores it in a different S3 bucket.
- An EventBridge rule on S3 object-created events can start the workflow whenever a new image is uploaded to the source S3 bucket.
- Step Functions runs the steps of the workflow in the correct order, and the Retry and Catch fields on each state handle failures.
Amazon Kinesis
Amazon Kinesis is a fully managed, scalable, real-time, data streaming service. It can continuously capture and process millions of records per second, making it ideal for a wide range of use cases, such as:
- IoT data processing
- Real-time analytics
- Application monitoring
- Log aggregation
The Amazon Kinesis family includes these services:
- Kinesis Data Streams: This service captures and processes streaming data in real time. Data can be ingested into Kinesis Data Streams from a variety of sources, such as IoT devices, web applications, and server logs.
- Amazon Data Firehose (formerly Kinesis Data Firehose): This service delivers streaming data to data lakes and analytics applications. Firehose can transform and buffer data before delivering it to its destination, making it easy to integrate with a variety of data processing systems.
- Amazon Managed Service for Apache Flink (formerly Kinesis Data Analytics for Apache Flink): This service makes it easy to process streaming data in real time using Apache Flink, with built-in libraries and connectors for real-time data processing.
- Kinesis Video Streams: A fully managed service that makes it easy to securely stream video from connected devices to AWS for analytics, machine learning (ML), and other processing.
Key points about Amazon Kinesis for architecture and operations:
- Kinesis Data Streams is a durable service that can withstand data loss and corruption. Data is synchronously replicated across three Availability Zones in a Region.
- Kinesis Data Streams retains data for 24 hours by default. Retention can be extended to 365 days, and retention beyond 24 hours incurs extra charges.
- In provisioned mode, each shard accepts up to 1 MB/s or 1,000 records/s of writes and serves up to 2 MB/s of reads. You pay per shard-hour and resize by splitting, merging, or updating the shard count. On-demand mode scales capacity automatically and bills by data volume.
- Server-side encryption with AWS KMS is optional and set per stream. The AWS-managed aws/kinesis key has no key charge, while customer-managed keys incur KMS charges. Data in transit is encrypted over HTTPS.
- Amazon Data Firehose holds data until its buffer size or interval is reached, so delivery is near real-time rather than instant. It can also transform and compress data before delivery to destinations such as Amazon S3, Amazon Redshift, Amazon OpenSearch Service, and Splunk.
- Kinesis Data Analytics for SQL Applications is no longer available. AWS stopped allowing new applications on October 15, 2025 and ended support on January 27, 2026. Use Amazon Managed Service for Apache Flink instead.
Amazon GuardDuty
Amazon GuardDuty is a threat detection service that uses machine learning to analyze activity in your AWS accounts and workloads. When it detects a potential threat, it generates a finding that you can review and investigate.
GuardDuty can help you identify threats such as:
- Unauthorized access: unauthorized logins, API calls, and data access.
- Malware: malware on EC2 instances and in S3 objects.
- Data exfiltration: suspicious S3 access, such as exfiltration or destruction attempts (S3 Protection).
- Cryptojacking: unauthorized cryptocurrency mining on your AWS instances and containers.
Key points about Amazon GuardDuty for architecture and operations:
- Foundational data sources are CloudTrail management events, VPC flow logs, and DNS logs. They need no extra setup after GuardDuty is enabled.
- Protection plans are optional and turned on separately:
- S3 Protection analyzes CloudTrail S3 data events, so you do not need to enable S3 data event logging.
- EKS Protection analyzes Kubernetes audit logs.
- RDS Protection analyzes login activity on supported Aurora and RDS databases.
- Lambda Protection analyzes network activity from Lambda functions.
- Runtime Monitoring watches operating-system-level activity on EKS, ECS, and EC2. It is not enabled by default.
- Malware Protection scans EBS volumes attached to EC2 instances and newly uploaded S3 objects.
- Use a delegated administrator account in AWS Organizations to enable GuardDuty and protection plans for member accounts. Auto-enable settings are per Region, while GuardDuty policies in Organizations can set plans across Regions.
- GuardDuty is a regional service. Findings can be aggregated to a central account using AWS Security Hub.
- Findings can be sent to Amazon EventBridge (formerly CloudWatch Events), which can trigger automated responses through targets such as Amazon SNS.
Amazon Inspector
Amazon Inspector is an automated security assessment service that helps you identify and remediate potential security vulnerabilities in your Amazon EC2 instances, container images stored in Amazon ECR, and AWS Lambda functions. Its findings cover software vulnerabilities, network reachability of EC2 instances, and code vulnerabilities in Lambda functions when Lambda code scanning is enabled.
Key points about Amazon Inspector for architecture and operations:
- EC2 scanning is agent-based, using the AWS Systems Manager (SSM) agent on the instance, or agentless, using EBS snapshots. Hybrid mode, which combines both, is the default.
- ECR image scanning and Lambda standard scanning do not need an agent.
- Lambda standard scanning is the default Lambda scan type and covers package dependencies in functions and layers. Lambda code scanning is an optional add-on that checks custom application code. It requires standard scanning and is available only in some Regions.
- Inspector supports continuous scanning of your environment and prioritizes findings by severity.
- Inspector is enabled per Region and supports multi-account management through AWS Organizations.
- Inspector can be integrated with AWS Systems Manager for agent deployment and management, and with Amazon EventBridge and AWS Lambda to automate responses to findings.
Amazon Macie
Amazon Macie is a data security service that uses machine learning to automatically discover, classify, and protect sensitive data in Amazon S3, such as personally identifiable information (PII), financial data, and credentials.
Macie detects sensitive data with managed and custom data identifiers:
- Managed data identifiers: built-in criteria for common data types, such as credit card numbers and AWS secret access keys.
- Custom data identifiers: a regular expression, optionally with keywords and a proximity rule, for formats specific to your organization. They cannot be changed after creation.
Once Macie has identified and classified sensitive data, it provides features to help you protect it:
- Findings: policy findings report security and privacy issues with general purpose S3 buckets, and sensitive data findings report sensitive data detected in S3 objects.
- Encryption reports: Macie reports on how your S3 objects are encrypted (SSE-S3, SSE-KMS) and flags buckets with weak or missing encryption protections.
Key points about Amazon Macie for architecture and operations:
- Automated sensitive data discovery samples objects in your S3 buckets and assigns each bucket a sensitivity score that starts at 50 and moves within a range of 1 to 99. Scores from 51 to 99 are labeled Sensitive.
- Macie is a regional service. Enable it, and automated sensitive data discovery, in each Region.
- The delegated administrator can enable automated sensitive data discovery for all or new member accounts through AWS Organizations.
- Macie can be integrated with a variety of other AWS services, such as Amazon EventBridge and Amazon Simple Notification Service (SNS), to automate your response to sensitive data findings.
- Macie provides a dashboard for a centralized view of your S3 data security posture.
AWS IAM Access Analyzer
AWS IAM Access Analyzer helps you identify, understand, and remediate potential security risks in your AWS environment. It analyzes resource policies for access from outside your zone of trust (your account or organization), reports unused IAM access, and validates and generates IAM policies. Access Analyzer also provides you with recommendations on how to remediate the security risks that it identifies.
Key points about AWS IAM Access Analyzer for architecture and operations:
- External access analyzers find resources that grant access to principals outside your zone of trust, including public access. Supported types include S3 buckets, IAM roles, KMS keys, SQS queues, EBS volume snapshots, and RDS DB and cluster snapshots. EC2 instances and RDS DB instances are not supported.
- An analyzer evaluates only policies on resources in the Region where it is enabled.
- Unused access analyzers cover IAM users and roles only. They flag roles with no activity within a time window, and services and actions that a role has not used within that window.
- Policy validation is free. It checks policy grammar and best practices, such as an
iam:PassRolepermission with a wildcardResource. - Custom policy checks use automated reasoning to check policy changes against your security standards, such as a change that is more permissive than the previous version. They run through the
CheckNoNewAccessandCheckAccessNotGrantedAPIs and are billed per call. - Policy generation builds fine-grained IAM policies from AWS CloudTrail activity.
- Access Analyzer supports multi-account analysis through AWS Organizations.
- Access Analyzer can be integrated with a variety of other AWS services, such as Amazon EventBridge and Amazon Simple Notification Service (SNS), to automate your response to security findings.
AWS CodePipeline
AWS CodePipeline is a continuous delivery service that models your release process as stages and runs them automatically when a change is detected. A typical pipeline includes these stages:
- Source stage: Retrieves code from the source provider, such as AWS CodeCommit, GitHub, Bitbucket, GitLab, Amazon S3, or Amazon Elastic Container Registry (ECR).
- Build stage: Compiles, packages, and tests your code, typically with AWS CodeBuild.
- Test stage: (Optional) Runs additional tests.
- Deploy stage: Deploys to your environments, typically with AWS CodeDeploy, AWS Elastic Beanstalk, AWS CloudFormation, or Amazon ECS.
Key points about AWS CodePipeline for architecture and operations:
- GitHub (through a GitHub App), Bitbucket, GitLab.com, and self-managed GitLab connect through AWS CodeConnections. The older GitHub OAuth action still works for existing pipelines, but AWS does not recommend it.
- Amazon S3 source buckets must have versioning enabled.
- Pipelines are V1 unless you set the type to V2. V2 adds Git push and pull request triggers with branch and file path filters (for connection-based sources), pipeline-level variables, stage rollback, and the QUEUED and PARALLEL execution modes. V1 is billed per active pipeline per month; V2 is billed per action execution minute.
- Execution modes: SUPERSEDED (the default) lets a newer execution overtake one that is still in progress. QUEUED runs executions in order, and PARALLEL runs them at the same time. QUEUED and PARALLEL require V2, and PARALLEL does not support stage rollback.
- Manual approval actions can be added to any stage. They time out after 7 days by default, configurable up to 60 days per action.
Here are some additional details about AWS CodePipeline that you may want to know:
- Deploy action providers include CodeDeploy (for EC2, on-premises, Lambda, and ECS), Amazon ECS (including blue/green through CodeDeploy), AWS CloudFormation, AWS Elastic Beanstalk, and Amazon S3.
- Deploy action timeouts: 3 days for CloudFormation, 5 days for CodeDeploy and CodeDeploy ECS blue/green, and 90 minutes for Amazon S3.
- CodePipeline provides real-time status updates, alerts (via SNS), and audit logs (via CloudTrail).
- CodePipeline supports pipeline templates for quick setup.
AWS CodeBuild
AWS CodeBuild is a fully managed continuous integration service that runs your build, test, and packaging steps. Each build runs in a managed container and executes the commands in your buildspec file, a YAML file that defines the build phases.
Key points about AWS CodeBuild for architecture and operations:
- By default, CodeBuild reads a file named
buildspec.ymlfrom the root of the source. A project can point to a different file path. - Compute options are on-demand EC2, on-demand Lambda, and reserved capacity fleets that keep dedicated build instances ready. EC2 offers more flexibility during the build, while Lambda starts builds faster.
- Caching uses either an Amazon S3 cache, which any build host can reach, or a local cache on the build host. Local cache modes are the source cache (Git-based sources only), the Docker layer cache (Linux, privileged mode), and the custom cache (directories listed in the buildspec). Local caches cannot guarantee a cache hit.
- Builds can run inside a VPC to reach private resources, such as RDS databases.
Here are some additional details about AWS CodeBuild that you may want to know:
- Managed build images include runtimes for Java, Python, Node.js, .NET, Go, and Ruby. You can also use custom Docker images.
- CodeBuild can run GitHub Actions and GitLab CI/CD jobs on its build hosts as self-hosted runners, triggered by webhooks. BuildSpec files are ignored for runner jobs.
- Build logs go to Amazon CloudWatch Logs, and build notifications are sent through SNS.
- CodeBuild can be used as the build action in AWS CodePipeline.
- CodeBuild can be integrated with a variety of CI/CD tools, such as AWS CodePipeline and Jenkins.
AWS CodeDeploy
AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances, AWS Lambda functions, and Amazon ECS services. It routes traffic to the new version, monitors the deployment, and can roll back automatically.
Key points about AWS CodeDeploy for architecture and operations:
- CodeDeploy has three compute platforms: EC2/on-premises, AWS Lambda, and Amazon ECS. Amazon EKS is not one of them.
- The CodeDeploy agent must be installed on EC2 and on-premises instances. Lambda and ECS deployments do not use it.
- Deployment types by platform: in-place (EC2/on-premises only), blue/green (EC2/on-premises and ECS), and canary, linear, or all-at-once traffic shifting (Lambda and ECS).
- Each revision contains one AppSpec file. On EC2/on-premises it must be named
appspec.ymlat the root of the revision. Lambda and ECS AppSpec files can be YAML or JSON. - Automatic rollback runs when a deployment fails or a linked CloudWatch alarm fires. On Lambda and ECS, traffic shifts back to the original version.
Here are some additional details about AWS CodeDeploy that you may want to know:
- Deployment events are published to Amazon EventBridge (formerly CloudWatch Events), and API calls are logged in AWS CloudTrail.
- For blue/green deployments, CodeDeploy keeps monitoring alarms during the termination wait period after cutover, so a rollback is still possible.
- CodeDeploy can be used as the deploy action in AWS CodePipeline.
- CodeDeploy can be integrated with a variety of DevOps tools, such as AWS CodePipeline and Jenkins.
AWS CodeCommit
AWS CodeCommit is a fully managed, highly scalable, secure source control service that hosts private Git repositories. AWS closed CodeCommit to new customers on July 25, 2024, then returned it to general availability for new and existing customers in November 2025.
Key points about AWS CodeCommit for architecture and operations:
- Authentication is based on IAM. HTTPS Git credentials and SSH keys are tied to IAM users. The AWS CLI credential helper and git-remote-codecommit also work with federated users and temporary credentials. Git credentials and SSH keys cannot access repositories in another AWS account.
- IAM policies control access to repositories and branches.
- Approval rule templates are associated with repositories and add approval rules to matching pull requests, optionally limited to destination branches.
- Repository and pull request events are published to Amazon EventBridge.
- CodeCommit provides encryption at rest and in transit.
Here are some additional details about AWS CodeCommit that you may want to know:
- CodeCommit supports repository triggers for automated actions on code changes.
- CodeCommit is available 24/7, with data replicated across multiple Availability Zones.
- CodeCommit is a source action in AWS CodePipeline.
Contributing
We welcome contributions from the community. If you have ideas, bug reports, or feature requests, please open an issue or submit a pull request. See CONTRIBUTING.md for contribution guidelines.
License
Copyright 2026 Stanislav. This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
관련 프로젝트 살펴보기
불러오는 중…