{"url": "https://aws.amazon.com/", "titulek": "Cloud Computing Services - Amazon Web Services (AWS)", "h1": "Get the greatest choice of cloud and AI capabilities", "popis": "Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Free to join, pay only for what you use.", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:description": "Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Free to join, pay only for what you use.", "og:title": "Cloud Computing Services - Amazon Web Services (AWS)", "og:updated_time": "2026-09-09T14:44:18.697-0700", "og:url": "https://aws.amazon.com/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "ItemList", "itemListElement": [{"@type": "ListItem", "position": 1, "identifier": "ams#c2", "name": "re:Invent 2026 session catalog is live", "description": "Browse hundreds of sessions across AI, security, databases, and more. Find what fits your role and build your agenda."}, {"@type": "ListItem", "position": 2, "identifier": "ams#c3", "name": "88% of agent pilots stall. Yours don't have to.", "description": "Most teams lose months between demo and production. Learn how leading companies closed the gap and shipped agents fast."}, {"@type": "ListItem", "position": 3, "identifier": "ams#c4", "name": "Data leaders use agentic AI to lead industries", "description": "See how PGA Tour, Autodesk, and BMW are building data foundations for agentic AI with an open architecture on AWS."}], "numberOfItems": 3, "itemListOrder": "ItemListUnordered"}, {"@context": "https://schema.org", "@type": "ItemList", "itemListElement": [{"@type": "ListItem", "position": 1, "identifier": "ams#c2", "name": "Financial services", "description": "Develop innovative and secure solutions across banking, capital markets, insurance, and payments"}, {"@type": "ListItem", "position": 2, "identifier": "ams#c3", "name": "Healthcare and Life Sciences", "description": "Accelerate innovation and improve patient care with healthcare data management and security"}, {"@type": "ListItem", "position": 3, "identifier": "ams#c4", "name": "Aerospace and Satellite", "description": "Cloud solutions to help customers build satellites, conduct space and launch operations, and reimagine space exploration"}, {"@type": "ListItem", "position": 4, "identifier": "ams#c5", "name": "Telecommunications", "description": "Accelerate innovation, scale with confidence, and add agility with cloud-based telecom solutions"}, {"@type": "ListItem", "position": 5, "identifier": "ams#c6", "name": "Advertising and Marketing", "description": "Turn data into customer-winning campaigns"}, {"@type": "ListItem", "position": 6, "identifier": "ams#c7", "name": "Manufacturing", "description": "Optimize production and speed time-to-market"}, {"@type": "ListItem", "position": 7, "identifier": "ams#c8", "name": "Media and Entertainment", "description": "Transform media & entertainment with the most purpose-built capabilities and partner solutions of any cloud"}, {"@type": "ListItem", "position": 8, "identifier": "ams#c9", "name": "Games", "description": "Enable game development for every genre and platform, from AAA titles to indie studios"}, {"@type": "ListItem", "position": 9, "identifier": "ams#c10", "name": "Automotive", "description": "Build smarter vehicles and transform mobility with cloud solutions"}], "numberOfItems": 9, "itemListOrder": "ItemListUnordered"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Get the greatest choice of cloud and AI capabilities"}, {"uroven": 2, "text": "What's new"}, {"uroven": 3, "text": "re:Invent 2026 session catalog is live"}, {"uroven": 3, "text": "88% of agent pilots stall. Yours don't have to."}, {"uroven": 3, "text": "Data leaders use agentic AI to lead industries"}, {"uroven": 2, "text": "From startups to enterprises, AWS is how leaders have powered innovation for 20 years"}, {"uroven": 2, "text": "Siemens Mobility turns 175 years of data into searchable insights with AWS AI"}, {"uroven": 2, "text": "How Booking.com personalizes every trip, processing up to 250k requests per second on AWS"}, {"uroven": 2, "text": "How Audi uses AI to connect over 50 manufacturing plants worldwide"}, {"uroven": 2, "text": "How United uses AI to operate more than 5,000 daily flights"}, {"uroven": 2, "text": "How TUI uses Amazon Connect Customer to consolidate more than 85 customer service applications"}, {"uroven": 2, "text": "I want to see new customer stories in\n retail"}, {"uroven": 2, "text": "Powering what’s next in every industry"}, {"uroven": 3, "text": "Financial services"}, {"uroven": 3, "text": "Healthcare and Life Sciences"}, {"uroven": 3, "text": "Aerospace and Satellite"}, {"uroven": 3, "text": "Telecommunications"}, {"uroven": 3, "text": "Advertising and Marketing"}, {"uroven": 3, "text": "Manufacturing"}, {"uroven": 3, "text": "Media and Entertainment"}, {"uroven": 3, "text": "Games"}, {"uroven": 3, "text": "Automotive"}, {"uroven": 2, "text": "AWS Global Infrastructure"}, {"uroven": 3, "text": "The AWS Cloud spans 124 Availability Zones within 39 Geographic Regions, with announced plans for 7 more Availability Zones and 2 more AWS Regions in the Kingdom of Saudi Arabia, and Chile."}, {"uroven": 2, "text": "I want to\n try AWS for free"}, {"uroven": 2, "text": "Did you find what you were looking for today?"}], "markdown": "Get the greatest choice of cloud and AI capabilities Modernize faster and scale more efficiently with an unmatched portfolio of over 240 comprehensive services [Start free with AWS](https://portal.aws.amazon.com/billing/signup?sc_icampaign=hp-5-free-tier-25&sc_ichannel=ha&sc_iplace=hero&trk=a3c4a4e5-2749-4d31-bde5-8797858876c6)\n\n## What's new\n\nCatch up on the most talked-about launches, updates, and success stories across AWS.\n\n[Event re:Invent 2026 session catalog is liveBrowse hundreds of sessions across AI, security, databases, and more. Find what fits your role and build your agenda. Explore the session catalog](/events/reinvent/?sc_icampaign=hp-event_reinvent-catalog_2026&sc_ichannel=ha&sc_iplace=hero&trk=59030c83-c060-4097-825b-0812bacdfcaa)\n\n[AI Agents 88% of agent pilots stall. Yours don't have to.Most teams lose months between demo and production. Learn how leading companies closed the gap and shipped agents fast. Close the production gap](/ai/build-ai-agents/?sc_icampaign=hp-launch_ai-30-day-challenge_2026&sc_ichannel=ha&sc_iplace=hero&trk=02d312d1-2afc-4266-a7f0-2f0275f84e4a)\n\n[Agentic AI Data leaders use agentic AI to lead industriesSee how PGA Tour, Autodesk, and BMW are building data foundations for agentic AI with an open architecture on AWS. Explore how they innovate](/data/customer-stories/?sc_icampaign=hp-aware_data-agentic-ai_2026&sc_ichannel=ha&sc_iplace=hero&trk=720c97f4-3db9-49a3-a762-a685f0e95417)\n\n## From startups to enterprises, AWS is how leaders have powered innovation for 20 years\n\nJoin the largest global community of innovators who trust AWS to accelerate transformation and redefine industries.\n\n[View more stories](/solutions/case-studies/innovators/?hp=rei)\n\n1 / 5\n\n[Industrial Siemens Mobility turns 175 years of data into searchable insights with AWS AI View the story](/solutions/case-studies/innovators/siemens/?hp=cs)\n\n[Travel & Hospitality How Booking.com personalizes every trip, processing up to 250k requests per second on AWS View the story](/solutions/case-studies/innovators/booking/?hp=cs)\n\n[Automotive How Audi uses AI to connect over 50 manufacturing plants worldwide View the story](/solutions/case-studies/innovators/audi/?hp=cs)\n\n[Travel & Hospitality How United uses AI to operate more than 5,000 daily flights View the story](/solutions/case-studies/innovators/united-airlines/?hp=cs)\n\n[Travel & Hospitality How TUI uses Amazon Connect Customer to consolidate more than 85 customer service applications View the story](/solutions/case-studies/innovators/tui-group/?hp=cs)\n\n## I want to see new customer stories in\n retail\n\n## Powering what’s next in every industry\n\nDiscover how AWS helps organizations in every sector build, scale, and transform.\n\n[Explore AWS for your industry](/industries/?hp=i0)\n\nDisplaying 1-8 (9)\n\nDisplaying 1-8 (9)\n\n[Financial servicesDevelop innovative and secure solutions across banking, capital markets, insurance, and payments View industry](/financial-services/?hp=icard)\n\n[Healthcare and Life SciencesAccelerate innovation and improve patient care with healthcare data management and security View industry](/health/?hp=icard)\n\n[Aerospace and SatelliteCloud solutions to help customers build satellites, conduct space and launch operations, and reimagine space exploration View industry](/aerospace-and-satellite/?hp=icard)\n\n[TelecommunicationsAccelerate innovation, scale with confidence, and add agility with cloud-based telecom solutions View industry](/telecom/?hp=icard)\n\n[Advertising and MarketingTurn data into customer-winning campaigns View industry](/advertising-marketing/?hp=icard)\n\n[ManufacturingOptimize production and speed time-to-market View industry](/manufacturing/?hp=icard)\n\n[Media and EntertainmentTransform media & entertainment with the most purpose-built capabilities and partner solutions of any cloud View industry](/media/?hp=icard)\n\n[GamesEnable game development for every genre and platform, from AAA titles to indie studios View industry](/gametech/?hp=icard)\n\n- [Automotive Build smarter vehicles and transform mobility with cloud solutions View industry](/automotive/?hp=icard)\n\n## AWS Global Infrastructure\n\n### The AWS Cloud spans 124 Availability Zones within 39 Geographic Regions, with announced plans for 7 more Availability Zones and 2 more AWS Regions in the Kingdom of Saudi Arabia, and Chile.\n\nAWS Coverage Regions North America\n\nAvailable\n\nComing soon\n\nThe AWS Cloud in North America has 31 Availability Zones within 9 Geographic Regions, with 31 Edge Network Locations and 3 Edge Cache Locations.\n\nAshburn, VA\n\nAtlanta. GA\n\nBoston, MA\n\nChicago, IL\n\nColumbus, OH\n\nDallas/Fort Worth, TX\n\nDenver, CO\n\nHayward, CA\n\nHouston, TX\n\nJacksonville, FL\n\nKansas City, MO\n\nLos Angeles, CA\n\nMiami, FL\n\nMinneapolis, MN\n\nMontreal, QC\n\nNashville, TN\n\nNew York, NY\n\nNewark, NJ\n\nPalo Alto, CA\n\nPhoenix, AZ\n\nPhiladelphia, PA\n\nPortland, OR\n\nQueretaro, MX\n\nSalt Lake City, UT\n\nSan Jose, CA\n\nSeattle, WA\n\nSouth Bend, IN\n\nSt. Louis, MO\n\nTampa Bay, FL\n\nToronto, ON\n\nWashington D.C.\n\n## I want to\n try AWS for free\n\n## Did you find what you were looking for today?\n\nLet us know so we can improve the quality of the content on our pages", "znaku_textu": 5079, "slov": 653, "odkazu": 140, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:05", "sha256": "84d318ffdc7bf3734077858f89dde6b40c774d73c45c4960814c31baf6a18a9f", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://portal.aws.amazon.com/billing/signup?sc_icampaign=hp-5-free-tier-25&sc_ichannel=ha&sc_iplace=hero&trk=a3c4a4e5-2749-4d31-bde5-8797858876c6", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/architecture/well-architected/", "titulek": "AWS Well-Architected - Build secure, efficient cloud applications", "h1": "AWS Well-Architected", "popis": "The AWS Well-Architected Framework provides guidance to help developers build and deploy applications faster, lower risk, and make informed decisions following AWS best practices.", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/architecture/well-architected/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:description": "The AWS Well-Architected Framework provides guidance to help developers build and deploy applications faster, lower risk, and make informed decisions following AWS best practices.", "og:title": "AWS Well-Architected", "og:updated_time": "2026-09-13T10:58:26.215-0700", "og:url": "https://aws.amazon.com/architecture/well-architected/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "ItemList", "itemListElement": [{"@type": "ListItem", "position": 1, "identifier": "ams#c2", "name": "Reducing the Scope of Impact with Cell-Based Architecture", "description": "Describes how using a cell-based architecture can increase the resilience of critical applications by applying the same fault isolation concepts that AWS applies in its Availability Zones and Regions to your architecture.\n

Well-Architected Framework

"}, {"@type": "ListItem", "position": 2, "identifier": "ams#c3", "name": "DevOps Guidance", "description": "Describes a structured approach that organizations of all sizes can follow to cultivate a high-velocity, security-focused culture capable of delivering substantial business value using modern technologies and DevOps best practices."}, {"@type": "ListItem", "position": 3, "identifier": "ams#c4", "name": "Change Enablement in the Cloud", "description": "Discusses change enablement and the Well-Architected Framework in the context of applying governance to deploying changes to your AWS environment."}, {"@type": "ListItem", "position": 4, "identifier": "ams#c5", "name": "Operational Readiness Reviews (ORR)", "description": "Describes how the AWS Operational Readiness Review (ORR) was created and guides you in creating your own ORR program as part of the AWS Well-Architected Framework."}, {"@type": "ListItem", "position": 5, "identifier": "ams#c6", "name": "Management and Governance Cloud Environment Guide – AWS Well-Architected", "description": "Provides prescriptive guidance on how to manage your AWS workloads so that you have environments that are migration-ready, scale-ready, and cost-efficient."}, {"@type": "ListItem", "position": 6, "identifier": "ams#c7", "name": "Disaster Recovery of Workloads on AWS: Recovery in the Cloud", "description": "This paper outlines the best practices for planning and testing disaster recovery for any workload deployed to AWS."}], "numberOfItems": 6, "itemListOrder": "ItemListUnordered"}, {"@context": "https://schema.org", "@type": "ItemList", "name": "AWS Well-Architected References", "itemListElement": [{"@type": "ListItem", "item": {"@type": "ImageObject", "contentUrl": "https://d1.awsstatic.com/Well-Architected/CyberAgent%403x.3fb8326d36df0096815343ab87f518462dc15c68.png", "name": "Missing alt text value", "description": "CyberAgent"}, "position": 1}, {"@type": "ListItem", "item": {"@type": "ImageObject", "contentUrl": "https://d1.awsstatic.com/partner-network/partner_marketing_web_team/directories-logos/300x50_NEC.5f85dbe49c00120db384502ff16bfe3cf5e3d724.png", "name": "Missing alt text value", "description": "NEC Corporation"}, "position": 2}]}], "drobecky": [], "osnova": [{"uroven": 1, "text": "AWS Well-Architected"}, {"uroven": 2, "text": "Overview"}, {"uroven": 2, "text": "AWS Well-Architected and the Six Pillars"}, {"uroven": 3, "text": "Framework Overview"}, {"uroven": 2, "text": "AWS Well-Architected Six Pillars"}, {"uroven": 3, "text": "Operational Excellence Pillar"}, {"uroven": 3, "text": "Security Pillar"}, {"uroven": 3, "text": "Reliability Pillar"}, {"uroven": 3, "text": "Performance Efficiency Pillar"}, {"uroven": 3, "text": "Cost Optimization Pillar"}, {"uroven": 3, "text": "Sustainability Pillar"}, {"uroven": 2, "text": "AWS Well-Architected Lenses"}, {"uroven": 3, "text": "Agentic AI Lens"}, {"uroven": 3, "text": "Responsible AI Lens"}, {"uroven": 3, "text": "Machine Learning Lens"}, {"uroven": 3, "text": "Generative AI Lens"}, {"uroven": 3, "text": "Microsoft Workloads Lens"}, {"uroven": 3, "text": "Financial Services Lens"}, {"uroven": 2, "text": "AWS Well-Architected Guidance"}, {"uroven": 3, "text": "Reducing the Scope of Impact with Cell-Based Architecture"}, {"uroven": 3, "text": "DevOps Guidance"}, {"uroven": 3, "text": "Change Enablement in the Cloud"}, {"uroven": 3, "text": "Operational Readiness Reviews (ORR)"}, {"uroven": 3, "text": "Management and Governance Cloud Environment Guide – AWS Well-Architected"}, {"uroven": 3, "text": "Disaster Recovery of Workloads on AWS: Recovery in the Cloud"}, {"uroven": 2, "text": "AWS Well-Architected References"}, {"uroven": 3, "text": "CyberAgent"}, {"uroven": 3, "text": "NEC Corporation"}], "markdown": "AWS Architecture Center\n\n- Technology Categories\n- Video Series\n- [AWS Well-Architected](/architecture/well-architected/?achp_navwa1)\n- Libraries\n- More Resources\n\nAWS Well-Architected Reduce risk, optimize costs, and continuously improve from first deploy to full scale. [Get started with the AWS Well-Architected Tool](https://console.aws.amazon.com/wellarchitected)\n\n## Overview\n\nAWS Well-Architected is built on years of best practices and learnings from hundreds of thousands of customer architectures. It brings together a proven architectural Framework, domain-specific Lenses, a self-service assessment Tool, and an AI-powered Agent into one unified umbrella. Whether you are designing your first workload or optimizing at scale, Well-Architected helps you reduce risk, control costs, and continuously improve your cloud infrastructure. The AWS Well-Architected Framework includes domain-specific lenses, hands-on labs, and the AWS Well-Architected Tool. The AWS Well-Architected Tool, available at no cost in the AWS Management Console, provides a mechanism for regularly evaluating workloads, identifying high-risk issues, and recording improvements. AWS also provides access to an environment of hundreds of members in the AWS Well-Architected Partner Program. Engage a partner in your area to help analyze and review your applications.\n\n100 %\n\n## AWS Well-Architected and the Six Pillars\n\n### Framework Overview\n\nThe AWS Well-Architected Framework describes key concepts, design principles, and architectural best practices for designing and running workloads in the cloud. By answering a few foundational questions, learn how well your architecture aligns with cloud best practices and gain guidance for making improvements.\n [Learn more](https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html)\n\n## AWS Well-Architected Six Pillars\n\n[Operational Excellence Pillar The operational excellence pillar focuses on running and monitoring systems, and continually improving processes and procedures. Key topics include automating changes, responding to events, and defining standards to manage daily operations. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/operational-excellence-pillar/welcome.html)\n\n[Security Pillar The security pillar focuses on protecting information and systems. Key topics include confidentiality and integrity of data, managing user permissions, and establishing controls to detect security events. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/welcome.html)\n\n[Reliability Pillar The reliability pillar focuses on workloads performing their intended functions and how to recover quickly from failure to meet demands. Key topics include distributed system design, recovery planning, and adapting to changing requirements. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/welcome.html)\n\n[Performance Efficiency Pillar The performance efficiency pillar focuses on structured and streamlined allocation of IT and computing resources. Key topics include selecting resource types and sizes optimized for workload requirements, monitoring performance, and maintaining efficiency as business needs evol Learn more](https://docs.aws.amazon.com/wellarchitected/latest/performance-efficiency-pillar/welcome.html)\n\n[Cost Optimization Pillar The cost optimization pillar focuses on avoiding unnecessary costs. Key topics include understanding spending over time and controlling fund allocation, selecting resources of the right type and quantity, and scaling to meet business needs without overspending. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/cost-optimization-pillar/welcome.html)\n\n[Sustainability Pillar The sustainability pillar focuses on minimizing the environmental impacts of running cloud workloads. Key topics include a shared responsibility model for sustainability, understanding impact, and maximizing utilization to minimize required resources and reduce downstream impacts. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/sustainability-pillar/sustainability-pillar.html)\n\n## AWS Well-Architected Lenses\n\n[Agentic AI Lens Architectural guidance for designing, deploying, and operating agentic AI systems on AWS. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/agentic-ai-lens/agentic-ai-lens.html)\n\n[Responsible AI Lens Best practices for building AI and machine learning workloads responsibly across the AWS Cloud. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/responsible-ai-lens/responsible-ai-lens.html)\n\n[Machine Learning Lens Best practices for designing and operating machine learning workloads on AWS. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/machine-learning-lens/machine-learning-lens.html)\n\n[Generative AI Lens Best practices for designing, deploying, and operating generative AI workloads on AWS. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/generative-ai-lens/generative-ai-lens.html)\n\n[Microsoft Workloads Lens Best practices for managing and architecting Microsoft workloads on AWS. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/microsoft-workloads-lens/microsoft-workloads-lens.html)\n\n[Financial Services Lens Best practices for architecting your Financial Services Industry workloads on AWS. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/financial-services-industry-lens/welcome.html)\n\n## AWS Well-Architected Guidance\n\nUnlike the Framework and Lenses, which are aligned with all six pillars of the Well-Architected Framework, AWS Well-Architected Guidance focuses on a specific use case, technology, or implementation scenario.\n\n[Whitepaper 2023-09-20 Reducing the Scope of Impact with Cell-Based ArchitectureDescribes how using a cell-based architecture can increase the resilience of critical applications by applying the same fault isolation concepts that AWS applies in its Availability Zones and Regions to your architecture.\n Well-Architected Framework Learn more](https://docs.aws.amazon.com/wellarchitected/latest/reducing-scope-of-impact-with-cell-based-architecture/reducing-scope-of-impact-with-cell-based-architecture.html?did=wp_card&trk=wp_card)\n\n[Whitepaper 2023-09-20 DevOps GuidanceDescribes a structured approach that organizations of all sizes can follow to cultivate a high-velocity, security-focused culture capable of delivering substantial business value using modern technologies and DevOps best practices. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/devops-guidance/devops-guidance.html?did=wp_card&trk=wp_card)\n\n[Whitepaper 2023-06-27 Change Enablement in the CloudDiscusses change enablement and the Well-Architected Framework in the context of applying governance to deploying changes to your AWS environment. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/change-enablement-in-the-cloud/change-enablement-in-the-cloud.html?did=wp_card&trk=wp_card)\n\n[Whitepaper 2022-06-30 Operational Readiness Reviews (ORR)Describes how the AWS Operational Readiness Review (ORR) was created and guides you in creating your own ORR program as part of the AWS Well-Architected Framework. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/operational-readiness-reviews/wa-operational-readiness-reviews.html?did=wp_card&trk=wp_card)\n\n[Whitepaper 2021-11-22 Management and Governance Cloud Environment Guide – AWS Well-ArchitectedProvides prescriptive guidance on how to manage your AWS workloads so that you have environments that are migration-ready, scale-ready, and cost-efficient. Learn more](https://docs.aws.amazon.com/wellarchitected/latest/management-and-governance-guide/management-and-governance-cloud-environment-guide.html?did=wp_card&trk=wp_card)\n\n[Whitepaper 2021-02-12 Disaster Recovery of Workloads on AWS: Recovery in the CloudThis paper outlines the best practices for planning and testing disaster recovery for any workload deployed to AWS. Learn more](https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/disaster-recovery-workloads-on-aws.html?did=wp_card&trk=wp_card)\n\n## AWS Well-Architected References\n\n### CyberAgent\n\n\"CyberAgent, Inc. has been able to rapidly learn about AWS and visualize potential business risks by adopting the AWS Well-Architected Framework. In addition, we were able to use the knowledge we accumulated from AWS Well-Architected best practices to implement architectural changes and successfully resolve risks.”Shota Tsuge, Senior Organizational Reliability Engineer - CyberAgent, Inc.\n\n### NEC Corporation\n\n\"NEC has conducted AWS Well-Architected Framework Reviews on various projects to improve the quality of integration. In the development of Water Counter Cloud Service, we conducted a review at an early stage of the design process. This enabled us to identify design issues early and resolve them quickly, allowing us to deliver services to Sakai City Waterworks and Sewerage Bureau as quickly as possible. The AWS Well-Architected Framework is also very useful for training engineers, and is indispensable for improving our technical capabilities as a system integrator.”Nobuaki Iijima, General Manager - NEC Corporation", "znaku_textu": 9202, "slov": 1071, "odkazu": 142, "kodovani": "windows-1250", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:07", "sha256": "e98ebf5c43a0c467448da09501448b8844b585c7847b3b7163db7c944041f1e5", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://console.aws.amazon.com/wellarchitected", "https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html", "https://docs.aws.amazon.com/wellarchitected/latest/operational-excellence-pillar/welcome.html", "https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/welcome.html", "https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/welcome.html", "https://docs.aws.amazon.com/wellarchitected/latest/performance-efficiency-pillar/welcome.html", "https://docs.aws.amazon.com/wellarchitected/latest/cost-optimization-pillar/welcome.html", "https://docs.aws.amazon.com/wellarchitected/latest/sustainability-pillar/sustainability-pillar.html", "https://docs.aws.amazon.com/wellarchitected/latest/agentic-ai-lens/agentic-ai-lens.html", "https://docs.aws.amazon.com/wellarchitected/latest/responsible-ai-lens/responsible-ai-lens.html", "https://docs.aws.amazon.com/wellarchitected/latest/machine-learning-lens/machine-learning-lens.html", "https://docs.aws.amazon.com/wellarchitected/latest/generative-ai-lens/generative-ai-lens.html", "https://docs.aws.amazon.com/wellarchitected/latest/microsoft-workloads-lens/microsoft-workloads-lens.html", "https://docs.aws.amazon.com/wellarchitected/latest/financial-services-industry-lens/welcome.html", "https://docs.aws.amazon.com/wellarchitected/latest/reducing-scope-of-impact-with-cell-based-architecture/reducing-scope-of-impact-with-cell-based-architecture.html?did=wp_card&trk=wp_card", "https://docs.aws.amazon.com/wellarchitected/latest/devops-guidance/devops-guidance.html?did=wp_card&trk=wp_card", "https://docs.aws.amazon.com/wellarchitected/latest/change-enablement-in-the-cloud/change-enablement-in-the-cloud.html?did=wp_card&trk=wp_card", "https://docs.aws.amazon.com/wellarchitected/latest/operational-readiness-reviews/wa-operational-readiness-reviews.html?did=wp_card&trk=wp_card", "https://docs.aws.amazon.com/wellarchitected/latest/management-and-governance-guide/management-and-governance-cloud-environment-guide.html?did=wp_card&trk=wp_card", "https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/disaster-recovery-workloads-on-aws.html?did=wp_card&trk=wp_card", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/", "titulek": "AWS Builder Center", "h1": "", "popis": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "klicova_slova": "", "kanonicka": "https://builder.aws.com", "jazyk": "en", "robots_meta": "", "og": {"og:title": "AWS Builder Center", "og:description": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "og:image": "https://builder.aws.com/assets/og-hiXAX-on.png", "og:url": "https://builder.aws.com", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "name": "AWS Builder Center", "url": "https://builder.aws.com"}], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:09", "sha256": "e89c909ed95c641595db30d9381a6654b36d394e80203544b6393ca83a2beb54", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": []} {"url": "https://aws.amazon.com/builders-library/?did=ba_card&trk=ba_card", "titulek": "AWS Builder Center", "h1": "", "popis": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "klicova_slova": "", "kanonicka": "https://builder.aws.com", "jazyk": "en", "robots_meta": "", "og": {"og:title": "AWS Builder Center", "og:description": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "og:image": "https://builder.aws.com/assets/og-hiXAX-on.png", "og:url": "https://builder.aws.com", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "name": "AWS Builder Center", "url": "https://builder.aws.com"}], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://aws.amazon.com/builders-library/", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:27", "sha256": "e89c909ed95c641595db30d9381a6654b36d394e80203544b6393ca83a2beb54", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": []} {"url": "https://aws.amazon.com/builders-library/authors/", "titulek": "The Amazon Builders' Library Authors", "h1": "Amazon Builders' Library Authors", "popis": "The Amazon Builders' Library authors are long time Amazonians and are delighted to share the learnings on each one of topics they've written about. They strive to dive deep on their contributions to the Library and will update the articles as they learn more. ", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:description": "The Amazon Builders' Library authors are long time Amazonians and are delighted to share the learnings on each one of topics they've written about. They strive to dive deep on their contributions to the Library and will update the articles as they learn more. ", "og:title": "Builders' Library Authors", "og:updated_time": "2026-08-20T13:37:39.892-0700", "og:url": "https://aws.amazon.com/builders-library/authors/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Amazon Builders' Library Authors"}, {"uroven": 2, "text": "Learn more about the authors"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nAmazon Builders' Library Authors\n\n## Learn more about the authors\n\nLoading\n\nLoading\n\nLoading\n\nLoading\n\nLoading", "znaku_textu": 235, "slov": 24, "odkazu": 124, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:13", "sha256": "889fad7770266a13d1eb2c95fb85c37651576d34761ebab2fab492d788218ad4", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/becky-weiss/", "titulek": "Becky Weiss | Builders' Library Author", "h1": "Becky Weiss", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/becky-weiss/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Becky Weiss | Builders' Library Author", "og:updated_time": "2026-08-20T13:37:41.985-0700", "og:url": "https://aws.amazon.com/builders-library/authors/becky-weiss/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Becky Weiss"}, {"uroven": 2, "text": "Becky Weiss, Senior Principal Engineer"}, {"uroven": 2, "text": "Authored by Becky"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nBecky Weiss\n\n## Becky Weiss, Senior Principal Engineer\n\nBecky Weiss is a Senior Principal Engineer at Amazon Web Services. Her current focus is on Identity and Access Management in AWS and, generally, on providing flexible, comprehensive, and authoritative security controls for customers in the cloud. In the past, she has worked on Amazon Virtual Private Cloud (i.e. networking) and AWS Lambda, and she has also worked with AWS Professional Services to help enterprise customers successfully secure their environments in AWS. Becky also happens to be AWS’s biggest fan, and, in her spare time, she builds all manner of useful and useless things on AWS. Prior to working at AWS, Becky worked for Microsoft on Windows and Windows Phone.\n\n## Authored by Becky\n\n[**Amazon’s approach to failing successfully**](/builders-library/?did=ba_card&trk=ba_card)\n\n In this video, learn about Amazon’s favorite techniques for defining and reviewing metrics and how to do an effective postmortem that drives both learning and meaningful improvement.\n\n**[Static stability using availability zones](Static%20stability%20using%20availability%20zones)**\n\n Architecting to use multiple availability zones for high availability and ensuring systems are statically stable.", "znaku_textu": 1376, "slov": 185, "odkazu": 126, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:10", "sha256": "b4d27de7d9f9257d39bd8d839f9d9b508d3c26b31535c99c019bdc9be7cbc64a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/clare-liguori/", "titulek": "Clare Liguori | Builders' Library Author", "h1": "Clare Liguori", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/clare-liguori/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Clare Liguori | Builders' Library Author", "og:updated_time": "2026-08-20T13:37:40.683-0700", "og:url": "https://aws.amazon.com/builders-library/authors/clare-liguori/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Clare Liguori"}, {"uroven": 2, "text": "Clare Liguori, Principal Engineer"}, {"uroven": 2, "text": "Authored by Clare Liguori"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nClare Liguori\n\n## Clare Liguori, Principal Engineer\n\nClare Liguori is a Principal Software Engineer at AWS. Her current focus is on developer experience for AWS Container Services, building tools at the intersection of containers and the software development lifecycle: local development, infrastructure as code, CI/CD, observability, and operations.\n\n[Twitter](https://twitter.com/clare_liguori) | [LinkedIn](https://www.linkedin.com/in/clareliguori/) | [github](https://github.com/clareliguori)\n\n## Authored by Clare Liguori\n\n**[My CI/CD pipeline is my release captain](https://builder.aws.com/content/3Ev3XnnYuuBhlgnywbbVFzwibm1/my-cicd-pipeline-is-my-release-captain)**Learn how Amazon continuously releases changes to production safely using practices such as trunk-based development, immutable deployment artifacts, and proactive rollbacks. PDF\n\n**[Hands-off: Automating continuous delivery pipelines at Amazon](https://builder.aws.com/content/3Ev3Nho3q1Cs04EZUVB1ckhNJWL/hands-off-automating-continuous-delivery-pipelines-at-amazon)**\n\n In this session, learn about Amazon’s automated approach to continuous delivery that helps release code safely and quickly, with pipelines that enable developers to focus on building solutions rather than managing deployments.\n\n[**Automating safe, hands-off deployments**](https://builder.aws.com/content/3ErTKQOTKc5NIw031UePBPxTQ6I/automating-safe-hands-off-deployments?did=ba_card&trk=ba_card)\n\n Strategies for continuously deploying to production while balancing safety and speed.", "znaku_textu": 1639, "slov": 169, "odkazu": 130, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:10", "sha256": "5e1de87d4d2ae7701ea47cd926c8779d7ba2c6bab95380f37de913d3fcc23ac5", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/clare_liguori", "https://www.linkedin.com/in/clareliguori/", "https://github.com/clareliguori", "https://builder.aws.com/content/3Ev3XnnYuuBhlgnywbbVFzwibm1/my-cicd-pipeline-is-my-release-captain", "https://builder.aws.com/content/3Ev3Nho3q1Cs04EZUVB1ckhNJWL/hands-off-automating-continuous-delivery-pipelines-at-amazon", "https://builder.aws.com/content/3ErTKQOTKc5NIw031UePBPxTQ6I/automating-safe-hands-off-deployments?did=ba_card&trk=ba_card", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/colm-maccarthaigh/", "titulek": "Colm MacCárthaigh | Builders' Library Author", "h1": "Colm MacCárthaigh", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/colm-maccarthaigh/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Colm MacCárthaigh | Builders' Library Author", "og:updated_time": "2026-08-20T13:39:57.882-0700", "og:url": "https://aws.amazon.com/builders-library/authors/colm-maccarthaigh/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Colm MacCárthaigh"}, {"uroven": 2, "text": "Colm MacCárthaigh, Senior Principal Engineer"}, {"uroven": 2, "text": "Authored by Colm"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nColm MacCárthaigh\n\n## Colm MacCárthaigh, Senior Principal Engineer\n\nColm MacCárthaigh is a Senior Principal Engineer at Amazon Web Services. Before working on EC2, cryptography, and networking, Colm helped build Amazon CloudFront, and Amazon Route 53. Colm is also an Open Source contributor, and one of the authors of the Apache httpd webserver, as well as Amazon s2n, the AWS implementation of the SSL/TLS protocols. When not working on technical things, Colm is a musician and singer and frequently plays, tours, and records Irish music internationally.\n\n[Twitter](https://twitter.com/colmmacc) | [LinkedIn](https://www.linkedin.com/in/colmm1/) | [github](https://github.com/colmmacc)\n\n## Authored by Colm\n\n**[Reliability, constant work, and a good cup of coffee](https://builder.aws.com/content/3F05oqNtNUWxHJ5r6L6I2HrH4rI/reliability-constant-work-and-a-good-cup-of-coffee?did=ba_card&trk=ba_card)**\n\n Simplifying systems to deliver stability by avoiding scaling during times of stress.\n\n**[Beyond five 9s: Lessons from our highest available data planes](https://builder.aws.com/content/3F073j4jJOsSRTDlQM3eiZxkFLm/beyond-five-9s-lessons-from-our-highest-available-data-planes?did=ba_card&trk=ba_card)**\n\n In this video, hear lessons from how AWS has built and architected Amazon Route 53 and the AWS authentication system, designed to survive cataclysmic failures, enormous load increases, and more.\n\n**[Amazon’s approach to security during development](/builders-library/?did=ba_card&trk=ba_card)**\n\n In this video, learn about how AWS teams both minimize security risks in our products and respond to security issues proactively.\n\n**[Workload isolation using shuffle-sharding](https://builder.aws.com/content/3F06NpJ8YeoIGP8VHTw4n81pFn8/workload-isolation-using-shuffle-sharding?did=ba_card&trk=ba_card)**\n\n Shuffle Sharding is one of our core techniques for drastically limiting the scope of impact of operational issues.", "znaku_textu": 2035, "slov": 233, "odkazu": 131, "kodovani": "utf-8", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:12", "sha256": "89256810615b1b0e1348155426571097f6c8eb575b2e30b66b326e11778fc873", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/colmmacc", "https://www.linkedin.com/in/colmm1/", "https://github.com/colmmacc", "https://builder.aws.com/content/3F05oqNtNUWxHJ5r6L6I2HrH4rI/reliability-constant-work-and-a-good-cup-of-coffee?did=ba_card&trk=ba_card", "https://builder.aws.com/content/3F073j4jJOsSRTDlQM3eiZxkFLm/beyond-five-9s-lessons-from-our-highest-available-data-planes?did=ba_card&trk=ba_card", "https://builder.aws.com/content/3F06NpJ8YeoIGP8VHTw4n81pFn8/workload-isolation-using-shuffle-sharding?did=ba_card&trk=ba_card", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/david-yanacek/", "titulek": "David Yanacek | Builders' Library Author", "h1": "David Yanacek", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/david-yanacek/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "David Yanacek | Builders' Library Author", "og:updated_time": "2026-08-20T13:32:55.304-0700", "og:url": "https://aws.amazon.com/builders-library/authors/david-yanacek/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "David Yanacek"}, {"uroven": 2, "text": "David Yanacek, Senior Principal Engineer"}, {"uroven": 2, "text": "Authored by David"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nDavid Yanacek\n\n## David Yanacek, Senior Principal Engineer\n\nDavid Yanacek is a Senior Principal Engineer working on services like CloudWatch in the Amazon Monitoring & Observability organization in AWS. David has been a software developer at Amazon since 2006, previously working on Amazon DynamoDB, AWS Lambda, and AWS IoT. He has also worked on internal web service frameworks and fleet operations automation systems. One of David’s favorite activities at work is performing log analysis and sifting through operational metrics to find ways to make systems run more and more smoothly over time.\n\n[Twitter](https://twitter.com/dyanacek) [LinkedIn](https://www.linkedin.com/in/david-yanacek-5927362/) [github](https://github.com/Yanacek)\n\n## Authored by David\n\n**[Amazon's approach to production services monitoring](https://www.youtube.com/watch?v=hnPcf_Czbvw)**\n\n This session covers the full spectrum of monitoring at Amazon, from how teams assess system health at a high level to how they zoom in to understand the details of a single request. Also, learn how Amazon thinks about percentiles, dimensionality of metrics, dashboards, log analysis, and distributed tracing.\n\n**[Operational Excellence at Amazon](https://builder.aws.com/content/3Ev4irLmkHOBR3BhODX2vuE0Syf/operational-excellence-at-amazon)**\n\n In this session, learn about Amazon’s operational practices. How the habits that teams have adopted, such as handling retrospectives, sharing knowledge, and regularly reviewing operational metrics, led teams to innovate to build better tools and make architectural shifts.\n\n**[Architecting and operating resilient serverless systems at scale](/builders-library/?did=ba_card&trk=ba_card)**\n\n In this video, we cover what AWS does to build reliable and resilient services, including avoiding modes and overload, performing bounded work, throttling at multiple layers, guarding concurrency, sending idempotent requests, applying backpressure and fairness in queueing, and performing shuffle sharding.\n\n**[Implementing health checks](https://builder.aws.com/content/3Ev53O39izHCtWLzp4XU6t8PC1O/implementing-health-checks?did=ba_card&trk=ba_card)**\n\n Automatically detecting and mitigating server failures without unintended consequences from fleet-wide false positives.\n\n**[Instrumenting distributed systems for operational visibility](https://builder.aws.com/content/3EuxPBdIiiUhB5IK47p3O3fxhy7/instrumenting-distributed-systems-for-operational-visibility?did=ba_card&trk=ba_card)**\n\n Gaining operational visibility into production systems, and troubleshoot failures with software instrumentation.\n\n**[Using load shedding to avoid overload](https://builder.aws.com/content/3Eun1EEyX6p2e3VYNyRLSJzLuMV/using-load-shedding-to-avoid-overload?did=ba_card&trk=ba_card)**\n\n Strategies for maintaining predictable, consistent performance in the face of overload.\n\n**[Using dependency isolation to contain concurrency overload](https://builder.aws.com/content/3EuxuD6bWtQ6gEp9FaKQfd3Z2AM/using-dependency-isolation-to-contain-concurrency-overload)**\n\n Containing the impact caused by a failing dependency to affect only the relevant functionality in an application.\n\n**[Fairness in multi-tenant systems](https://builder.aws.com/content/3Eupj3d2bo4fEvlzYbICMZNhQ3B/fairness-in-multi-tenant-systems?did=ba_card&trk=ba_card)**\n\n Building fairness into multitenant systems to provide predictable performance and availability.\n\n**[Avoiding insurmountable queue backlogs](https://builder.aws.com/content/3EuRcgkTP1MI0c7zM8W6HL3WIqA/avoiding-insurmountable-queue-backlogs?did=ba_card&trk=ba_card)**\n\n Prioritizing draining important workloads from queue backlogs quickly, and avoid backlogs in the first place.", "znaku_textu": 3796, "slov": 395, "odkazu": 136, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:12", "sha256": "36f7c7baa0ff6e6316091b505ff1bc0df34646142eb57682c962ee5ba2739038", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/dyanacek", "https://www.linkedin.com/in/david-yanacek-5927362/", "https://github.com/Yanacek", "https://www.youtube.com/watch?v=hnPcf_Czbvw", "https://builder.aws.com/content/3Ev4irLmkHOBR3BhODX2vuE0Syf/operational-excellence-at-amazon", "https://builder.aws.com/content/3Ev53O39izHCtWLzp4XU6t8PC1O/implementing-health-checks?did=ba_card&trk=ba_card", "https://builder.aws.com/content/3EuxPBdIiiUhB5IK47p3O3fxhy7/instrumenting-distributed-systems-for-operational-visibility?did=ba_card&trk=ba_card", "https://builder.aws.com/content/3Eun1EEyX6p2e3VYNyRLSJzLuMV/using-load-shedding-to-avoid-overload?did=ba_card&trk=ba_card", "https://builder.aws.com/content/3EuxuD6bWtQ6gEp9FaKQfd3Z2AM/using-dependency-isolation-to-contain-concurrency-overload", "https://builder.aws.com/content/3Eupj3d2bo4fEvlzYbICMZNhQ3B/fairness-in-multi-tenant-systems?did=ba_card&trk=ba_card", "https://builder.aws.com/content/3EuRcgkTP1MI0c7zM8W6HL3WIqA/avoiding-insurmountable-queue-backlogs?did=ba_card&trk=ba_card", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/jacob-gabrielson/", "titulek": "Jacob Gabrielson | Builders' Library Author", "h1": "Jacob Gabrielson", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/jacob-gabrielson/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Jacob Gabrielson | Builders' Library Author", "og:updated_time": "2026-08-20T13:33:49.317-0700", "og:url": "https://aws.amazon.com/builders-library/authors/jacob-gabrielson/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Jacob Gabrielson"}, {"uroven": 2, "text": "Jacob Gabrielson, Senior Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nJacob Gabrielson\n\n## Jacob Gabrielson, Senior Principal Engineer\n\nJacob Gabrielson is a Senior Principal Engineer at Amazon Web Services. He has worked at Amazon for 17 years, primarily on internal microservices platforms. For the past 8 years he has been working on EC2 and ECS, including software deployment systems, control plane services, the Spot market, Lightsail, and most recently, containers. Jacob’s passions are for systems programming, programming languages, and distributed computing. His biggest dislike is bimodal system behavior, especially under failure conditions. He holds a bachelors degree in Computer Science from the University of Washington in Seattle.\n\n[Twitter](https://twitter.com/jacobgabrielson) | [LinkedIn](https://www.linkedin.com/in/jacobgabrielson/) | [github](https://github.com/JacobGabrielson/)", "znaku_textu": 957, "slov": 109, "odkazu": 127, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:15", "sha256": "482e275640159fde12c76dc1ce013e9b70f1ecac1d097caec00bcd9cfab23951", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/jacobgabrielson", "https://www.linkedin.com/in/jacobgabrielson/", "https://github.com/JacobGabrielson/", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/jas-chhabra/", "titulek": "Jas Chhabra | Builders' Library Author", "h1": "Jas Chhabra", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/jas-chhabra/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Jas Chhabra | Builders' Library Author", "og:updated_time": "2026-08-20T13:32:54.421-0700", "og:url": "https://aws.amazon.com/builders-library/authors/jas-chhabra/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Jas Chhabra"}, {"uroven": 2, "text": "Jas Chhabra, Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nJas Chhabra\n\n## Jas Chhabra, Principal Engineer\n\nJas Chhabra is a Principal Engineer at AWS. He joined AWS in 2016 and worked on AWS IAM for a couple of years before moving into his current role at AWS Machine Learning. Before AWS, he worked at Intel in various technical roles in IoT, identity, and security areas. Current interests are Machine learning, security and large-scale distributed systems. Past interests include IoT, bitcoins, identity, and cryptography. He has a Masters in Computer Science.", "znaku_textu": 634, "slov": 91, "odkazu": 124, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:15", "sha256": "9c4af016d9ed0aa01f73ff63b61c53cc132b14223f98b4b3ffc4f95bb5b42edd", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/joe-magerramov/", "titulek": "Joe Magerramov | Builders' Library Author", "h1": "Joe Magerramov", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/joe-magerramov/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Joe Magerramov | Builders' Library Author", "og:updated_time": "2026-08-20T13:31:39.835-0700", "og:url": "https://aws.amazon.com/builders-library/authors/joe-magerramov/", "og:locale": "en_US", "og:locale:alternate": "zh_CN"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Joe Magerramov"}, {"uroven": 2, "text": "Joe Magerramov, Senior Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nJoe Magerramov\n\n## Joe Magerramov, Senior Principal Engineer\n\nJoe Magerramov is a Senior Principal Engineer at Amazon Web Services. Joe has been with Amazon since 2005, and with AWS since 2014. At AWS Joe focuses his attention on EC2 networking, VPC, and ELB. Prior to AWS, Joe worked on the services responsible for Amazon.com’s payments, fulfillment, and marketplace systems. In his free time Joe enjoys learning more about physics and cosmology.\n\n[Twitter](https://twitter.com/_joemag_) | [LinkedIn](https://www.linkedin.com/in/joemag)", "znaku_textu": 666, "slov": 82, "odkazu": 126, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:16", "sha256": "27dfc827a38493d12bd19d8c1cb6ae000ced18d2ca27d3997e0b6d740dd4bb1a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/_joemag_", "https://www.linkedin.com/in/joemag", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/john-oshea/", "titulek": "John O'Shea | Builders' Library Author", "h1": "John O'Shea", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/john-oshea/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "John O'Shea | Builders' Library Author", "og:updated_time": "2026-08-20T13:33:52.957-0700", "og:url": "https://aws.amazon.com/builders-library/authors/john-oshea/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "John O'Shea"}, {"uroven": 2, "text": "John O'Shea, Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nJohn O'Shea\n\n## John O'Shea, Principal Engineer\n\nJohn O'Shea is a Principal Engineer at Amazon Web Services. John joined AWS in 2010, building on his earlier career developing Java-based CORBA and WS-* web service middleware and development tools. Throughout his time at AWS, John has worked on Amazon CloudWatch and other Amazon-internal monitoring and observability services. His passionate about customers, measuring things, finding better ways to interpret and understand telemetry and operational excellence of internet-scale distributed systems in general. He holds a bachelor’s degree in Computer Systems from the University of Limerick in Ireland.\n\n[Twitter](https://twitter.com/joshea) | [LinkedIn](https://www.linkedin.com/in/joshea)", "znaku_textu": 869, "slov": 108, "odkazu": 126, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:18", "sha256": "ba629c98ae112e1839d7070a385e23a6ecf80c2e823a60ee155d18db553ba5ce", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/joshea", "https://www.linkedin.com/in/joshea", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/malcolm-featonby/", "titulek": "Colm MacCĂĄrthaigh | Builders' Library Author", "h1": "Malcolm Featonby", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/malcolm-featonby/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Malcolm Featonby | Builders' Library Author", "og:updated_time": "2026-08-20T13:37:40.870-0700", "og:url": "https://aws.amazon.com/builders-library/authors/malcolm-featonby/", "og:locale": "en_US", "og:locale:alternate": "zh_CN"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Malcolm Featonby"}, {"uroven": 2, "text": "Malcolm Featonby, Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nMalcolm Featonby\n\n## Malcolm Featonby, Principal Engineer\n\nMalcolm Featonby is a Principal Engineer at Amazon Web Services. He joined Amazon in 2011 and has spent a number of years working with various teams across AWS EC2. More recently Malcolm has transitioned to the AWS containers organization working with the teams that deliver AWS ECS, ECR and Fargate. Malcolm is passionate about service scaling and system decoupling in hypergrowth environments. He holds a masters degree in Information Technology.\n\n[Twitter](https://twitter.com/mfeatonby) | [LinkedIn](https://www.linkedin.com/in/malcolmfeatonby/)", "znaku_textu": 734, "slov": 88, "odkazu": 126, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:18", "sha256": "36a7f5e5d9fd044d64849476adeb02cb10b2c30378c47578a49a9e179c0df965", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/mfeatonby", "https://www.linkedin.com/in/malcolmfeatonby/", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/marc-brooker/", "titulek": "Marc Brooker | Builders' Library Author", "h1": "Marc Brooker", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/marc-brooker/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Marc Brooker | Builders' Library Author", "og:updated_time": "2026-08-20T13:37:45.136-0700", "og:url": "https://aws.amazon.com/builders-library/authors/marc-brooker/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Marc Brooker"}, {"uroven": 2, "text": "Marc Brooker, Senior Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nMarc Brooker\n\n## Marc Brooker, Senior Principal Engineer\n\nMarc Brooker is a Senior Principal Engineer at Amazon Web Services. He \n\n has worked at AWS since 2008 on multiple services including EC2, EBS and\n\n IoT. Today, he focuses on AWS Lambda, including work on scaling and \n\n virtualization. Marc really enjoys reading COEs and post-mortems. He \n\n holds a PhD in electrical engineering.\n\n[Twitter](https://twitter.com/MarcJBrooker) | [LinkedIn](https://www.linkedin.com/in/marc-brooker-b431772b/)", "znaku_textu": 620, "slov": 74, "odkazu": 126, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:20", "sha256": "77e204ac0c337b17ac9b3cdc503bbbbeab0e811655b08eb1c8a2fc7d95a4f750", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://twitter.com/MarcJBrooker", "https://www.linkedin.com/in/marc-brooker-b431772b/", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/matt-brinkley/", "titulek": "Matt Brinkley | Builders' Library Author", "h1": "Matt Brinkley", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/matt-brinkley/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Matt Brinkley | Builders' Library Author", "og:updated_time": "2026-08-20T13:31:44.913-0700", "og:url": "https://aws.amazon.com/builders-library/authors/matt-brinkley/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Matt Brinkley"}, {"uroven": 2, "text": "Matt Brinkley, Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nMatt Brinkley\n\n## Matt Brinkley, Principal Engineer\n\nMatt is a Principal Engineer in Emerging Devices at Amazon, where he works on the software and services for upcoming consumer devices. Previously he worked in AWS Elemental, leading the team that launched MediaTailor, a server-side personalized adinsertion service for live and on-demand video. Along the way he helped launch PrimeVideo’s first season streaming NFL Thursday Night Football. Prior to Amazon Matt spent 15 years in the security industry, including time at McAfee, Intel and a few startups, working on enterprise security management, anti-malware and anti-exploit technologies, hardware-assisted security measures, and DRM.\n\n[LinkedIn](https://www.linkedin.com/in/matt-brinkley-1655513/)", "znaku_textu": 884, "slov": 116, "odkazu": 125, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:21", "sha256": "b20eb4371cd659153b708872c95093b466b7e05509e36cebc49b1915e3f7aa61", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://www.linkedin.com/in/matt-brinkley-1655513/", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/authors/sandeep-pokkunuri/", "titulek": "Sandeep Pokkunuri | Builders' Library Author", "h1": "Sandeep Pokkunuri", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/authors/sandeep-pokkunuri/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Sandeep Pokkunuri | Builders' Library Author", "og:updated_time": "2026-08-20T13:33:53.773-0700", "og:url": "https://aws.amazon.com/builders-library/authors/sandeep-pokkunuri/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/authors/", "name": "Authors"}}]}], "drobecky": ["Amazon Builders' Library", "Authors"], "osnova": [{"uroven": 1, "text": "Sandeep Pokkunuri"}, {"uroven": 2, "text": "Sandeep Pokkunuri, Principal Engineer"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nSandeep Pokkunuri\n\n## Sandeep Pokkunuri, Principal Engineer\n\nSandeep Pokkunuri is a Principal Engineer at AWS. Since joining Amazon in 2011, he has worked on multiple services including Amazon DynamoDB and Amazon Simple Queue Service (SQS). He is currently focusing on ML technologies involving human languages (e.g. ASR, NLP, NLU and Machine Translation), and is the lead engineer for Amazon Lex. Before joining AWS, he worked at Google on ML problems such as spam & abusive content detection in social media and anomaly detection in network access logs.\n\n[LinkedIn](https://www.linkedin.com/in/rama-krishna-sandeep-pokkunuri-89294421/)", "znaku_textu": 765, "slov": 101, "odkazu": 125, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:22", "sha256": "99a039f3d00ce2b86ac1d3df1dee4dddee3887814a2d844666695b65f7fad3a7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://www.linkedin.com/in/rama-krishna-sandeep-pokkunuri-89294421/", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/avoiding-fallback-in-distributed-systems/", "titulek": "AWS Builder Center", "h1": "", "popis": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "klicova_slova": "", "kanonicka": "https://builder.aws.com", "jazyk": "en", "robots_meta": "", "og": {"og:title": "AWS Builder Center", "og:description": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "og:image": "https://builder.aws.com/assets/og-hiXAX-on.png", "og:url": "https://builder.aws.com", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "name": "AWS Builder Center", "url": "https://builder.aws.com"}], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://aws.amazon.com/builders-library/", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:41", "sha256": "e89c909ed95c641595db30d9381a6654b36d394e80203544b6393ca83a2beb54", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": []} {"url": "https://aws.amazon.com/builders-library/caching-challenges-and-strategies/", "titulek": "Caching challenges and strategies", "h1": "Caching challenges and strategies", "popis": "Improving latency and availability with caching, while avoiding the modal behavior they can introduce.", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/caching-challenges-and-strategies/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:description": "Improving latency and availability with caching, while avoiding the modal behavior they can introduce.", "og:title": "Caching challenges and strategies", "og:updated_time": "2026-08-20T13:37:46.814-0700", "og:url": "https://aws.amazon.com/builders-library/caching-challenges-and-strategies/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "/developer/", "name": "Developer Center"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "/builders-library/caching-challenges-and-strategies/", "name": "Caching challenges and strategies"}}]}, {"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "The ecstasy and the agony of caches", "acceptedAnswer": {"@type": "Answer", "text": "

Over years of building services at Amazon we’ve experienced various versions of the following scenario: We build a new service, and this service needs to make some network calls to fulfill its requests. Perhaps these calls are to a relational database, or an AWS service like Amazon DynamoDB, or to another internal service. In simple tests or at low request rates the service works great, but we notice a problem on the horizon. The problem might be that calls to this other service are slow or that the database is expensive to scale out as call volume increases. We also notice that many requests are using the same downstream resource or the same query results, so we think that caching this data could be the answer to our problems. We add a cache and our service appears much improved. We observe that request latency is down, costs are reduced, and small downstream availability drops are smoothed over. After a while, no one can remember life before the cache. Dependencies reduce their fleet sizes accordingly, and the database is scaled down. Just when everything appears to be going well, the service could be poised for disaster. There could be changes in traffic patterns, failure of the cache fleet, or other unexpected circumstances that could lead to a cold or otherwise unavailable cache. This in turn could cause a surge of traffic to downstream services that can lead to outages both in our dependencies and in our service.

\n

We’ve just described a service that has become addicted to its cache. The cache has been inadvertently elevated from a helpful addition to the service to a necessary and critical part of its ability to operate. At the heart of this issue is the modal behavior introduced by the cache, with differing behavior depending on whether a given object is cached. An unanticipated shift in the distribution of this modal behavior can potentially lead to disaster.

\n

We have experienced both the benefits and challenges of caching in the course of building and operating services at Amazon. The remainder of this article describes our lessons learned, best practices, and considerations for using caches.

"}}, {"@type": "Question", "name": "When we use caching", "acceptedAnswer": {"@type": "Answer", "text": "

Several factors lead us to consider adding a cache to our system. Many times this begins with an observation about a dependency's latency or efficiency at a given request rate. For example, this could be when we determine that a dependency might start throttling or otherwise be unable to keep up with the anticipated load. We’ve found it helpful to consider caching when we encounter uneven request patterns that lead to hot-key/hot-partition throttling. Data from this dependency is a good candidate for caching if such a cache would have a good cache hit ratio across requests. That is, results of calls to the dependency can be used across multiple requests or operations. If each request typically requires a unique query to the dependent service with unique-per-request results, then a cache would have a negligible hit rate and the cache does no good. A second consideration is how tolerant a team’s service and its clients are to eventual consistency. Cached data necessarily grows inconsistent with the source over time, so caching can only be successful if both the service and its clients compensate accordingly. The rate of change of the source data, as well as the cache policy for refreshing data, will determine how inconsistent the data tends to be. These two are related to each other. For example, relatively static or slow-changing data can be cached for longer periods of time.

"}}, {"@type": "Question", "name": "Local caches", "acceptedAnswer": {"@type": "Answer", "text": "

Service caches can be implemented either in memory or external to the service. On-box caches, commonly implemented in process memory, are relatively quick and easy to implement and can provide significant improvements with minimal work. On-box caches are often the first approach implemented and evaluated once the need for caching is identified. In contrast to external caches, they come with no additional operational overhead, so they are fairly low-risk to integrate into an existing service. We often implement an on-box cache as an in-memory hash table that is managed through application logic (for example, by explicitly placing results into the cache after the service calls are completed) or embedded in the service client (for example, by using a caching HTTP client).

\n

Despite the benefits and seductive simplicity of in-memory caches, they do come with several downsides. One is that the cached data will be inconsistent from server to server across its fleet, manifesting a cache coherence problem. If a client makes repeated calls to the service they might get newer data used in the first call and older data in the second call, depending on which server happens to handle the request.

\n

Another shortcoming is that the downstream load is now proportional to the service's fleet size, so as the number of servers grows it still may be possible to overwhelm dependent services. We’ve found that an effective way to monitor this is to emit metrics on cache hits/misses and the number of requests made to downstream services.

\n

In-memory caches are also susceptible to “cold start” issues. These issues occur where a new server launches with a completely empty cache, which could cause a burst of requests to the dependent service as it fills its cache. This can be a significant issue during deployments or in other circumstances in which the cache is flushed fleet-wide. Cache coherence and empty cache issues can often be addressed by using request coalescing, which is described in detail later in this article.

"}}, {"@type": "Question", "name": "External caches", "acceptedAnswer": {"@type": "Answer", "text": "

External caches can address many of the issues we’ve just discussed. An external cache stores cached data in a separate fleet, for example using Memcached or Redis. Cache coherence issues are reduced because the external cache holds the value used by all servers in the fleet. (Note that these issues aren’t totally eliminated because there might be failure cases when updating the cache.) Overall load on downstream services is reduced compared to in-memory caches and isn’t proportional to fleet size. Cold start issues during events like deployments are not present since the external cache remains populated throughout the deployment. Finally, external caches provide more available storage space than in-memory caches, reducing occurrences of cache eviction due to space constraints.

\n

However, external caches come with their own set of shortcomings to consider. The first is an increased overall system complexity and operational load, since there is an additional fleet to monitor, manage, and scale. The availability characteristics of the cache fleet will be different from the dependent service it is acting as a cache for. The cache fleet can often be less available, for example, if it doesn’t have support for zero-downtime upgrades and if it requires maintenance windows.

\n

To prevent having service availability degraded due to the external cache, we’ve found that we must add service code to deal with cache fleet unavailability, cache node failure, or cache put/get failures. One option is to fall back to calling the dependent service, but we’ve learned that we need to be careful when taking this approach. During an extended cache outage, this will cause an atypical spike in traffic to the downstream service, leading to throttling or brownout of that dependent service and ultimately reducing availability. We prefer to either use the external cache in conjunction with an in-memory cache that we can fall back to if the external cache becomes unavailable, or to use load shedding and cap the maximum rate of requests sent to the downstream service. We test service behavior with caching disabled to validate that the safeguards we’ve put in place to prevent the browning out of dependencies are actually working as expected.

\n

A second consideration is the scaling and elasticity of the cache fleet. As the cache fleet begins to reach its request rate or memory limits, nodes will need to be added. We determine which metrics are leading indicators of these limits so we can set up monitors and alarms accordingly. For example, on a service I recently worked on, our team found that CPU utilization got very high as the Redis request rate reached its limit. We used load testing with realistic traffic patterns to determine the limit and find the right alarm threshold.

\n

As we add capacity to the cache fleet, we take care to do so in a way that doesn't cause an outage or a massive loss of cache data. Different caching technologies have unique considerations. For example, some cache servers don't support adding nodes to a cluster without downtime, and not all cache client libraries provide consistent hashing, which is necessary to add nodes to the cache fleet and redistribute cached data. Due to the variability in client implementations of consistent hashing and the discovery of nodes in the cache fleet, we thoroughly test adding and removing cache servers before going to production.

\n

With an external cache, we take extra care to ensure robustness as the storage format is changed. Cached data is treated as if it were in a persistent store. We ensure that updated software can always read data that a previous version of the software wrote, and that older versions can gracefully handle seeing new formats/fields (for example, during deployments when the fleet has a mix of old and new code). Preventing uncaught exceptions when unexpected formats are encountered is necessary to prevent poison pills. However, this isn’t sufficient to prevent all format-related problems. Detecting a version format mismatch and discarding the cached data can lead to mass refreshes of caches, which can lead to dependent service throttling or brownouts. Serialization format issues are covered in greater depth in the Ensuring rollback safety during deployments article.

\n

A final consideration for external caches is that they are updated by individual nodes in the service fleet. Caches typically don’t have features like conditional puts and transactions, so we take care to ensure that the cache updating code is correct and can never leave the cache in an invalid or inconsistent state.

"}}, {"@type": "Question", "name": "Inline vs. side caches", "acceptedAnswer": {"@type": "Answer", "text": "

Another decision we need to make when we evaluate different caching approaches is the choice between inline and side caches. Inline caches, or read-through/write-through caches, embed cache management into the main data access API, making cache management an implementation detail of that API. Examples include application-specific implementations like Amazon DynamoDB Accelerator (DAX) and standards-based implementations like HTTP caching (either with a local caching client or an external cache server like Nginx or Varnish). Side caches, in contrast, are generic object stores such as the ones provided by Amazon ElastiCache (Memcached and Redis) or libraries like Ehcache and Google Guava for in-memory caches. With side caches, the application code directly manipulates the cache before and after calls to the data source, checking for cached objects before making the downstream calls, and putting objects in the cache after those calls are completed.

\n

The primary benefit of an inline cache is a uniform API model for clients. Caching can be added, removed, or tweaked without any changes to client logic. An inline cache also pulls cache management logic out of application code, thus eliminating a source of potential bugs. HTTP caches are especially attractive because there are numerous off-the-shelf options available, such as in-memory libraries, standalone HTTP proxies like the ones mentioned previously, and managed services like content delivery networks (CDNs).

\n

However, the transparency of inline caches can also be an availability downside. External caches are now part of the availability equation for this dependency. There is no opportunity for the client to compensate for a temporarily unavailable cache. For example, if you have a Varnish fleet that caches requests from an external REST service, then if that caching fleet goes down, from your service's perspective it’s as if the dependency itself went down. The other downside to an inline cache is that it needs to be built into the protocol or service it is caching for. If an inline cache for the protocol isn't available, then this inline caching isn't an option unless you want to build an integrated client or proxy service yourself.

"}}, {"@type": "Question", "name": "Cache expiration", "acceptedAnswer": {"@type": "Answer", "text": "

Some of the most challenging cache implementation details are picking the right cache size, expiration policy, and eviction policy. The expiration policy determines how long to retain an item in the cache. The most common policy uses an absolute time-based expiration (that is, it associates a time to live (TTL) with each object as it is loaded). The TTL is chosen based on client requirements, such as how tolerant the client can be to stale data, and how static the data is, because slowly changing data can be more aggressively cached. The ideal cache size is based on a model of the anticipated volume of requests and the distribution of cached objects across those requests. From that, we estimate a cache size can that ensures a high cache hit rate with these traffic patterns. The eviction policy controls how items are removed from the cache when it reaches capacity. The most common eviction policy is Least Recently Used (LRU).

\n

So far, this is just a thought exercise. Real-world traffic patterns can differ from what we model, so we track the actual performance of our cache. Our preferred way to do this is to emit service metrics on cache hits and misses, total cache size, and number of requests to downstream services.

\n

We have learned that we need to be deliberate about picking the cache size and expiration policy values. We want to avoid the situation where a developer arbitrarily picks some cache size and TTL values during initial implementation and then never goes back and validates their appropriateness at a later time. We have seen real-world examples of this lack of follow through leading to temporary service outages and exacerbation of ongoing outages.

\n

Another pattern we use to improve resiliency when downstream services are unavailable is to use two TTLs: a soft TTL and a hard TTL. The client will attempt to refresh cached items based on the soft TTL, but if the downstream service is unavailable or otherwise doesn’t respond to the request, then the existing cache data will continue to be used until the hard TTL is reached. An example of this pattern is used in the AWS Identity and Access Management (IAM) client.

\n

We also use the soft and hard TTL approach with backpressure to reduce the impact of downstream service brownouts. The downstream service can respond with a backpressure event when it is browning out, which signals that the calling service should use cached data until the hard TTL and only make requests for data that are not in its cache. We continue this until the downstream service removes the backpressure. This pattern allows the downstream service to recover from a brownout while maintaining availability of the upstream services.

"}}, {"@type": "Question", "name": "Other considerations", "acceptedAnswer": {"@type": "Answer", "text": "

An important consideration is what the cache behavior is when errors are received from the downstream service. One option for dealing with this is to reply to clients using the last cached good value, for example leveraging the soft TTL / hard TTL pattern described earlier. Another option we employ is to cache the error response (that is, we use a “negative cache”) using a different TTL than positive cache entries, and propagate the error to the client. The approach we choose in a given situation depends on the particulars of the service and by evaluating when it is better for clients to see stale data versus errors. Regardless of which approach we take, it is important that we ensure something is in the cache in error cases. If this is not the case and the downstream service is temporarily unavailable or otherwise unable to fulfill certain requests (for example when a downstream resource is deleted), the upstream service will continue to bombard it with traffic and potentially either cause an outage or exacerbate an existing one. We have seen real-world examples in which a failure to cache negative responses led to increased failure rates and faults.

\n

Security is another important aspect of caching. When we introduce a cache to a service we evaluate and mitigate any additional security risks it introduces. For example, external caching fleets often lack encryption for serialized data and transport-level security. This is especially important if sensitive user information is retained in the cache. The issue can be mitigated by using something like Amazon ElastiCache for Redis, which supports in-transit and at-rest encryption. Caches are also susceptible to poisoning attacks, in which a vulnerability in the downstream protocol allows an attacker to populate a cache with a value under their control. This amplifies the impact of an attack, since all requests made while this value remains in the cache will see the malicious value. For one final example, caches are also susceptible to side-channel timing attacks. Cached values are returned faster than uncached values, so an attacker can use response time to gain information about requests that other clients or tenets are making.

\n

One final consideration is the “thundering herd” situation, in which many clients make requests that need the same uncached downstream resource at approximately the same time. This can also occur when a server comes up and joins the fleet with an empty local cache. This results in a large number of requests from each server going to the downstream dependency, which can lead to throttling/brownout. To remedy this issue we use request coalescing, where the servers or external cache ensure that only one pending request is out for uncached resources. Some caching libraries provide support for request coalescing, and some external inline caches (such as Nginx or Varnish) do as well. In addition, request coalescing can be implemented on top of existing caches.

"}}, {"@type": "Question", "name": "Amazon best practices and considerations", "acceptedAnswer": {"@type": "Answer", "text": "

This article has touched on several Amazon best practices and the trade-offs and risks associated with caching. Here is a summary of the Amazon best practices and considerations that our teams use when they introduce a cache:

\n \n

Many service teams at Amazon use caching techniques. Despite the benefits of these techniques, we don’t take the decision to incorporate caching lightly because the downsides can often outweigh the upsides. We hope that this article helps you when you evaluate caching in your own services.  

"}}]}, {"@context": "https://schema.org", "@type": "ItemList", "name": "About the authors", "itemListElement": [{"@type": "ListItem", "item": {"@type": "ImageObject", "contentUrl": "https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/product-categories/compute/approved/images/1pp1g136-WEB-Redwood-Author-Portrait-Matt-Brinkley.d55bfc8bcfec2455833d1deef8775b2476823198.png", "name": "Missing alt text value", "description": "Matt Brinkley"}, "position": 1}, {"@type": "ListItem", "item": {"@type": "ImageObject", "contentUrl": "https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/product-categories/developer-tools/approved/images/zavc271d-WEB-Redwood-Author-Portrait-Jas-Chhabra.9cbca348cbeba1534698bd8bdd733a71e706157a.png", "name": "Missing alt text value", "description": "Jas Chhabra"}, "position": 2}]}], "drobecky": ["Developer Center", "Amazon Builders' Library", "Caching challenges and strategies"], "osnova": [{"uroven": 1, "text": "Caching challenges and strategies"}, {"uroven": 2, "text": "The ecstasy and the agony of caches"}, {"uroven": 2, "text": "When we use caching"}, {"uroven": 2, "text": "Local caches"}, {"uroven": 2, "text": "External caches"}, {"uroven": 2, "text": "Inline vs. side caches"}, {"uroven": 2, "text": "Cache expiration"}, {"uroven": 2, "text": "Other considerations"}, {"uroven": 2, "text": "Amazon best practices and considerations"}, {"uroven": 2, "text": "About the authors"}, {"uroven": 3, "text": "Matt Brinkley"}, {"uroven": 3, "text": "Jas Chhabra"}, {"uroven": 2, "text": "Related content"}, {"uroven": 2, "text": "Did you find what you were looking for today?"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nCaching challenges and strategies Architecture | LEVEL 300\n\n- The ecstasy and the agony of caches\n- When we use caching\n- Local caches\n- External caches\n- Inline vs. side caches\n- Cache expiration\n- Other considerations\n- Amazon best practices and considerations\n\n## The ecstasy and the agony of caches\n\nOver years of building services at Amazon we’ve experienced various versions of the following scenario: We build a new service, and this service needs to make some network calls to fulfill its requests. Perhaps these calls are to a relational database, or an AWS service like Amazon DynamoDB, or to another internal service. In simple tests or at low request rates the service works great, but we notice a problem on the horizon. The problem might be that calls to this other service are slow or that the database is expensive to scale out as call volume increases. We also notice that many requests are using the same downstream resource or the same query results, so we think that caching this data could be the answer to our problems. We add a cache and our service appears much improved. We observe that request latency is down, costs are reduced, and small downstream availability drops are smoothed over. After a while, no one can remember life before the cache. Dependencies reduce their fleet sizes accordingly, and the database is scaled down. Just when everything appears to be going well, the service could be poised for disaster. There could be changes in traffic patterns, failure of the cache fleet, or other unexpected circumstances that could lead to a cold or otherwise unavailable cache. This in turn could cause a surge of traffic to downstream services that can lead to outages both in our dependencies and in our service.\n\nWe’ve just described a service that has become addicted to its cache. The cache has been inadvertently elevated from a helpful addition to the service to a necessary and critical part of its ability to operate. At the heart of this issue is the modal behavior introduced by the cache, with differing behavior depending on whether a given object is cached. An unanticipated shift in the distribution of this modal behavior can potentially lead to disaster.\n\nWe have experienced both the benefits and challenges of caching in the course of building and operating services at Amazon. The remainder of this article describes our lessons learned, best practices, and considerations for using caches.\n\n## When we use caching\n\nSeveral factors lead us to consider adding a cache to our system. Many times this begins with an observation about a dependency's latency or efficiency at a given request rate. For example, this could be when we determine that a dependency might start throttling or otherwise be unable to keep up with the anticipated load. We’ve found it helpful to consider caching when we encounter uneven request patterns that lead to hot-key/hot-partition throttling. Data from this dependency is a good candidate for caching if such a cache would have a good cache hit ratio across requests. That is, results of calls to the dependency can be used across multiple requests or operations. If each request typically requires a unique query to the dependent service with unique-per-request results, then a cache would have a negligible hit rate and the cache does no good. A second consideration is how tolerant a team’s service and its clients are to eventual consistency. Cached data necessarily grows inconsistent with the source over time, so caching can only be successful if both the service and its clients compensate accordingly. The rate of change of the source data, as well as the cache policy for refreshing data, will determine how inconsistent the data tends to be. These two are related to each other. For example, relatively static or slow-changing data can be cached for longer periods of time.\n\n## Local caches\n\nService caches can be implemented either in memory or external to the service. On-box caches, commonly implemented in process memory, are relatively quick and easy to implement and can provide significant improvements with minimal work. On-box caches are often the first approach implemented and evaluated once the need for caching is identified. In contrast to external caches, they come with no additional operational overhead, so they are fairly low-risk to integrate into an existing service. We often implement an on-box cache as an in-memory hash table that is managed through application logic (for example, by explicitly placing results into the cache after the service calls are completed) or embedded in the service client (for example, by using a caching HTTP client).\n\nDespite the benefits and seductive simplicity of in-memory caches, they do come with several downsides. One is that the cached data will be inconsistent from server to server across its fleet, manifesting a cache coherence problem. If a client makes repeated calls to the service they might get newer data used in the first call and older data in the second call, depending on which server happens to handle the request.\n\nAnother shortcoming is that the downstream load is now proportional to the service's fleet size, so as the number of servers grows it still may be possible to overwhelm dependent services. We’ve found that an effective way to monitor this is to emit metrics on cache hits/misses and the number of requests made to downstream services.\n\nIn-memory caches are also susceptible to “cold start” issues. These issues occur where a new server launches with a completely empty cache, which could cause a burst of requests to the dependent service as it fills its cache. This can be a significant issue during deployments or in other circumstances in which the cache is flushed fleet-wide. Cache coherence and empty cache issues can often be addressed by using request coalescing, which is described in detail later in this article.\n\n## External caches\n\nExternal caches can address many of the issues we’ve just discussed. An *external cache* stores cached data in a separate fleet, for example using Memcached or Redis. Cache coherence issues are reduced because the external cache holds the value used by all servers in the fleet. (Note that these issues aren’t totally eliminated because there might be failure cases when updating the cache.) Overall load on downstream services is reduced compared to in-memory caches and isn’t proportional to fleet size. Cold start issues during events like deployments are not present since the external cache remains populated throughout the deployment. Finally, external caches provide more available storage space than in-memory caches, reducing occurrences of cache eviction due to space constraints.\n\nHowever, external caches come with their own set of shortcomings to consider. The first is an increased overall system complexity and operational load, since there is an additional fleet to monitor, manage, and scale. The availability characteristics of the cache fleet will be different from the dependent service it is acting as a cache for. The cache fleet can often be less available, for example, if it doesn’t have support for zero-downtime upgrades and if it requires maintenance windows.\n\nTo prevent having service availability degraded due to the external cache, we’ve found that we must add service code to deal with cache fleet unavailability, cache node failure, or cache put/get failures. One option is to fall back to calling the dependent service, but we’ve learned that we need to be careful when taking this approach. During an extended cache outage, this will cause an atypical spike in traffic to the downstream service, leading to throttling or brownout of that dependent service and ultimately reducing availability. We prefer to either use the external cache in conjunction with an in-memory cache that we can fall back to if the external cache becomes unavailable, or to use [load shedding](/builders-library/using-load-shedding-to-avoid-overload/) and cap the maximum rate of requests sent to the downstream service. We test service behavior with caching disabled to validate that the safeguards we’ve put in place to prevent the browning out of dependencies are actually working as expected.\n\nA second consideration is the scaling and elasticity of the cache fleet. As the cache fleet begins to reach its request rate or memory limits, nodes will need to be added. We determine which metrics are leading indicators of these limits so we can set up monitors and alarms accordingly. For example, on a service I recently worked on, our team found that CPU utilization got very high as the Redis request rate reached its limit. We used load testing with realistic traffic patterns to determine the limit and find the right alarm threshold.\n\nAs we add capacity to the cache fleet, we take care to do so in a way that doesn't cause an outage or a massive loss of cache data. Different caching technologies have unique considerations. For example, some cache servers don't support adding nodes to a cluster without downtime, and not all cache client libraries provide consistent hashing, which is necessary to add nodes to the cache fleet and redistribute cached data. Due to the variability in client implementations of consistent hashing and the discovery of nodes in the cache fleet, we thoroughly test adding and removing cache servers before going to production.\n\nWith an external cache, we take extra care to ensure robustness as the storage format is changed. Cached data is treated as if it were in a persistent store. We ensure that updated software can always read data that a previous version of the software wrote, and that older versions can gracefully handle seeing new formats/fields (for example, during deployments when the fleet has a mix of old and new code). Preventing uncaught exceptions when unexpected formats are encountered is necessary to prevent poison pills. However, this isn’t sufficient to prevent all format-related problems. Detecting a version format mismatch and discarding the cached data can lead to mass refreshes of caches, which can lead to dependent service throttling or brownouts. Serialization format issues are covered in greater depth in the [Ensuring rollback safety during deployments article](/builders-library/ensuring-rollback-safety-during-deployments/).\n\nA final consideration for external caches is that they are updated by individual nodes in the service fleet. Caches typically don’t have features like conditional puts and transactions, so we take care to ensure that the cache updating code is correct and can never leave the cache in an invalid or inconsistent state.\n\n## Inline vs. side caches\n\nAnother decision we need to make when we evaluate different caching approaches is the choice between inline and side caches. *Inline caches*, or read-through/write-through caches, embed cache management into the main data access API, making cache management an implementation detail of that API. Examples include application-specific implementations like Amazon DynamoDB Accelerator (DAX) and standards-based implementations like HTTP caching (either with a local caching client or an external cache server like Nginx or Varnish). *Side caches*, in contrast, are generic object stores such as the ones provided by Amazon ElastiCache (Memcached and Redis) or libraries like Ehcache and Google Guava for in-memory caches. With side caches, the application code directly manipulates the cache before and after calls to the data source, checking for cached objects before making the downstream calls, and putting objects in the cache after those calls are completed.\n\nThe primary benefit of an inline cache is a uniform API model for clients. Caching can be added, removed, or tweaked without any changes to client logic. An inline cache also pulls cache management logic out of application code, thus eliminating a source of potential bugs. HTTP caches are especially attractive because there are numerous off-the-shelf options available, such as in-memory libraries, standalone HTTP proxies like the ones mentioned previously, and managed services like content delivery networks (CDNs).\n\nHowever, the transparency of inline caches can also be an availability downside. External caches are now part of the availability equation for this dependency. There is no opportunity for the client to compensate for a temporarily unavailable cache. For example, if you have a Varnish fleet that caches requests from an external REST service, then if that caching fleet goes down, from your service's perspective it’s as if the dependency itself went down. The other downside to an inline cache is that it needs to be built into the protocol or service it is caching for. If an inline cache for the protocol isn't available, then this inline caching isn't an option unless you want to build an integrated client or proxy service yourself.\n\n## Cache expiration\n\nSome of the most challenging cache implementation details are picking the right cache size, expiration policy, and eviction policy. The expiration policy determines how long to retain an item in the cache. The most common policy uses an absolute time-based expiration (that is, it associates a time to live (TTL) with each object as it is loaded). The TTL is chosen based on client requirements, such as how tolerant the client can be to stale data, and how static the data is, because slowly changing data can be more aggressively cached. The ideal cache size is based on a model of the anticipated volume of requests and the distribution of cached objects across those requests. From that, we estimate a cache size can that ensures a high cache hit rate with these traffic patterns. The eviction policy controls how items are removed from the cache when it reaches capacity. The most common eviction policy is Least Recently Used (LRU).\n\nSo far, this is just a thought exercise. Real-world traffic patterns can differ from what we model, so we track the actual performance of our cache. Our preferred way to do this is to emit service metrics on cache hits and misses, total cache size, and number of requests to downstream services.\n\nWe have learned that we need to be deliberate about picking the cache size and expiration policy values. We want to avoid the situation where a developer arbitrarily picks some cache size and TTL values during initial implementation and then never goes back and validates their appropriateness at a later time. We have seen real-world examples of this lack of follow through leading to temporary service outages and exacerbation of ongoing outages.\n\nAnother pattern we use to improve resiliency when downstream services are unavailable is to use two TTLs: a soft TTL and a hard TTL. The client will attempt to refresh cached items based on the soft TTL, but if the downstream service is unavailable or otherwise doesn’t respond to the request, then the existing cache data will continue to be used until the hard TTL is reached. An example of this pattern is used in the AWS Identity and Access Management (IAM) client.\n\nWe also use the soft and hard TTL approach with backpressure to reduce the impact of downstream service brownouts. The downstream service can respond with a backpressure event when it is browning out, which signals that the calling service should use cached data until the hard TTL and only make requests for data that are not in its cache. We continue this until the downstream service removes the backpressure. This pattern allows the downstream service to recover from a brownout while maintaining availability of the upstream services.\n\n## Other considerations\n\nAn important consideration is what the cache behavior is when errors are received from the downstream service. One option for dealing with this is to reply to clients using the last cached good value, for example leveraging the soft TTL / hard TTL pattern described earlier. Another option we employ is to cache the error response (that is, we use a “negative cache”) using a different TTL than positive cache entries, and propagate the error to the client. The approach we choose in a given situation depends on the particulars of the service and by evaluating when it is better for clients to see stale data versus errors. Regardless of which approach we take, it is important that we ensure something is in the cache in error cases. If this is not the case and the downstream service is temporarily unavailable or otherwise unable to fulfill certain requests (for example when a downstream resource is deleted), the upstream service will continue to bombard it with traffic and potentially either cause an outage or exacerbate an existing one. We have seen real-world examples in which a failure to cache negative responses led to increased failure rates and faults.\n\nSecurity is another important aspect of caching. When we introduce a cache to a service we evaluate and mitigate any additional security risks it introduces. For example, external caching fleets often lack encryption for serialized data and transport-level security. This is especially important if sensitive user information is retained in the cache. The issue can be mitigated by using something like Amazon ElastiCache for Redis, which supports in-transit and at-rest encryption. Caches are also susceptible to poisoning attacks, in which a vulnerability in the downstream protocol allows an attacker to populate a cache with a value under their control. This amplifies the impact of an attack, since all requests made while this value remains in the cache will see the malicious value. For one final example, caches are also susceptible to side-channel timing attacks. Cached values are returned faster than uncached values, so an attacker can use response time to gain information about requests that other clients or tenets are making.\n\nOne final consideration is the “thundering herd” situation, in which many clients make requests that need the same uncached downstream resource at approximately the same time. This can also occur when a server comes up and joins the fleet with an empty local cache. This results in a large number of requests from each server going to the downstream dependency, which can lead to throttling/brownout. To remedy this issue we use request coalescing, where the servers or external cache ensure that only one pending request is out for uncached resources. Some caching libraries provide support for *request coalescing*, and some external inline caches (such as Nginx or Varnish) do as well. In addition, request coalescing can be implemented on top of existing caches.\n\n## Amazon best practices and considerations\n\nThis article has touched on several Amazon best practices and the trade-offs and risks associated with caching. Here is a summary of the Amazon best practices and considerations that our teams use when they introduce a cache:\n\n- Make sure there is a legitimate need for a cache that is justified in terms of cost, latency, and/or availability improvements. Ensure that the data is cacheable, which means that it can be used across multiple client requests. Be skeptical of the value a cache will bring, and carefully evaluate that the benefits will outweigh the added risks that the cache introduces.\n- Plan to operate the cache with the same rigor and processes used for the rest of the service fleet and infrastructure. Don’t underestimate this effort. Emit metrics on cache utilization and hit rate to ensure the cache is tuned appropriately. Monitor key indicators (such as CPU and memory) to ensure that the external caching fleet is healthy and scaled appropriately. Set up alarms on these metrics. Make sure the caching fleet can be scaled up without downtime or mass cache invalidation (that is, validate that consistent hashing is working as expected.)\n- Be deliberate and empirical in the choice of cache size, expiration policy, and eviction policy. Perform tests and use the metrics mentioned in the previous bullet to validate and tune these choices.\n- Ensure that your service is resilient in the face of cache non-availability, which includes a variety of circumstances that lead to the inability to serve requests using cached data. These include cold starts, caching fleet outages, changes in traffic patterns, or extended downstream outages. In many cases, this could mean trading some of your availability to ensure that your servers and your dependent services don’t brown out (for example by shedding load, capping requests to dependent services, or serving stale data). Run load tests with caches disabled to validate this.\n- Consider the security aspects of maintaining cached data, including encryption, transport security when communicating with an external caching fleet, and the impact of cache poisoning attacks and side-channel attacks.\n- Design the storage format for cached objects to evolve over time (for example, use a version number) and write serialization code capable of reading older versions. Beware of poison pills in your cache serialization logic.\n- Evaluate how the cache will handle downstream errors, and consider maintaining a negative cache with a distinct TTL. Don’t cause or amplify an outage by repeatedly asking for the same downstream resource and discarding the error responses.\n\nMany service teams at Amazon use caching techniques. Despite the benefits of these techniques, we don’t take the decision to incorporate caching lightly because the downsides can often outweigh the upsides. We hope that this article helps you when you evaluate caching in your own services.\n\n## About the authors\n\n### Matt Brinkley\n\nMatt is a Principal Engineer in Emerging Devices at Amazon, where he works on the software and services for upcoming consumer devices. Previously he worked in AWS Elemental, leading the team that launched MediaTailor, a server-side personalized adinsertion service for live and on-demand video. Along the way he helped launch PrimeVideo’s first season streaming NFL Thursday Night Football. Prior to Amazon, Matt spent 15 years in the security industry, including time at McAfee, Intel and a few startups, working on enterprise security management, anti-malware and anti-exploit technologies, hardware-assisted security measures, and DRM.\n\n[Read more](/builders-library/authors/matt-brinkley/)\n\n### Jas Chhabra\n\nJas Chhabra is a Principal Engineer at AWS. He joined AWS in 2016 and worked on AWS IAM for a couple of years before moving into his current role at AWS Machine Learning. Before AWS, he worked at Intel in various technical roles in IoT, identity, and security areas. Current interests are Machine learning, security, and large-scale distributed systems. Past interests include IoT, bitcoins, identity, and cryptography. He has a Masters in Computer Science.\n\n[Read more](/builders-library/authors/jas-chhabra/)\n\n## Related content\n\n[Avoiding fallback in distributed systems](/builders-library/avoiding-fallback-in-distributed-systems/)\n[Using load shedding to avoid overload](/builders-library/using-load-shedding-to-avoid-overload/)\n[Ensuring rollback safety during deployments](/builders-library/ensuring-rollback-safety-during-deployments/)\n\n## Did you find what you were looking for today?\n\nLet us know so we can improve the quality of the content on our pages", "znaku_textu": 23427, "slov": 3762, "odkazu": 137, "kodovani": "windows-1250", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:23", "sha256": "96b1b718cb36d7137a5987aa4da4439f37a59ef9afc8ff74fcc147df0ff8edef", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/ensuring-rollback-safety-during-deployments/", "titulek": "AWS Builder Center", "h1": "", "popis": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "klicova_slova": "", "kanonicka": "https://builder.aws.com", "jazyk": "en", "robots_meta": "", "og": {"og:title": "AWS Builder Center", "og:description": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "og:image": "https://builder.aws.com/assets/og-hiXAX-on.png", "og:url": "https://builder.aws.com", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "name": "AWS Builder Center", "url": "https://builder.aws.com"}], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://aws.amazon.com/builders-library/", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:37", "sha256": "e89c909ed95c641595db30d9381a6654b36d394e80203544b6393ca83a2beb54", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": []} {"url": "https://aws.amazon.com/builders-library/faqs/", "titulek": "The Amazon Builders’ Library FAQs", "h1": "Amazon Builders' Library FAQs", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/faqs/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "Builders’ Library FAQs", "og:updated_time": "2026-08-20T13:31:41.807-0700", "og:url": "https://aws.amazon.com/builders-library/faqs/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/faqs/", "name": "FAQs"}}]}, {"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "Q: What is The Amazon Builders’ Library?", "acceptedAnswer": {"@type": "Answer", "text": "

The Amazon Builders’ Library is a collection of living articles that describe how Amazon develops, architects, releases, and operates technology. The content in The Builders’ Library is written by Amazon’s senior technical leaders and engineers covering topics across architecture, software delivery, and operations. For example, readers can see how Amazon automates software delivery to achieve over 150 million deployments a year or how Amazon’s engineers implement principles such as shuffle sharding to build resilient systems that are highly available and fault tolerant.

"}}, {"@type": "Question", "name": "Q: Why should I read The Builders’ Library?", "acceptedAnswer": {"@type": "Answer", "text": "

The Builders’ Library provides readers with a detailed description of how Amazon builds and operates technology. The Builders’ Library is grounded in real-world practices used by Amazon every day. Anyone can use The Builders’ Library as a reference to understand Amazon’s approach to developing, architecting, releasing, and operating services.

"}}, {"@type": "Question", "name": "Q: Is there a “right way” to build software?", "acceptedAnswer": {"@type": "Answer", "text": "

We do not believe there is one right way to build software. The Builders’ Library describes Amazon’s current best practices. What works for Amazon may not be ideal for every company or situation. Even within Amazon, teams implement different optimal practices based on the situation, constraints, and the needs of their customers. Technology is constantly changing and what is a best practice today may not be the best practice tomorrow.

"}}, {"@type": "Question", "name": "Q: How much does access to The Builders’ Library cost? Do I need an\r\n AWS account?", "acceptedAnswer": {"@type": "Answer", "text": "

The Builders’ Library is free and accessible to anyone with an internet connection–no AWS account is needed.

"}}, {"@type": "Question", "name": "Q: What’s the difference between 200, 300, and 400 level content?", "acceptedAnswer": {"@type": "Answer", "text": "

Content is labeled based on the depth of specificity. The 200 level means it is high-level content with the purpose of explaining how several concepts fit within a broader topic area. Typically, there will be links to other content that provides more specificity within the topics. By contrast, 400-level content dives deep into the details of a single topic. The 300-level content represents a balance between 200- and 400-level content, with most concepts being fully explained, but with some opportunity to dive deeper into sub-topics.

"}}, {"@type": "Question", "name": "Q: Who are the content authors?", "acceptedAnswer": {"@type": "Answer", "text": "

The Builders’ Library topics are written by Amazon’s senior engineers and technical executives with years of experience on the topic. Each article contains a byline and a link to more information about the author.

"}}, {"@type": "Question", "name": "Q: How can I have further discussions with Amazon or other members\r\n of the community?", "acceptedAnswer": {"@type": "Answer", "text": "

We will be holding interactive sessions with The Builders’ Library authors and the community. Subscribe to our mailing list to hear about upcoming community events.

"}}, {"@type": "Question", "name": "Q: Will there be more The Builders’ Library content in the future?", "acceptedAnswer": {"@type": "Answer", "text": "

Yes. We will continue to release new content regularly.

"}}]}], "drobecky": ["Amazon Builders' Library", "FAQs"], "osnova": [{"uroven": 1, "text": "Amazon Builders' Library FAQs"}, {"uroven": 2, "text": "General"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nAmazon Builders' Library FAQs\n\n- General 13\n\n## General\n\nOpen all", "znaku_textu": 192, "slov": 19, "odkazu": 125, "kodovani": "windows-1250", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:23", "sha256": "c2f5466d30b9c98cf14350a1142703379c9f9c809650afa02deb4b00576a7282", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/", "titulek": "references-details-empty", "h1": "Making retries safe with idempotent APIs", "popis": "", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:title": "references-details-empty", "og:updated_time": "2026-08-20T13:40:09.773-0700", "og:url": "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/", "og:locale": "en_US"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "https://aws.amazon.com/", "name": "AWS"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "https://builder.aws.com/learn/topics/builders-library", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/", "name": "Making retries safe with idempotent APIs"}}]}, {"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "Introduction", "acceptedAnswer": {"@type": "Answer", "text": "

By Malcolm Featonby | PDF

\n

At Amazon, we often see patterns in our services in which a complex operation is decomposed into a controlling process making calls to a number of smaller services, each responsible for one part of the overall workflow. For example, consider the launch of an Amazon Elastic Compute Cloud (EC2) instance. “Under the hood” this involves calls to services responsible for making placement decisions, creating Amazon Elastic Block Store (EBS) volumes, creating elastic network Interfaces, and provisioning a virtual machine (VM). On occasion, one or more of these service calls might fail. To deliver a good customer experience we want to drive this workflow to success. To achieve this, we look to the controlling process to shepherd all decomposed services into a known good state.

\n

We’ve found that in many cases the simplest solution is the best solution. In the scenario I just described, it would be best to simply retry these calls until they succeed. Interestingly, as Marc Brooker explains in the article Timeouts, retries, and backoff with jitter, a surprisingly large number of transient or random faults can be overcome by simply retrying the call. As simple as it seems, this pattern has proven so effective that we have baked default retry behavior into some of our AWS SDK implementations. These implementations automatically retry requests that fail as a result of network IO issues, server-side fault, or service rate limiting. Being able to simply retry requests reduces the number of edge cases that need to be dealt with by the client. As a result, it reduces the amount of undifferentiated boilerplate code needed in calling services. Undifferentiated boilerplate code in this context refers to the code needed to wrap service calls to remote services to handle various fault scenarios that might arise.

\n

However, retrying a service call as mitigation for a transient fault is based on a simplifying assumption that an operation can be retried without any side effects. Put another way, we want to make sure that the result of the call happens only once, even if we need to make that call multiple times as part of our retry loop. Going back to our earlier example, it would be undesirable for the EC2 instance launch workflow to retry a failed call to create an EBS volume and end up with two EBS volumes. In this article, we discuss how AWS leverages idempotent API operations to mitigate some of the potential undesirable side effects of retrying in order to deliver a more robust service while still leveraging the benefits of retries to simplifying client-side code.

"}}, {"@type": "Question", "name": "Retrying and side effects", "acceptedAnswer": {"@type": "Answer", "text": "

Retrying and the potential for undesirable side effects

\n

To dive into this more deeply let’s consider a hypothetical scenario where a customer is using the Amazon EC2 RunInstances API operation. In our scenario, our customer wants to run a singleton workload, which is a workload that requires “at most one” EC2 instance running at any time. To achieve this, our customer’s provisioning process asks Amazon EC2 to launch this new workload. However, for some reason, perhaps due to a network timeout, the provisioning process receives no response.

\n\n

This leaves the provisioning process with a dilemma. It’s not clear whether the singleton workload is running or not. Simply retrying the request could result in multiple workloads, which could have dire consequences. To overcome this dilemma the provisioning process has to perform a reconciliation to determine whether this workload is running or not. This is a lot of heavy lifting to compensate for an edge case that might happen relatively infrequently. In addition, even in the case of a reconciliation workflow, there might still be some uncertainty. What if the resource is there but created by another provisioning process? In the simple case that might be fine, but in more complex scenarios it might be important to know whether the resource was created by this process or another process.

"}}, {"@type": "Question", "name": "Reducing client complexity", "acceptedAnswer": {"@type": "Answer", "text": "

Reducing client complexity with idempotent API design

\n

To allow callers to retry these kinds of operations we need to make them idempotent. An idempotent operation is one where a request can be retransmitted or retried with no additional side effects, a property that is very beneficial in distributed systems.

\n

We can significantly simplify client code by delivering a contract that allows the client to make a simplifying assumption that any error that isn’t a validation error can be overcome by retrying the request until it succeeds. However, this introduces some additional complexity to service implementation. In a distributed system with many clients making many calls and with many requests in flight, the challenge is how do we identify that a request is a repeat of some previous request?

\n

Many approaches could be used to infer whether a request is a duplicate of an earlier request. For example, it might be possible to derive a synthetic token based on the parameters in the request. You could derive a hash of the parameters present and assume that any request from the same caller with identical parameters is a duplicate. On the surface, this seems to simplify both the customer experience and the service implementation. Any request that looks exactly like a previous request is considered a duplicate. However, we have found that this approach doesn’t work in all cases. For example, it might be reasonable to assume that two exact duplicate requests from the same caller to create an Amazon DynamoDB table received very close together in time are duplicates of the same request. However, if those requests were for launching an Amazon EC2 instance, then our assumption might not hold. It’s possible that the caller actually wants two identical EC2 instances.

\n

At Amazon, our preferred approach is to incorporate a unique caller-provided client request identifier into our API contract. Requests from the same caller with the same client request identifier can be considered duplicate requests and can be dealt with accordingly. By allowing customers to clearly express intent through API semantics we want to reduce the potential for unexpected outcomes for the customer. A unique caller-provided client request identifier for idempotent operations meets this need. It also has the benefit of making that intent readily auditable because the unique identifier is present in logs like AWS CloudTrail. Furthermore, by labeling the created resource with the unique client request identifier, customers are able to identify resources created by any given request. A concrete example of this can be seen in the Amazon EC2 DescribeInstances response, which shows the unique identifier used to create the EC2 instance. (In the Amazon EC2 API the unique client request identifier is called the ClientToken).

\n

The following diagram shows a sample request/response flow that uses a unique client request identifier in an idempotent retry scenario:

\n

\"\"

\n

In this example, a customer requests the creation of a resource that presents a unique client request identifier. On receiving the request, the service first checks to see if it has seen this identifier before. If it has not, it starts to process the request. It creates an idempotent “session” for this request keyed off the customer identifier and their unique client request identifier. If a subsequent request is received from the same customer with the same unique client request identifier then the service knows it has already seen this request and can take appropriate action. An important consideration is that the process that combines recording the idempotent token and all mutating operations related to servicing the request must meet the properties for an atomic, consistent, isolated, and durable (ACID) operation. An ACID server-side operation needs to be an “all or nothing” or atomic process. This ensures that we avoid situations where we could potentially record the idempotent token and fail to create some resources or, alternatively, create the resources and fail to record the idempotent token.

\n

The previous diagram shows the preparation of a semantically equivalent response in cases where the request has already been seen. It could be argued that this is not required to meet the letter of the law for an operation to be idempotent. Consider the case where a hypothetical CreateResource operation is called with the unique request identifier123. If the first request is received and processed but the response never makes it back to the caller then the caller will retry the request with identifier 123. However, the resource might now have been created as part of the initial request. One possible response to this request is to return a ResourceAlreadyExists return code. This meets the basic tenets for idempotency because there is no side effect for retrying the call. However, this leads to uncertainty from the perspective of the caller because it’s not clear whether the resource was created as a result of this request or the resource was created as the result of an earlier request. It also makes introducing retry as the default behavior a little more challenging. This is because, although the request had no side effects, the subsequent retry and resultant return code will likely change the flow of execution for the caller. Now the caller needs to deal with the resource already existing even in cases where (from their perspective) it did not exist before they made the call. In this scenario, although there is no side effect from the service perspective, returning ResourceAlreadyExists has a side effect from the client’s perspective.

"}}, {"@type": "Question", "name": "Retries and semantic equivalence", "acceptedAnswer": {"@type": "Answer", "text": "

Semantic equivalence and support for default retry strategies

\n

An alternative is to deliver a semantically equivalent response in every case for the same unique request identifier for some interval. This means that any subsequent response to a retry request from the same caller with the same unique client request identifier will have the same meaning as the first response returned for the first successful request. This approach has some really useful properties—especially where we want to improve the customer experience by safely and simply retrying operations that experience server-side faults, just as we do with the AWS SDK through default retry policies.

\n

We can see an example of idempotency with semantically equivalent responses and automated retry logic in action when we use the Amazon EC2 RunInstances API operation and the AWS Command Line Interface (CLI). Note that the AWS CLI (like the AWS SDK) supports a default retry policy, which we are using here. In this example, we launch an EC2 instance using the following AWS CLI command:

\n
\n$ aws ec2 run-instances --image-id ami-04fcd96153cb57194 --instance-type t2.micro  \n
\n
\n{ \n
\n
\n    \"Instances\": [ \n
\n
\n     { \n
\n
\n        \"Monitoring\": { \n
\n
\n            \"State\": \"disabled\"\n
\n
\n        },\n
\n
\n        \"StateReason\": {\n
\n
\n             \"Message\": \"pending\",\n
\n
\n             \"Code\": \"pending\"\n
\n
\n        },\n
\n
\n        \"State\": {\n
\n
\n              \"Code\": 0\n
\n
\n              \"Name\": \"pending\"\n
\n
\n         },\n
\n
\n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\",\n
\n
\n        \"ImageId\": \"ami-04fcd96153cb57194\",         \n
\n
\n        â€Ś\n
\n
\n        \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\",\n
\n
\n        â€Ś                                                                                                                                                                                                                                       \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\",                                                                                                                                                                                                                           …                                                                                                                                                                                                                                                                                    \"Instances\": [                                                                                                                                                                                                                                                                       {                                                                                                                                                                                                                                                                                    \"Monitoring\": {                                                                                                                                                                                                                                                                      \"State\": \"disabled\"                                                                                                                                                                                                                                                          },                                                                                                                                                                                                                                                                               \"StateReason\": {                                                                                                                                                                                                                                                                     \"Message\": \"pending\",                                                                                                                                                                                                                                                            \"Code\": \"pending\"                                                                                                                                                                                                                                                            },                                                                                                                                                                                                                                                                               \"State\": {                                                                                                                                                                                                                                                                           \"Code\": 0,                                                                                                                                                                                                                                                                       \"Name\": \"pending\"                                                                                                                                                                                                                                                            },                                                                                                                                                                                                                                                                               \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\",                                                                                                                                                                                                                                             \"ImageId\": \"ami-04fcd96153cb57194\",             …                                                                                                                                                                                                                                              \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\",                                                                                                                                                                                                                           …\n
\n

In many AWS API operations, the unique client request identifier is modeled by the ClientToken field. Note that we didn’t provide a unique client request identifier in our request. The ClientToken property in the response is echoed back by the remote service. This is because the AWS CLI will generate a unique ID for the request if an identifier is not provided, which allows retries to happen “under the hood” in the event of a transient upstream service fault. An example of what a retried request/response might look like can be simulated by waiting a few minutes and then making another request using the AWS CLI and the same ClientToken that was returned in the previous request. It’s important to note that the response returned is very similar but not identical to the first response:

\n
\n$ aws ec2 run-instances --image-id ami-04fcd96153cb57194 --instance-type t2.micro \n
\n
\n--client-token eb3c3141-a229-4ca0-b005-eb922e2cabdc \n
\n
\n{ \n
\n
\n    \"Instances\": [ \n
\n
\n        { \n
\n
\n            \"Monitoring\": { \n
\n
\n                \"State\": \"disabled\" \n
\n
\n            }, \n
\n
\n            \"StateReason\": { \n
\n
\n                \"Message\": \"running\",  Now running \n
\n
\n                \"Code\": \"running\"  Now running \n
\n
\n            }, \n
\n
\n            \"State\": { \n
\n
\n                \"Code\": 16,  Now running status code \n
\n
\n                \"Name\": \"running\"  Now running \n
\n
\n        }, \n
\n
\n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \n
\n
\n        \"ImageId\": \"ami-04fcd96153cb57194\", \n
\n
\n        â€Ś \n
\n
\n        \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\", \n
\n
\n        â€Ś                                                                                                                                                                                                                                       \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\",                                                                                                                                                                                                                           …\n
\n

The AWS SDK and AWS CLI leverage this behavior whenever it’s available to simplify the experience of the customer using these tools. Our SDK and CLI are aware of which operations support an idempotent contract, and they will generate a unique client request identifier and add it to the request if one is not provided by the caller. This generated identifier is then reused in the event of a retry, thus ensuring we meet the “at most once” commitment for the request. Because the response (even on a retry) is semantically equivalent, the calling client code can be completely unaware of any retries that happen within the SDK code and simply deal with the response when it is received.

"}}, {"@type": "Question", "name": "Late arriving requests", "acceptedAnswer": {"@type": "Answer", "text": "

Late arriving requests and the life span of unique client request identifiers

\n

An interesting edge case with idempotent solutions in distributed systems can occur when requests arrive late. Consider the hypothetical situation where we have two actors in a service and a scenario where the client creating the resource retries the operation and the subsequent request is delayed. In the interim a second actor deletes the resource:

\n

\n

The best way to deal with this scenario can vary from service to service. The approach we have taken for EC2 RunInstances is to honor the initial idempotent contract even in the scenario we just described. In this situation we hold with the principle of least astonishment. This means that a semantically equivalent response, even in cases where the resource has been deleted, is the least surprising approach that still delivers a consistent experience when using tools like the AWS SDK and AWS CLI.

\n

Building on our earlier EC2 instance launch example, we can model this edge case by terminating the EC2 instance that we previously launched:

\n
\n$ aws ec2 terminate-instances --instance-ids i-xxxxxxxxxxxxxxxxx  \n
\n
\n{\n
\n
\n    \"TerminatingInstances\": [ \n
\n
\n    { \n
\n
\n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \n
\n
\n        \"CurrentState\": {\n
\n
\n            \"Code\": 32, \n
\n
\n            \"Name\": \"shutting-down\" \n
\n
\n        }, \n
\n
\n        \"PreviousState\": { \n
\n
\n            \"Code\": 16, \n
\n
\n            \"Name\": \"running\" \n        } \n
\n
\n      } \n
\n
\n    ] \n
\n
\n}                                                                                                                                                                                                                                                                                \"TerminatingInstances\": [                                                                                                                                                                                                                                                            {                                                                                                                                                                                                                                                                                    \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\",                                                                                                                                                                                                                                             \"CurrentState\": {                                                                                                                                                                                                                                                                    \"Code\": 32,                                                                                                                                                                                                                                                                      \"Name\": \"shutting-down\"                                                                                                                                                                                                                                                      },                                                                                                                                                                                                                                                                               \"PreviousState\": {                                                                                                                                                                                                                                                                   \"Code\": 16,                                                                                                                                                                                                                                                                      \"Name\": \"running\"                                                                                                                                                                                                                                                            }                                                                                                                                                                                                                                                                            }                                                                                                                                                                                                                                                                            ]                                                                                                                                                                                                                                                                            }\n
\n

If we follow this with a simulated “late arriving” retry of the RunInstances API request with the same parameters and unique request identifier, we will get a semantically equivalent response. However, as the following example shows, the instance is now terminated:

\n
\n$ aws ec2 run-instances --image-id ami-04fcd96153cb57194 --instance-type t2.micro \n--client-token eb3c3141-a229-4ca0-b005-eb922e2cabdc \n
\n
\n{\n
\n
\n \"Instances\": [ \n
\n
\n    {                                                                                                                                                                                                                                                                                     \"Instances\": [                                                                                                                                                                                                                                                                       {                                                                                                                                                                                                                                                                                    \"Monitoring\": {                                                                                                                                                                                                                                                                      \"State\": \"disabled\"                                                                                                                                                                                                                                                          },                                                                                                                                                                                                                                                                               \"StateReason\": {                 \n
\n
\n        \"Monitoring\": { \n
\n
\n            \"State\": \"disabled\" \n
\n
\n        }, \n
\n
\n        \"StateReason\": {\n
\n
\n            \"Message\": \"terminated\",  Now terminated                 \n            \"Code\": \"terminated\"   Now terminated             \n        },              \n        \"State\": {                 \n            \"Code\": 48,   Terminated status code                 \n            \"Name\": \"terminated\"   Now terminated             \n        },             \n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \n
\n
\n        \"ImageId\": \"ami-04fcd96153cb57194\", \n
\n
\n        â€Ś \n
\n
\n        \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\",\n
\n
\n        …                                                                                                                                                                                                                                            \"ImageId\": \"ami-04fcd96153cb57194\",             …                                                                                                                                                                                                                                              \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\",                                                                                                                                                                                                                           …\n
\n

To support this behavior we need to retain knowledge of the initial idempotent request in our service. However, it’s impractical to retain that knowledge indefinitely. Indefinite retention could also have an undesirable impact on the customer experience if some future request identifier collides with one used much earlier. Requirements for retention vary across services and service resources. We have found that, for EC2 instances, it works to limit the time period to the lifetime of the resource, plus an interval after which it is reasonable to assume that any late arriving requests would either have arrived or would no longer be valid.

"}}, {"@type": "Question", "name": "Same client request ID, different intent", "acceptedAnswer": {"@type": "Answer", "text": "

Responding when a customer changes request parameters on a subsequent call where the client request ID stays the same

\n

We design our APIs to allow our customers to explicitly state their intent. Take the situation where we receive a unique client request token that we have seen before, but there is a parameter combination that is different from the earlier request. We find that it is safest to assume that the customer intended a different outcome, and that this might not be the same request. In response to this situation, we return a validation error indicating a parameter mismatch between idempotent requests. To support this deep validation, we also store the parameters used to make the initial request along with the client request identifier.

"}}, {"@type": "Question", "name": "Conclusion", "acceptedAnswer": {"@type": "Answer", "text": "

Werner Vogels, Amazon CTO, notes that one of the lessons we have learned at Amazon is to expect the unexpected. He reminds us that failures are a given, and as a consequence it’s desirable to build systems that embrace failure as a natural occurrence. Coding around these failures is important, but undifferentiated, work that improves the integrity of the solution being delivered. However, it takes time away from investing in differentiating code.

\n

In the article, ”Timeouts, retries, and backoff with jitter,” discussed earlier, Marc Brooker shows how we can leverage retries to mitigate transient faults, and how automating these retries in SDKs and tooling can improve usability. Building on that article, in this article we explore how AWS leverages idempotent behavior to deliver the benefits of automated retry policies to our customers while still honoring the “at most once” commitment inherent in the API contracts of some operations.

\n

We have found the approach we’ve outlined works well, and we have heard that customers appreciate the reduced complexity this approach delivers. However, there is cost and complexity inherent in building services to meet the contract this article describes, and that complexity is not right for all solutions. Sometimes it’s better to take the extra time to meet the demands of a more rigorous contract as described here, in other cases it’s better to innovate more quickly with a less complex contract because that’s best for our customers. In cases where a more rigorous “at most once” contract is required, we have found the approach in this article to work well to meet our customers’ needs.

"}}]}], "drobecky": ["AWS", "Amazon Builders' Library", "Making retries safe with idempotent APIs"], "osnova": [{"uroven": 1, "text": "Making retries safe with idempotent APIs"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Retrying and side effects"}, {"uroven": 3, "text": "Retrying and the potential for undesirable side effects"}, {"uroven": 2, "text": "Reducing client complexity"}, {"uroven": 3, "text": "Reducing client complexity with idempotent API design"}, {"uroven": 2, "text": "Retries and semantic equivalence"}, {"uroven": 3, "text": "Semantic equivalence and support for default retry strategies"}, {"uroven": 2, "text": "Late arriving requests"}, {"uroven": 3, "text": "Late arriving requests and the life span of unique client request identifiers"}, {"uroven": 2, "text": "Same client request ID, different intent"}, {"uroven": 3, "text": "Responding when a customer changes request parameters on a subsequent call where the client request ID stays the same"}, {"uroven": 2, "text": "Conclusion"}, {"uroven": 2, "text": "About the author"}, {"uroven": 2, "text": "Browse all cloud computing concepts"}, {"uroven": 2, "text": "Did you find what you were looking for today?"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nMaking retries safe with idempotent APIs [Send me updates](https://pages.awscloud.com/amazon-builders-library.html)\n\n## Introduction\n\n[By Malcolm Featonby |](/builders-library/authors/malcolm-featonby/)[PDF](https://d1.awsstatic.com/builderslibrary/pdfs/making-retries-safe-with-idempotent-apis-malcolm-featonby.pdf)\n\nAt Amazon, we often see patterns in our services in which a complex operation is decomposed into a controlling process making calls to a number of smaller services, each responsible for one part of the overall workflow. For example, consider the launch of an Amazon Elastic Compute Cloud (EC2) instance. “Under the hood” this involves calls to services responsible for making placement decisions, creating Amazon Elastic Block Store (EBS) volumes, creating elastic network Interfaces, and provisioning a virtual machine (VM). On occasion, one or more of these service calls might fail. To deliver a good customer experience we want to drive this workflow to success. To achieve this, we look to the controlling process to shepherd all decomposed services into a known good state.\n\nWe’ve found that in many cases the simplest solution is the best solution. In the scenario I just described, it would be best to simply retry these calls until they succeed. Interestingly, as Marc Brooker explains in the article [Timeouts, retries, and backoff with jitter](https://builder.aws.com/content/3EumjoZascWd1oZiEgL8ORlv3qE/timeouts-retries-and-backoff-with-jitter), a surprisingly large number of transient or random faults can be overcome by simply retrying the call. As simple as it seems, this pattern has proven so effective that we have baked [default retry behavior](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/retry/PredefinedRetryPolicies.SDKDefaultRetryCondition.html) into some of our AWS SDK implementations. These implementations automatically retry requests that fail as a result of network IO issues, server-side fault, or service rate limiting. Being able to simply retry requests reduces the number of edge cases that need to be dealt with by the client. As a result, it reduces the amount of undifferentiated boilerplate code needed in calling services. Undifferentiated boilerplate code in this context refers to the code needed to wrap service calls to remote services to handle various fault scenarios that might arise.\n\nHowever, retrying a service call as mitigation for a transient fault is based on a simplifying assumption that an operation can be retried without any side effects. Put another way, we want to make sure that the result of the call happens only once, even if we need to make that call multiple times as part of our retry loop. Going back to our earlier example, it would be undesirable for the EC2 instance launch workflow to retry a failed call to create an EBS volume and end up with two EBS volumes. In this article, we discuss how AWS leverages idempotent API operations to mitigate some of the potential undesirable side effects of retrying in order to deliver a more robust service while still leveraging the benefits of retries to simplifying client-side code.\n\n## Retrying and side effects\n\n### Retrying and the potential for undesirable side effects\n\nTo dive into this more deeply let’s consider a hypothetical scenario where a customer is using the Amazon EC2 RunInstances API operation. In our scenario, our customer wants to run a singleton workload, which is a workload that requires “at most one” EC2 instance running at any time. To achieve this, our customer’s provisioning process asks Amazon EC2 to launch this new workload. However, for some reason, perhaps due to a network timeout, the provisioning process receives no response.\n\nThis leaves the provisioning process with a dilemma. It’s not clear whether the singleton workload is running or not. Simply retrying the request could result in multiple workloads, which could have dire consequences. To overcome this dilemma the provisioning process has to perform a reconciliation to determine whether this workload is running or not. This is a lot of heavy lifting to compensate for an edge case that might happen relatively infrequently. In addition, even in the case of a reconciliation workflow, there might still be some uncertainty. What if the resource is there but created by another provisioning process? In the simple case that might be fine, but in more complex scenarios it might be important to know whether the resource was created by this process or another process.\n\n## Reducing client complexity\n\n### Reducing client complexity with idempotent API design\n\nTo allow callers to retry these kinds of operations we need to make them idempotent. An idempotent operation is one where a request can be retransmitted or retried with no additional side effects, a property that is very beneficial in distributed systems.\n\nWe can significantly simplify client code by delivering a contract that allows the client to make a simplifying assumption that any error that isn’t a validation error can be overcome by retrying the request until it succeeds. However, this introduces some additional complexity to service implementation. In a distributed system with many clients making many calls and with many requests in flight, the challenge is how do we identify that a request is a repeat of some previous request?\n\nMany approaches could be used to infer whether a request is a duplicate of an earlier request. For example, it might be possible to derive a synthetic token based on the parameters in the request. You could derive a hash of the parameters present and assume that any request from the same caller with identical parameters is a duplicate. On the surface, this seems to simplify both the customer experience and the service implementation. Any request that looks exactly like a previous request is considered a duplicate. However, we have found that this approach doesn’t work in all cases. For example, it might be reasonable to assume that two exact duplicate requests from the same caller to create an Amazon DynamoDB table received very close together in time are duplicates of the same request. However, if those requests were for launching an Amazon EC2 instance, then our assumption might not hold. It’s possible that the caller actually wants two identical EC2 instances.\n\nAt Amazon, our preferred approach is to incorporate a unique caller-provided client request identifier into our API contract. Requests from the same caller with the same client request identifier can be considered duplicate requests and can be dealt with accordingly. By allowing customers to clearly express intent through API semantics we want to reduce the potential for unexpected outcomes for the customer. A unique caller-provided client request identifier for idempotent operations meets this need. It also has the benefit of making that intent readily auditable because the unique identifier is present in logs like AWS CloudTrail. Furthermore, by labeling the created resource with the unique client request identifier, customers are able to identify resources created by any given request. A concrete example of this can be seen in the Amazon EC2 DescribeInstances response, which shows the unique identifier used to create the EC2 instance. (In the Amazon EC2 API the unique client request identifier is called the ClientToken).\n\nThe following diagram shows a sample request/response flow that uses a unique client request identifier in an idempotent retry scenario:\n\nIn this example, a customer requests the creation of a resource that presents a unique client request identifier. On receiving the request, the service first checks to see if it has seen this identifier before. If it has not, it starts to process the request. It creates an idempotent “session” for this request keyed off the customer identifier and their unique client request identifier. If a subsequent request is received from the same customer with the same unique client request identifier then the service knows it has already seen this request and can take appropriate action. An important consideration is that the process that combines recording the idempotent token and all mutating operations related to servicing the request must meet the properties for an atomic, consistent, isolated, and durable (ACID) operation. An ACID server-side operation needs to be an “all or nothing” or atomic process. This ensures that we avoid situations where we could potentially record the idempotent token and fail to create some resources or, alternatively, create the resources and fail to record the idempotent token.\n\nThe previous diagram shows the preparation of a semantically equivalent response in cases where the request has already been seen. It could be argued that this is not required to meet the letter of the law for an operation to be idempotent. Consider the case where a hypothetical CreateResource operation is called with the unique request identifier123. If the first request is received and processed but the response never makes it back to the caller then the caller will retry the request with identifier 123. However, the resource might now have been created as part of the initial request. One possible response to this request is to return a ResourceAlreadyExists return code. This meets the basic tenets for idempotency because there is no side effect for retrying the call. However, this leads to uncertainty from the perspective of the caller because it’s not clear whether the resource was created as a result of this request or the resource was created as the result of an earlier request. It also makes introducing retry as the default behavior a little more challenging. This is because, although the request had no side effects, the subsequent retry and resultant return code will likely change the flow of execution for the caller. Now the caller needs to deal with the resource already existing even in cases where (from their perspective) it did not exist before they made the call. In this scenario, although there is no side effect from the service perspective, returning ResourceAlreadyExists has a side effect from the client’s perspective.\n\n## Retries and semantic equivalence\n\n### Semantic equivalence and support for default retry strategies\n\nAn alternative is to deliver a semantically equivalent response in every case for the same unique request identifier for some interval. This means that any subsequent response to a retry request from the same caller with the same unique client request identifier will have the same meaning as the first response returned for the first successful request. This approach has some really useful properties—especially where we want to improve the customer experience by safely and simply retrying operations that experience server-side faults, just as we do with the AWS SDK through default retry policies.\n\nWe can see an example of idempotency with semantically equivalent responses and automated retry logic in action when we use the Amazon EC2 RunInstances API operation and the AWS Command Line Interface (CLI). Note that the AWS CLI (like the AWS SDK) [supports a default retry policy](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-retries.html), which we are using here. In this example, we launch an EC2 instance using the following AWS CLI command:\n\n```\n$ aws ec2 run-instances --image-id ami-04fcd96153cb57194 --instance-type t2.micro \n```\n\n```\n{ \n```\n\n```\n    \"Instances\": [ \n```\n\n```\n     { \n```\n\n```\n        \"Monitoring\": { \n```\n\n```\n            \"State\": \"disabled\"\n```\n\n```\n        },\n```\n\n```\n        \"StateReason\": {\n```\n\n```\n             \"Message\": \"pending\",\n```\n\n```\n             \"Code\": \"pending\"\n```\n\n```\n        },\n```\n\n```\n        \"State\": {\n```\n\n```\n              \"Code\": 0\n```\n\n```\n              \"Name\": \"pending\"\n```\n\n```\n         },\n```\n\n```\n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\",\n```\n\n```\n        \"ImageId\": \"ami-04fcd96153cb57194\",         \n```\n\n```\n        â€Ś\n```\n\n```\n        \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\",\n```\n\n```\n        â€Ś \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\", … \"Instances\": [ { \"Monitoring\": { \"State\": \"disabled\" }, \"StateReason\": { \"Message\": \"pending\", \"Code\": \"pending\" }, \"State\": { \"Code\": 0, \"Name\": \"pending\" }, \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \"ImageId\": \"ami-04fcd96153cb57194\", … \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\", …\n```\n\nIn many AWS API operations, the unique client request identifier is modeled by the ClientToken field. Note that we didn’t provide a unique client request identifier in our request. The ClientToken property in the response is echoed back by the remote service. This is because the AWS CLI will generate a unique ID for the request if an identifier is not provided, which allows retries to happen “under the hood” in the event of a transient upstream service fault. An example of what a retried request/response might look like can be simulated by waiting a few minutes and then making another request using the AWS CLI and the same ClientToken that was returned in the previous request. It’s important to note that the response returned is very similar but not identical to the first response:\n\n```\n$ aws ec2 run-instances --image-id ami-04fcd96153cb57194 --instance-type t2.micro \n```\n\n```\n--client-token eb3c3141-a229-4ca0-b005-eb922e2cabdc \n```\n\n```\n{ \n```\n\n```\n    \"Instances\": [ \n```\n\n```\n        { \n```\n\n```\n            \"Monitoring\": { \n```\n\n```\n                \"State\": \"disabled\" \n```\n\n```\n            }, \n```\n\n```\n            \"StateReason\": { \n```\n\n```\n                \"Message\": \"running\",  Now running \n```\n\n```\n                \"Code\": \"running\"  Now running \n```\n\n```\n            }, \n```\n\n```\n            \"State\": { \n```\n\n```\n                \"Code\": 16,  Now running status code \n```\n\n```\n                \"Name\": \"running\"  Now running \n```\n\n```\n        }, \n```\n\n```\n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \n```\n\n```\n        \"ImageId\": \"ami-04fcd96153cb57194\", \n```\n\n```\n        â€Ś \n```\n\n```\n        \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\", \n```\n\n```\n        â€Ś \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\", … \n```\n\nThe AWS SDK and AWS CLI leverage this behavior whenever it’s available to simplify the experience of the customer using these tools. Our SDK and CLI are aware of which operations support an idempotent contract, and they will generate a unique client request identifier and add it to the request if one is not provided by the caller. This generated identifier is then reused in the event of a retry, thus ensuring we meet the “at most once” commitment for the request. Because the response (even on a retry) is semantically equivalent, the calling client code can be completely unaware of any retries that happen within the SDK code and simply deal with the response when it is received.\n\n## Late arriving requests\n\n### Late arriving requests and the life span of unique client request identifiers\n\nAn interesting edge case with idempotent solutions in distributed systems can occur when requests arrive late. Consider the hypothetical situation where we have two actors in a service and a scenario where the client creating the resource retries the operation and the subsequent request is delayed. In the interim a second actor deletes the resource:\n\nThe best way to deal with this scenario can vary from service to service. The approach we have taken for EC2 RunInstances is to honor the initial idempotent contract even in the scenario we just described. In this situation we hold with the principle of least astonishment. This means that a semantically equivalent response, even in cases where the resource has been deleted, is the least surprising approach that still delivers a consistent experience when using tools like the AWS SDK and AWS CLI.\n\nBuilding on our earlier EC2 instance launch example, we can model this edge case by terminating the EC2 instance that we previously launched:\n\n```\n$ aws ec2 terminate-instances --instance-ids i-xxxxxxxxxxxxxxxxx \n```\n\n```\n{ \n```\n\n```\n    \"TerminatingInstances\": [ \n```\n\n```\n    { \n```\n\n```\n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \n```\n\n```\n        \"CurrentState\": { \n```\n\n```\n            \"Code\": 32, \n```\n\n```\n            \"Name\": \"shutting-down\" \n```\n\n```\n        }, \n```\n\n```\n        \"PreviousState\": { \n```\n\n```\n            \"Code\": 16, \n```\n\n```\n            \"Name\": \"running\" \n        } \n```\n\n```\n      } \n```\n\n```\n    ] \n```\n\n```\n} \"TerminatingInstances\": [ { \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \"CurrentState\": { \"Code\": 32, \"Name\": \"shutting-down\" }, \"PreviousState\": { \"Code\": 16, \"Name\": \"running\" } } ] }\n```\n\nIf we follow this with a simulated “late arriving” retry of the RunInstances API request with the same parameters and unique request identifier, we will get a semantically equivalent response. However, as the following example shows, the instance is now terminated:\n\n```\n$ aws ec2 run-instances --image-id ami-04fcd96153cb57194 --instance-type t2.micro \n--client-token eb3c3141-a229-4ca0-b005-eb922e2cabdc \n```\n\n```\n{ \n```\n\n```\n \"Instances\": [ \n```\n\n```\n    { \"Instances\": [ { \"Monitoring\": { \"State\": \"disabled\" }, \"StateReason\": { \n```\n\n```\n        \"Monitoring\": { \n```\n\n```\n            \"State\": \"disabled\" \n```\n\n```\n        }, \n```\n\n```\n        \"StateReason\": { \n```\n\n```\n            \"Message\": \"terminated\",  Now terminated \n            \"Code\": \"terminated\"  Now terminated \n        }, \n        \"State\": { \n            \"Code\": 48,  Terminated status code \n            \"Name\": \"terminated\"  Now terminated \n        }, \n        \"InstanceId\": \"i-xxxxxxxxxxxxxxxxx\", \n```\n\n```\n        \"ImageId\": \"ami-04fcd96153cb57194\", \n```\n\n```\n        â€Ś \n```\n\n```\n        \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\", \n```\n\n```\n        … \"ImageId\": \"ami-04fcd96153cb57194\", … \"ClientToken\": \"eb3c3141-a229-4ca0-b005-eb922e2cabdc\", … \n```\n\nTo support this behavior we need to retain knowledge of the initial idempotent request in our service. However, it’s impractical to retain that knowledge indefinitely. Indefinite retention could also have an undesirable impact on the customer experience if some future request identifier collides with one used much earlier. Requirements for retention vary across services and service resources. We have found that, for EC2 instances, it works to limit the time period to the lifetime of the resource, plus an interval after which it is reasonable to assume that any late arriving requests would either have arrived or would no longer be valid.\n\n## Same client request ID, different intent\n\n### Responding when a customer changes request parameters on a subsequent call where the client request ID stays the same\n\nWe design our APIs to allow our customers to explicitly state their intent. Take the situation where we receive a unique client request token that we have seen before, but there is a parameter combination that is different from the earlier request. We find that it is safest to assume that the customer intended a different outcome, and that this might not be the same request. In response to this situation, we return a validation error indicating a parameter mismatch between idempotent requests. To support this deep validation, we also store the parameters used to make the initial request along with the client request identifier.\n\n## Conclusion\n\nWerner Vogels, Amazon CTO, notes that one of the lessons we have learned at Amazon is to [expect the unexpected](https://www.allthingsdistributed.com/2016/03/10-lessons-from-10-years-of-aws.html). He reminds us that failures are a given, and as a consequence it’s desirable to build systems that embrace failure as a natural occurrence. Coding around these failures is important, but undifferentiated, work that improves the integrity of the solution being delivered. However, it takes time away from investing in differentiating code.\n\nIn the article, ”Timeouts, retries, and backoff with jitter,” discussed earlier, Marc Brooker shows how we can leverage retries to mitigate transient faults, and how automating these retries in SDKs and tooling can improve usability. Building on that article, in this article we explore how AWS leverages idempotent behavior to deliver the benefits of automated retry policies to our customers while still honoring the “at most once” commitment inherent in the API contracts of some operations.\n\nWe have found the approach we’ve outlined works well, and we have heard that customers appreciate the reduced complexity this approach delivers. However, there is cost and complexity inherent in building services to meet the contract this article describes, and that complexity is not right for all solutions. Sometimes it’s better to take the extra time to meet the demands of a more rigorous contract as described here, in other cases it’s better to innovate more quickly with a less complex contract because that’s best for our customers. In cases where a more rigorous “at most once” contract is required, we have found the approach in this article to work well to meet our customers’ needs.\n\n## About the author\n\nMalcolm Featonby is a Principal Engineer at Amazon Web Services. He joined Amazon in 2011 and has spent a number of years working with various teams across AWS EC2. More recently Malcolm has transitioned to the AWS containers organization working with the teams that deliver AWS ECS, ECR and Fargate. Malcolm is passionate about service scaling and system decoupling in hypergrowth environments. He holds a masters degree in Information Technology.\n\n[Malcolm Featonby](/builders-library/authors/malcolm-featonby/)\n\n## Browse all cloud computing concepts\n\nBrowse all cloud computing concepts content here:\n\nLoading\n\nLoading\n\nLoading\n\nLoading\n\nLoading\n\n## Did you find what you were looking for today?\n\nLet us know so we can improve the quality of the content on our pages", "znaku_textu": 21161, "slov": 3183, "odkazu": 139, "kodovani": "iso-8859-2", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:24", "sha256": "ad4ef71f161080c6d2e22d7d97b506b9647c8045704b9154e1cf20e24ce3c8c9", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://builder.aws.com/learn/topics/builders-library", "https://pages.awscloud.com/amazon-builders-library.html", "https://d1.awsstatic.com/builderslibrary/pdfs/making-retries-safe-with-idempotent-apis-malcolm-featonby.pdf", "https://builder.aws.com/content/3EumjoZascWd1oZiEgL8ORlv3qE/timeouts-retries-and-backoff-with-jitter", "https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/retry/PredefinedRetryPolicies.SDKDefaultRetryCondition.html", "https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-retries.html", "https://www.allthingsdistributed.com/2016/03/10-lessons-from-10-years-of-aws.html", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/static-stability-using-availability-zones/", "titulek": "Static stability using Availability Zones", "h1": "Static stability using Availability Zones", "popis": "Architecting to use multiple availability zones for high availability and ensuring systems are statically stable.", "klicova_slova": "", "kanonicka": "https://aws.amazon.com/builders-library/static-stability-using-availability-zones/", "jazyk": "en-US", "robots_meta": "", "og": {"og:type": "website", "og:site_name": "Amazon Web Services, Inc.", "og:description": "Architecting to use multiple availability zones for high availability and ensuring systems are statically stable.", "og:title": "Static stability using Availability Zones", "og:updated_time": "2026-08-20T13:34:00.463-0700", "og:url": "https://aws.amazon.com/builders-library/static-stability-using-availability-zones/", "og:locale": "en_US", "og:locale:alternate": "zh_TW"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "/developer/", "name": "Developer Center"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "/builders-library/", "name": "Amazon Builders' Library"}}, {"@type": "ListItem", "position": 3, "item": {"@id": "/builders-library/static-stability-using-availability-zones/", "name": "Static stability using Availability Zones"}}]}, {"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "Introduction", "acceptedAnswer": {"@type": "Answer", "text": "

At Amazon, the services we build must meet extremely high availability targets. This means that we need to think carefully about the dependencies that our systems take. We design our systems to stay resilient even when those dependencies are impaired. In this article, we’ll define a pattern that we use called static stability to achieve this level of resilience. We’ll show you how we apply this concept to Availability Zones, a key infrastructure building block in AWS and therefore a bedrock dependency on which all of our services are built.

\n

In a statically stable design, the overall system keeps working even when a dependency becomes impaired. Perhaps the system doesn’t see any updated information (such as new things, deleted things, or modified things) that its dependency was supposed to have delivered. However, everything it was doing before the dependency became impaired continues to work despite the impaired dependency. We’ll describe how we built Amazon Elastic Compute Cloud (EC2) to be statically stable. Then we’ll provide two statically stable example architectures we've found useful for building highly available regional systems on top of Availability Zones.

\n

Finally, we’ll go deeper into some of the design philosophy behind Amazon EC2 including how it’s architected to provide Availability Zone independence at the software level. In addition, we’ll discuss some of tradeoffs that come with building a service with this choice of architecture.

\n

The role of Availability Zones

\n

Availability Zones are logically isolated sections of an AWS Region: Each AWS Region has multiple Availability Zones that are designed to operate independently. Availability Zones are physically separated by a meaningful distance to protect from correlated impact from potential issues such as lightning strikes, tornadoes, and earthquakes. They don't share power or other infrastructure, but they are connected to each other with fast, encrypted private fiber-optic networking to enable applications to quickly fail over without interruption. In other words, Availability Zones provide a layer of abstraction over our infrastructure isolation. Services that require an Availability Zone allow the caller to tell AWS where to provision the infrastructure physically within the Region so that they can benefit from this independence. At Amazon, we have built regional AWS services that take advantage of this zonal independence to achieve their own high availability targets. Services such as Amazon DynamoDB, Amazon Simple Queue Service (SQS), and Amazon Simple Storage Service (S3) are examples of such regional services.

\n

When interacting with an AWS service that provisions cloud infrastructure inside of an Amazon Virtual Private Cloud (VPC), many of these services require the caller to specify not only a Region but also an Availability Zone. The Availability Zone is often specified implicitly in a required subnet argument, for example when launching an EC2 instance, provisioning an Amazon Relational Database Service (RDS) database, or creating an Amazon ElastiCache cluster. Although it’s common to have multiple subnets in an Availability Zone, a single subnet lives entirely within a single Availability Zone, and so by providing a subnet argument, the caller is also implicitly providing an Availability Zone to use.

"}}, {"@type": "Question", "name": "Static stability", "acceptedAnswer": {"@type": "Answer", "text": "

When building systems on top of Availability Zones, one lesson we have learned is to be ready for impairments before they happen. A less effective approach might be to deploy to multiple Availability Zones with the expectation that, should there be an impairment within one Availability Zone, the service will scale up (perhaps using AWS Auto Scaling) in other Availability Zones and be restored to full health. This approach is less effective because it relies on reacting to impairments as they happen, rather than being prepared for those impairments before they happen. In other words, it lacks static stability. In contrast, a more effective, statically stable service would overprovision its infrastructure to the point where it would continue operating correctly without having to launch any new EC2 instances, even if an Availability Zone were to become impaired.

\n

To better illustrate the property of static stability, let's look at Amazon EC2, which is itself designed according to those principles.

\n

The Amazon EC2 service consists of a control plane and a data plane. “Control plane” and “data plane” are terms of art from networking, but we use them all over the place within AWS. A control plane is the machinery involved in making changes to a system—adding resources, deleting resources, modifying resources—and getting those changes propagated to wherever they need to go to take effect. A data plane, in contrast, is the daily business of those resources, that is, what it takes for them to function.

\n

In Amazon EC2, the control plane is everything that happens when EC2 launches a new instance. The logic of the control plane pulls together everything needed for a new EC2 instance by performing numerous tasks. The following are a few examples:

\n \n

In contrast, the Amazon EC2 data plane keeps existing EC2 instances humming along as expected, performing tasks such as these:

\n \n

As is usually the case with data planes and control planes, the Amazon EC2 data plane is far simpler than its control plane. As a result of its relative simplicity, the Amazon EC2 data plane's design targets a higher availability than that of the Amazon EC2 control plane.

\n

Importantly, the Amazon EC2 data plane has been carefully designed to be statically stable in the face of control plane availability events (such as impairments in the ability to launch EC2 instances). For example, to avoid disruptions in network connectivity, the Amazon EC2 data plane is designed so that the physical machine on which an EC2 instance runs has local access to all of the information it needs to route packets to points inside and outside of its VPC. An impairment of the Amazon EC2 control plane means that during the event the physical server might not see updates like a new EC2 instance added to a VPC, or a new Security Group rule. However, the traffic it had been able to send and receive before the event will continue to work.

\n

The concepts of control planes, data planes, and static stability are broadly applicable, even beyond Amazon EC2. Being able to decompose a system into its control plane and data plane can be a helpful conceptual tool for designing highly available services, for a number of reasons:

\n \n

Putting those considerations all together, our best practice is to separate systems along the control and data plane boundary.

\n

To achieve this separation in practice, we apply principles of static stability. A data plane typically depends on data that arrives from the control plane. However, to achieve a higher availability target, the data plane maintains its existing state and continues working even in the face of a control plane impairment. The data plane might not get updates during the period of impairment, but everything that had been working before continues to work.

\n

Earlier we noted that a scheme that requires the replacement of an EC2 instance in response to an Availability Zone impairment is a less effective approach. It’s not because we won’t be able to launch the new EC2 instance. It’s because in response to an impairment the system has to take an immediate dependency for the recovery path on the Amazon EC2 control plane, plus all of the application-specific systems that are necessary for a new instance to start performing useful work. Depending on the application, these dependencies could include steps such as downloading runtime configuration, registering the instance with discovery services, acquiring credentials, etc. The control plane systems are necessarily more complex than those in the data plane, and they have a greater chance of not behaving correctly when the overall system is impaired.

"}}, {"@type": "Question", "name": "Static stability patterns", "acceptedAnswer": {"@type": "Answer", "text": "

In this section, we’ll introduce two high-level patterns that we use in AWS to design systems for high availability by leveraging static stability. Each is applicable to its own set of situations, but both take advantage of the Availability Zone abstraction.

\n

Active-active on Availability Zones example: A load-balanced service

\n

Several AWS services are internally composed of a horizontally scalable, stateless fleet of EC2 instances or Amazon Elastic Container Service (ECS) containers. We run these services in an Auto Scaling group across three or more Availability Zones. Additionally, these services overprovision capacity so that, even if an entire Availability Zone were impaired, the servers in the remaining Availability Zones could carry the load. For example, when we use three Availability Zones, we overprovision by 50 percent. Put another way, we overprovision such that each Availability Zone is operating at only 66 percent of the level for which we have load-tested it.

\n

The most common example is a load balanced HTTPS service. The following diagram shows a public-facing Application Load Balancer providing an HTTPS service. The target of the load balancer is an Auto Scaling group that spans the three Availability Zones in the eu-west-1 Region. This is an example of active-active high availability using Availability Zones.

\n

\n

In the event of an Availability Zone impairment, the architecture shown in the preceding diagram requires no action. The EC2 instances in the impaired Availability Zone will start failing health checks, and the Application Load Balancer will shift traffic away from them. In fact, the Elastic Load Balancing service is designed according to this principle. It has provisioned enough load-balancing capacity to withstand an Availability Zone impairment without needing to scale up.

\n

We also use this pattern even when there is no load balancer or HTTPS service. For example, a fleet of EC2 instances that processes messages from an Amazon Simple Queue Service (SQS) queue can follow this pattern too. The instances are deployed in an Auto Scaling group across multiple Availability Zones, appropriately overprovisioned. In the event of an impaired Availability Zone, the service does nothing. The impaired instances stop doing their work, and others pick up the slack.

\n

Active-standby on Availability Zones example: A relational database

\n

Some of the services we build are stateful and require a single primary or leader node to coordinate the work. An example of this is a service that uses a relational database, such as Amazon RDS with a MySQL or Postgres database engine. A typical high-availability setup for this kind of relational database has a primary instance, which is the one to which all writes must go, and a standby candidate. We also might have additional read replicas, which are not shown in the following diagram. When we work with stateful infrastructure like this, there will be a warm standby node in a different Availability Zone from that of the primary node.

\n

The following diagram shows an Amazon RDS database. When we provision a database with Amazon RDS, it requires a subnet group. A subnet group is a set of subnets spanning multiple Availability Zones into which the database instances will be provisioned. Amazon RDS puts the standby candidate in a different Availability Zone from the primary node. This is an example of active-standby high availability using Availability Zones.

\n

\n

As was the case with the stateless, active-active example, when the Availability Zone with the primary node becomes impaired, the stateful service does nothing with the infrastructure. For services that use Amazon RDS, RDS will manage the failover and repoint the DNS name to the new primary in the working Availability Zone. This pattern also applies to other active-standby setups, even if they do not use a relational database. In particular, we apply this to systems with a cluster architecture that has a leader node. We deploy these clusters across Availability Zones and elect the new leader node from a standby candidate instead of launching a replacement “just in time.”

\n

What these two patterns have in common is that both of them had already provisioned the capacity they’d need in the event of an Availability Zone impairment well in advance of any actual impairment. In neither of these cases is the service taking any deliberate control plane dependencies, such as provisioning new infrastructure or making modifications, in response to an Availability Zone impairment.

"}}, {"@type": "Question", "name": "Under the hood: Static stability inside of Amazon EC2", "acceptedAnswer": {"@type": "Answer", "text": "

This final section of the article will go one level deeper into resilient Availability Zone architectures, covering some of the ways in which we follow the Availability Zone independence principle in Amazon EC2. Understanding some of these concepts is helpful when we build a service that not only needs to be highly available itself, but also needs to provide infrastructure on which others can be highly available. Amazon EC2, as a provider of low-level AWS infrastructure, is the infrastructure that applications can use to be highly available. There are times when other systems might wish to adopt that strategy as well.

\n

We follow the Availability Zone independence principle in Amazon EC2 in our deployment practices. In Amazon EC2, software is deployed to the physical servers hosting EC2 instances, edge devices, DNS resolvers, control plane components in the EC2 instance launch path, and many other components upon which EC2 instances depend. These deployments follow a zonal deployment calendar. This means that two Availability Zones in the same Region will receive a given deployment on different days. Across AWS, we use a phased rollout of deployments. For example, we follow the best practice (regardless of the type of service to which we deploy) of first deploying a one-box, and then 1/N of servers, etc. However, in the specific case of services like those in Amazon EC2, our deployments go one step further and are deliberately aligned to the Availability Zone boundary. That way, a problem with a deployment affects one Availability Zone and is rolled back and fixed. It doesn’t affect other Availability Zones, which continue functioning as normal.

\n

Another way we use the principle of independent Availability Zones when we build in Amazon EC2 is to design all packet flows to stay within the Availability Zone rather than crossing boundaries. This second point—that network traffic is kept local to the Availability Zone—is worth exploring in more detail. It’s an interesting illustration of how we think differently when building a regional, highly available system that is a consumer of independent Availability Zones (that is, it uses guarantees of Availability Zone independence as a foundation for building a high-availability service), as opposed to when we provide Availability Zone independent infrastructure to others that will allow them to build for high availability.

\n

The following diagram illustrates a highly available external service, shown in orange, that depends on another, internal service, shown in green. A straightforward design treats both of these services as consumers of independent EC2 Availability Zones. Each of the orange and green services is fronted by an Application Load Balancer, and each service has a well-provisioned fleet of backend hosts spread across three Availability Zones. One highly available regional service calls another highly available regional service. This is a simple design, and for many of the services we’ve built, it's a good design.

\n

\n

Suppose, however, that the green service is a foundational service. That is, suppose it is intended not only to be highly available but also, itself, to serve as a building block for providing Availability Zone independence. In that case, we might instead design it as three instances of a zone-local service, on which we follow Availability Zone-aware deployment practices. The following diagram illustrates the design in which a highly available regional service calls a highly available zonal service.

\n

\n

The reasons why we design our building-block services to be Availability Zone independent come down to simple arithmetic. Let’s say an Availability Zone is impaired. For black and white failures, the Application Load Balancer will automatically fail away from the affected nodes. However, not all failures are so obvious. There can be gray failures, such as bugs in the software, which the load balancer won’t be able to see in its health check and cleanly handle.

\n

In the earlier example, where one highly available regional service calls another highly available regional service, if a request is sent through the system, then with some simplifying assumptions, the chance of the request avoiding the impaired Availability Zone is 2/3 * 2/3 = 4/9. That is, the request has worse than even odds of steering clear of the event. In contrast, if we built the green service to be a zonal service as in the current example, then the hosts in the orange service can call the green endpoint in the same Availability Zone. With this architecture, the chances of avoiding the impaired Availability Zone are 2/3. If N services are a part of this call path, then these numbers generalize to (2/3)^N for N regional services versus remaining constant at 2/3 for N zonal services.

\n

It is for this reason that we built Amazon EC2 NAT gateway as a zonal service. NAT gateway is an Amazon EC2 feature that allows for outbound internet traffic from a private subnet and appears not as a regional, VPC-wide gateway but as a zonal resource, that customers instantiate separately per Availability Zone as shown in the following diagram. The NAT gateway sits in the path of internet connectivity for the VPC, and it is therefore part of the data plane of any EC2 instance within that VPC. If there is a connectivity impairment in one Availability Zone, we want to keep that impairment inside that Availability Zone, rather than spreading it to other zones. In the end, we want a customer who built an architecture similar to that mentioned earlier in this article (that is, by provisioning a fleet across three Availability Zones with enough capacity in any two to carry the full load) to know that the other Availability Zones will be completely unaffected by anything going on in the impaired Availability Zone. The only way for us to do this is to ensure that all foundational components—like the NAT gateway—really do stay within the Availability Zone.

\n

\n

This choice comes with the cost of additional complexity. For us in Amazon EC2, the additional complexity comes in the form of managing zonal, rather than regional, service environments. For customers of NAT gateway, the additional complexity comes in the form of having multiple NAT gateways and route tables, for use in the different Availability Zones of the VPC. The additional complexity is appropriate because NAT gateway is itself a foundational service, part of the Amazon EC2 data plane that is supposed to provide zonal availability guarantees.

\n

There’s one more consideration we make when building services that are Availability Zone independent, and that is data durability. Although each of the zonal architectures described earlier shows the entire stack contained within a single Availability Zone, we replicate any hard state across multiple Availability Zones for disaster recovery purposes. For example, we typically store periodic database backups in Amazon S3 and maintain read replicas of our data stores across Availability Zone boundaries. These replicas aren't necessary for the primary Availability Zone to function. Instead, they ensure that we store customer- or business-critical data in multiple locations.

\n

When designing a service-oriented architecture that will run in AWS, we have learned to use one of these two patterns, or a combination of both:

\n"}}, {"@type": "Question", "name": "Conclusion", "acceptedAnswer": {"@type": "Answer", "text": "

In this article, we’ve discussed some simple strategies that we’ve used at AWS for successfully taking dependencies on Availability Zones. We’ve learned that the key to static stability is to anticipate impairments before they happen. Whether a system runs on an active-active horizontally scalable fleet, or whether it is a stateful, active-standby pattern, we can use Availability Zones to target high levels of availability. We deploy our systems so that all capacity that will be needed in the event of an impairment is already fully provisioned and ready to go. Finally, we took a deeper look into how Amazon EC2 itself uses static stability concepts to keep Availability Zones independent of one another.

"}}]}, {"@context": "https://schema.org", "@type": "ItemList", "name": " About the authors", "itemListElement": [{"@type": "ListItem", "item": {"@type": "ImageObject", "contentUrl": "https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/builders-library/approved/images/mq29nm0a-Redwood-Author-Portrait-Becky-Weiss.266eaa5543c262d31d381037848a6decd9f753ba.png", "name": "Portrait of a woman with long wavy hair smiling outdoors, representing an author for the AWS Builders Library.", "description": "Becky Weiss"}, "position": 1}, {"@type": "ListItem", "item": {"@type": "ImageObject", "contentUrl": "https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/product-categories/developer-tools/approved/images/builders-library/WEB_Redwood_Author-Portrait_Mike-Furr.510b096282b3668049ed08710297e5044cd6d8a1.png", "name": "Missing alt text value", "description": "Mike Furr"}, "position": 2}]}], "drobecky": ["Developer Center", "Amazon Builders' Library", "Static stability using Availability Zones"], "osnova": [{"uroven": 1, "text": "Static stability using Availability Zones"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Static stability"}, {"uroven": 2, "text": "Static stability patterns"}, {"uroven": 2, "text": "Under the hood: Static stability inside of Amazon EC2"}, {"uroven": 2, "text": "Conclusion"}, {"uroven": 2, "text": "About the authors"}, {"uroven": 3, "text": "Becky Weiss"}, {"uroven": 3, "text": "Mike Furr"}, {"uroven": 2, "text": "Related content"}, {"uroven": 2, "text": "Did you find what you were looking for today?"}], "markdown": "The Amazon Builders' Library\n\n- [Overview](/builders-library/)\n- [Authors](/builders-library/authors/)\n- [FAQs](/builders-library/faqs/)\n\nStatic stability using Availability Zones ARCHITECTURE | LEVEL 300\n\n- Introduction\n- Static stability\n- Static stability patterns\n- Under the hood: Static stability inside of Amazon EC2\n- Conclusion\n\n## Introduction\n\nAt Amazon, the services we build must meet extremely high availability targets. This means that we need to think carefully about the dependencies that our systems take. We design our systems to stay resilient even when those dependencies are impaired. In this article, we’ll define a pattern that we use called *static stability* to achieve this level of resilience. We’ll show you how we apply this concept to Availability Zones, a key infrastructure building block in AWS and therefore a bedrock dependency on which all of our services are built.\n\nIn a statically stable design, the overall system keeps working even when a dependency becomes impaired. Perhaps the system doesn’t see any updated information (such as new things, deleted things, or modified things) that its dependency was supposed to have delivered. However, everything it was doing before the dependency became impaired continues to work despite the impaired dependency. We’ll describe how we built Amazon Elastic Compute Cloud (EC2) to be statically stable. Then we’ll provide two statically stable example architectures we've found useful for building highly available regional systems on top of Availability Zones.\n\nFinally, we’ll go deeper into some of the design philosophy behind Amazon EC2 including how it’s architected to provide Availability Zone independence at the software level. In addition, we’ll discuss some of tradeoffs that come with building a service with this choice of architecture.\n\nThe role of Availability Zones\n\nAvailability Zones are logically isolated sections of an AWS Region: Each AWS Region has multiple Availability Zones that are designed to operate independently. Availability Zones are physically separated by a meaningful distance to protect from correlated impact from potential issues such as lightning strikes, tornadoes, and earthquakes. They don't share power or other infrastructure, but they are connected to each other with fast, encrypted private fiber-optic networking to enable applications to quickly fail over without interruption. In other words, Availability Zones provide a layer of abstraction over our infrastructure isolation. Services that require an Availability Zone allow the caller to tell AWS where to provision the infrastructure physically within the Region so that they can benefit from this independence. At Amazon, we have built regional AWS services that take advantage of this zonal independence to achieve their own high availability targets. Services such as Amazon DynamoDB, Amazon Simple Queue Service (SQS), and Amazon Simple Storage Service (S3) are examples of such regional services.\n\nWhen interacting with an AWS service that provisions cloud infrastructure inside of an Amazon Virtual Private Cloud (VPC), many of these services require the caller to specify not only a Region but also an Availability Zone. The Availability Zone is often specified implicitly in a required subnet argument, for example when launching an EC2 instance, provisioning an Amazon Relational Database Service (RDS) database, or creating an Amazon ElastiCache cluster. Although it’s common to have multiple subnets in an Availability Zone, a single subnet lives entirely within a single Availability Zone, and so by providing a subnet argument, the caller is also implicitly providing an Availability Zone to use.\n\n## Static stability\n\nWhen building systems on top of Availability Zones, one lesson we have learned is to be ready for impairments before they happen. A less effective approach might be to deploy to multiple Availability Zones with the expectation that, should there be an impairment within one Availability Zone, the service will scale up (perhaps using AWS Auto Scaling) in other Availability Zones and be restored to full health. This approach is less effective because it relies on reacting to impairments as they happen, rather than being prepared for those impairments before they happen. In other words, it lacks static stability. In contrast, a more effective, statically stable service would overprovision its infrastructure to the point where it would continue operating correctly without having to launch any new EC2 instances, even if an Availability Zone were to become impaired.\n\nTo better illustrate the property of static stability, let's look at Amazon EC2, which is itself designed according to those principles.\n\nThe Amazon EC2 service consists of a control plane and a data plane. “Control plane” and “data plane” are terms of art from networking, but we use them all over the place within AWS. A *control plane* is the machinery involved in making changes to a system—adding resources, deleting resources, modifying resources—and getting those changes propagated to wherever they need to go to take effect. A *data plane*, in contrast, is the daily business of those resources, that is, what it takes for them to function.\n\nIn Amazon EC2, the control plane is everything that happens when EC2 launches a new instance. The logic of the control plane pulls together everything needed for a new EC2 instance by performing numerous tasks. The following are a few examples:\n\n- It finds a physical server for the compute while respecting placement group and VPC tenancy requirements.\n- It allocates a network interface out of the VPC subnet.\n- It prepares an Amazon Elastic Block Store (EBS) volume.\n- It generates AWS Identity and Access Management (IAM) role credentials.\n- It installs Security Group rules.\n- It stores the results in the data stores of the various downstream services.\n- It propagates the needed configurations to the server in the VPC and the network edge as appropriate.\n\nIn contrast, the Amazon EC2 data plane keeps existing EC2 instances humming along as expected, performing tasks such as these:\n\n- It routes packets according to the VPC's route tables.\n- It reads and writes from Amazon EBS volumes.\n- And so on.\n\nAs is usually the case with data planes and control planes, the Amazon EC2 data plane is far simpler than its control plane. As a result of its relative simplicity, the Amazon EC2 data plane's design targets a higher availability than that of the Amazon EC2 control plane.\n\nImportantly, the Amazon EC2 data plane has been carefully designed to be statically stable in the face of control plane availability events (such as impairments in the ability to launch EC2 instances). For example, to avoid disruptions in network connectivity, the Amazon EC2 data plane is designed so that the physical machine on which an EC2 instance runs has local access to all of the information it needs to route packets to points inside and outside of its VPC. An impairment of the Amazon EC2 control plane means that during the event the physical server might not see updates like a new EC2 instance added to a VPC, or a new Security Group rule. However, the traffic it had been able to send and receive before the event will continue to work.\n\nThe concepts of control planes, data planes, and static stability are broadly applicable, even beyond Amazon EC2. Being able to decompose a system into its control plane and data plane can be a helpful conceptual tool for designing highly available services, for a number of reasons:\n\n- It's typical for the availability of the data plane to be even more critical to the success of the customers of a service than the control plane. For example, the continued availability and correct functioning of an EC2 instance, after it is running, is even more important to most AWS customers than the ability to launch new EC2 instances.\n- It's typical for the data plane to operate at a higher volume (often by orders of magnitude) than its control plane. Thus, it's better to keep them separate so that each can be scaled according to its own relevant scaling dimensions.\n- We’ve found over the years that a system's control plane tends to have more moving parts than its data plane, so it's statistically more likely to become impaired for that reason alone.\n\nPutting those considerations all together, our best practice is to separate systems along the control and data plane boundary.\n\nTo achieve this separation in practice, we apply principles of static stability. A data plane typically depends on data that arrives from the control plane. However, to achieve a higher availability target, the data plane maintains its existing state and continues working even in the face of a control plane impairment. The data plane might not get updates during the period of impairment, but everything that had been working before continues to work.\n\nEarlier we noted that a scheme that requires the replacement of an EC2 instance in response to an Availability Zone impairment is a less effective approach. It’s not because we won’t be able to launch the new EC2 instance. It’s because in response to an impairment the system has to take an immediate dependency for the recovery path on the Amazon EC2 control plane, plus all of the application-specific systems that are necessary for a new instance to start performing useful work. Depending on the application, these dependencies could include steps such as downloading runtime configuration, registering the instance with discovery services, acquiring credentials, etc. The control plane systems are necessarily more complex than those in the data plane, and they have a greater chance of not behaving correctly when the overall system is impaired.\n\n## Static stability patterns\n\nIn this section, we’ll introduce two high-level patterns that we use in AWS to design systems for high availability by leveraging static stability. Each is applicable to its own set of situations, but both take advantage of the Availability Zone abstraction.\n\nActive-active on Availability Zones example: A load-balanced service\n\nSeveral AWS services are internally composed of a horizontally scalable, stateless fleet of EC2 instances or Amazon Elastic Container Service (ECS) containers. We run these services in an Auto Scaling group across three or more Availability Zones. Additionally, these services overprovision capacity so that, even if an entire Availability Zone were impaired, the servers in the remaining Availability Zones could carry the load. For example, when we use three Availability Zones, we overprovision by 50 percent. Put another way, we overprovision such that each Availability Zone is operating at only 66 percent of the level for which we have load-tested it.\n\nThe most common example is a load balanced HTTPS service. The following diagram shows a public-facing Application Load Balancer providing an HTTPS service. The target of the load balancer is an Auto Scaling group that spans the three Availability Zones in the eu-west-1 Region. This is an example of active-active high availability using Availability Zones.\n\nIn the event of an Availability Zone impairment, the architecture shown in the preceding diagram requires no action. The EC2 instances in the impaired Availability Zone will start failing health checks, and the Application Load Balancer will shift traffic away from them. In fact, the Elastic Load Balancing service is designed according to this principle. It has provisioned enough load-balancing capacity to withstand an Availability Zone impairment without needing to scale up.\n\nWe also use this pattern even when there is no load balancer or HTTPS service. For example, a fleet of EC2 instances that processes messages from an Amazon Simple Queue Service (SQS) queue can follow this pattern too. The instances are deployed in an Auto Scaling group across multiple Availability Zones, appropriately overprovisioned. In the event of an impaired Availability Zone, the service does nothing. The impaired instances stop doing their work, and others pick up the slack.\n\nActive-standby on Availability Zones example: A relational database\n\nSome of the services we build are stateful and require a single primary or leader node to coordinate the work. An example of this is a service that uses a relational database, such as Amazon RDS with a MySQL or Postgres database engine. A typical high-availability setup for this kind of relational database has a primary instance, which is the one to which all writes must go, and a standby candidate. We also might have additional read replicas, which are not shown in the following diagram. When we work with stateful infrastructure like this, there will be a warm standby node in a different Availability Zone from that of the primary node.\n\nThe following diagram shows an Amazon RDS database. When we provision a database with Amazon RDS, it requires a subnet group. A *subnet group* is a set of subnets spanning multiple Availability Zones into which the database instances will be provisioned. Amazon RDS puts the standby candidate in a different Availability Zone from the primary node. This is an example of active-standby high availability using Availability Zones.\n\nAs was the case with the stateless, active-active example, when the Availability Zone with the primary node becomes impaired, the stateful service does nothing with the infrastructure. For services that use Amazon RDS, RDS will manage the failover and repoint the DNS name to the new primary in the working Availability Zone. This pattern also applies to other active-standby setups, even if they do not use a relational database. In particular, we apply this to systems with a cluster architecture that has a leader node. We deploy these clusters across Availability Zones and elect the new leader node from a standby candidate instead of launching a replacement “just in time.”\n\nWhat these two patterns have in common is that both of them had already provisioned the capacity they’d need in the event of an Availability Zone impairment well in advance of any actual impairment. In neither of these cases is the service taking any deliberate control plane dependencies, such as provisioning new infrastructure or making modifications, in response to an Availability Zone impairment.\n\n## Under the hood: Static stability inside of Amazon EC2\n\nThis final section of the article will go one level deeper into resilient Availability Zone architectures, covering some of the ways in which we follow the Availability Zone independence principle in Amazon EC2. Understanding some of these concepts is helpful when we build a service that not only needs to be highly available itself, but also needs to provide infrastructure on which others can be highly available. Amazon EC2, as a provider of low-level AWS infrastructure, is the infrastructure that applications can use to be highly available. There are times when other systems might wish to adopt that strategy as well.\n\nWe follow the Availability Zone independence principle in Amazon EC2 in our deployment practices. In Amazon EC2, software is deployed to the physical servers hosting EC2 instances, edge devices, DNS resolvers, control plane components in the EC2 instance launch path, and many other components upon which EC2 instances depend. These deployments follow a zonal deployment calendar. This means that two Availability Zones in the same Region will receive a given deployment on different days. Across AWS, we use a phased rollout of deployments. For example, we follow the best practice (regardless of the type of service to which we deploy) of first deploying a one-box, and then 1/N of servers, etc. However, in the specific case of services like those in Amazon EC2, our deployments go one step further and are deliberately aligned to the Availability Zone boundary. That way, a problem with a deployment affects one Availability Zone and is rolled back and fixed. It doesn’t affect other Availability Zones, which continue functioning as normal.\n\nAnother way we use the principle of independent Availability Zones when we build in Amazon EC2 is to design all packet flows to stay within the Availability Zone rather than crossing boundaries. This second point—that network traffic is kept local to the Availability Zone—is worth exploring in more detail. It’s an interesting illustration of how we think differently when building a regional, highly available system that is a consumer of independent Availability Zones (that is, it uses guarantees of Availability Zone independence as a foundation for building a high-availability service), as opposed to when we provide Availability Zone independent infrastructure to others that will allow them to build for high availability.\n\nThe following diagram illustrates a highly available external service, shown in orange, that depends on another, internal service, shown in green. A straightforward design treats both of these services as consumers of independent EC2 Availability Zones. Each of the orange and green services is fronted by an Application Load Balancer, and each service has a well-provisioned fleet of backend hosts spread across three Availability Zones. One highly available regional service calls another highly available regional service. This is a simple design, and for many of the services we’ve built, it's a good design.\n\nSuppose, however, that the green service is a foundational service. That is, suppose it is intended not only to be highly available but also, itself, to serve as a building block for providing Availability Zone independence. In that case, we might instead design it as three instances of a zone-local service, on which we follow Availability Zone-aware deployment practices. The following diagram illustrates the design in which a highly available regional service calls a highly available zonal service.\n\nThe reasons why we design our building-block services to be Availability Zone independent come down to simple arithmetic. Let’s say an Availability Zone is impaired. For black and white failures, the Application Load Balancer will automatically fail away from the affected nodes. However, not all failures are so obvious. There can be gray failures, such as bugs in the software, which the load balancer won’t be able to see in its health check and cleanly handle.\n\nIn the earlier example, where one highly available regional service calls another highly available regional service, if a request is sent through the system, then with some simplifying assumptions, the chance of the request avoiding the impaired Availability Zone is 2/3 * 2/3 = 4/9. That is, the request has worse than even odds of steering clear of the event. In contrast, if we built the green service to be a zonal service as in the current example, then the hosts in the orange service can call the green endpoint in the same Availability Zone. With this architecture, the chances of avoiding the impaired Availability Zone are 2/3. If N services are a part of this call path, then these numbers generalize to (2/3)^N for N regional services versus remaining constant at 2/3 for N zonal services.\n\nIt is for this reason that we built Amazon EC2 NAT gateway as a zonal service. NAT gateway is an Amazon EC2 feature that allows for outbound internet traffic from a private subnet and appears not as a regional, VPC-wide gateway but as a zonal resource, that customers instantiate separately per Availability Zone as shown in the following diagram. The NAT gateway sits in the path of internet connectivity for the VPC, and it is therefore part of the data plane of any EC2 instance within that VPC. If there is a connectivity impairment in one Availability Zone, we want to keep that impairment inside that Availability Zone, rather than spreading it to other zones. In the end, we want a customer who built an architecture similar to that mentioned earlier in this article (that is, by provisioning a fleet across three Availability Zones with enough capacity in any two to carry the full load) to know that the other Availability Zones will be completely unaffected by anything going on in the impaired Availability Zone. The only way for us to do this is to ensure that all foundational components—like the NAT gateway—really do stay within the Availability Zone.\n\nThis choice comes with the cost of additional complexity. For us in Amazon EC2, the additional complexity comes in the form of managing zonal, rather than regional, service environments. For customers of NAT gateway, the additional complexity comes in the form of having multiple NAT gateways and route tables, for use in the different Availability Zones of the VPC. The additional complexity is appropriate because NAT gateway is itself a foundational service, part of the Amazon EC2 data plane that is supposed to provide zonal availability guarantees.\n\nThere’s one more consideration we make when building services that are Availability Zone independent, and that is data durability. Although each of the zonal architectures described earlier shows the entire stack contained within a single Availability Zone, we replicate any hard state across multiple Availability Zones for disaster recovery purposes. For example, we typically store periodic database backups in Amazon S3 and maintain read replicas of our data stores across Availability Zone boundaries. These replicas aren't necessary for the primary Availability Zone to function. Instead, they ensure that we store customer- or business-critical data in multiple locations.\n\nWhen designing a service-oriented architecture that will run in AWS, we have learned to use one of these two patterns, or a combination of both:\n\n- The simpler pattern: regional-calls-regional. This is often the best choice for external-facing services, and appropriate for most internal services as well. For example, when building higher-level application services in AWS, such as Amazon API Gateway and AWS serverless technologies, we use this pattern to provide high availability even in the face of Availability Zone impairments.\n- The more complex pattern: regional-calls-zonal or zonal-calls-zonal. When designing internal, and in some cases external, data plane components within Amazon EC2 (for example, network appliances or other infrastructure that sits directly in the critical data path) we follow the pattern of Availability Zone independence and use instances that are siloed in Availability Zones, so that network traffic remains in its same Availability Zone. This pattern not only helps keep impairments isolated to an Availability Zone but also has favorable network traffic cost characteristics in AWS.\n\n## Conclusion\n\nIn this article, we’ve discussed some simple strategies that we’ve used at AWS for successfully taking dependencies on Availability Zones. We’ve learned that the key to static stability is to anticipate impairments before they happen. Whether a system runs on an active-active horizontally scalable fleet, or whether it is a stateful, active-standby pattern, we can use Availability Zones to target high levels of availability. We deploy our systems so that all capacity that will be needed in the event of an impairment is already fully provisioned and ready to go. Finally, we took a deeper look into how Amazon EC2 itself uses static stability concepts to keep Availability Zones independent of one another.\n\n## About the authors\n\n### Becky Weiss\n\nBecky Weiss is a Senior Principal Engineer at Amazon Web Services. Her current focus is on Identity and Access Management in AWS and, generally, on providing flexible, comprehensive, and authoritative security controls for customers in the cloud. In the past, she has worked on Amazon Virtual Private Cloud (i.e. networking) and AWS Lambda, and she has also worked with AWS Professional Services to help enterprise customers successfully secure their environments in AWS. Becky also happens to be AWS’s biggest fan, and, in her spare time, she builds all manner of useful and useless things on AWS. Prior to working at AWS, Becky worked for Microsoft on Windows and Windows Phone.\n\n[Read more](/builders-library/authors/becky-weiss/)\n\n### Mike Furr\n\nMike Furr is a Principal Engineer at Amazon Web Services. He joined Amazon in 2009 after completing his PhD in Computer Science at the University of Maryland, College Park. During his time at Amazon, he has worked on Virtual Private Cloud, Direct Connect, as well as the AWS metering and billing stack. He now focuses his time on EC2, where he helps teams scale out the cloud.\n\n## Related content\n\n[PDF](https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/product-categories/developer-tools/approved/pdfs/static-stability-using-availability-zones.pdf)\n[Kindle](https://www.amazon.com/dp/B082LRC9HQ)\n\n**Articles**\n[Using load shedding to avoid overload](/builders-library/using-load-shedding-to-avoid-overload/)\n\n## Did you find what you were looking for today?\n\nLet us know so we can improve the quality of the content on our pages", "znaku_textu": 25047, "slov": 3954, "odkazu": 133, "kodovani": "windows-1250", "kodovani_deklarovane": null, "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:25", "sha256": "9101608158039018c2b69614d5a9ff76cf2b6930b195221a6b28510335943c18", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://console.aws.amazon.com/console/home/?nc2=h_si&src=header-signin", "https://signin.aws.amazon.com/signup?request_type=register", "https://calculator.aws/?nc2=h_pr_calc", "https://docs.aws.amazon.com/?nc2=h_rsc_lrn_docs", "https://builder.aws.com/?nc2=h_rsc_cs_bldr", "https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/product-categories/developer-tools/approved/pdfs/static-stability-using-availability-zones.pdf", "https://www.amazon.com/dp/B082LRC9HQ", "https://press.aboutamazon.com/aws", "https://builder.aws.com/?nc1=f_dr", "https://builder.aws.com/build/tools?nc1=f_dr", "https://builder.aws.com/content/2zSx6gTiseJULEcqQFXqm3pzJoW/aws-tools-and-resources-net?nc1=f_dr", "https://builder.aws.com/content/2zYQkMbmrsxHPtT89s3teyKJh79/aws-tools-and-resources-python?nc1=f_dr", "https://builder.aws.com/content/2zZDrpGNFIOPAOT9PXifxnumRUC/aws-tools-and-resources-java?nc1=f_dr", "https://builder.aws.com/content/2zYR2daUzavSaUwnAI9X92Q1tfd/aws-tools-and-resources-php?nc1=f_dr", "https://builder.aws.com/content/2zYRIN2NxZTNLhwP9ZyaiJBEWrI/aws-tools-and-resources-javascript?nc1=f_dr", "https://console.aws.amazon.com/support/home/?nc1=f_dr", "https://repost.aws/?nc1=f_dr", "https://repost.aws/knowledge-center?nc1=f_dr", "https://x.com/awscloud", "https://www.facebook.com/amazonwebservices", "https://www.linkedin.com/company/amazon-web-services/", "https://www.instagram.com/amazonwebservices/", "https://www.twitch.tv/aws", "https://www.youtube.com/user/AmazonWebServices/Cloud/"]} {"url": "https://aws.amazon.com/builders-library/using-load-shedding-to-avoid-overload/", "titulek": "AWS Builder Center", "h1": "", "popis": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "klicova_slova": "", "kanonicka": "https://builder.aws.com", "jazyk": "en", "robots_meta": "", "og": {"og:title": "AWS Builder Center", "og:description": "Connect with builders who understand your journey. Share solutions, influence AWS product development, and access useful content that accelerates your growth. Your community starts here.", "og:image": "https://builder.aws.com/assets/og-hiXAX-on.png", "og:url": "https://builder.aws.com", "og:type": "website"}, "jsonld": [{"@context": "https://schema.org", "@type": "WebSite", "name": "AWS Builder Center", "url": "https://builder.aws.com"}], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://aws.amazon.com/builders-library/", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:17:33", "sha256": "e89c909ed95c641595db30d9381a6654b36d394e80203544b6393ca83a2beb54", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": []}