liveBook · Manning

Reliability

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

Reliability is the ability of a system to perform its intended functions consistently over time.

Reliability is a system’s ability to perform its intended functions consistently over time. AWS services are often highly available or fault tolerant by default, and AWS provides tools for building reliable systems. section 1.3.5

A rolling update can preserve availability during deployment: CloudFormation launches a replacement EC2 instance, waits for it to become ready, and then terminates the old instance. Users can receive the new Etherpad version without downtime. section 15.2

Reliability depends on how deployment work is performed:

  • User data can bootstrap an EC2 instance by installing Node.js and Git, downloading application code, and starting the service. section 15.2
  • Deployment scripts introduce external dependencies: a repository outage can prevent source code or packages from being downloaded. section 15.2
  • Building an AMI with the required application and dependencies removes those boot-time dependencies and can shorten startup. section 15.2

CloudFormation rolling update

Update the CloudFormation stack with a new Etherpad version, let the Auto Scaling group create a replacement instance, verify the application, and allow the old instance to be removed. Check cloud-init logs when bootstrap fails. section 15.2

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Traces reliability from service defaults through rolling updates and bootstrap failures, then points toward AMIs as mitigation.
Examples
Demonstrates reliability through an Etherpad rolling update, bootstrap scripts, repository outages, AMIs, and cloud-init logs.
What you can do after
Operate/configure CloudFormation rolling updates and recognize when AMIs can reduce deployment-script failure risk.
How it connects
Connects reliability with high availability, fault tolerance, CloudFormation, EC2, Auto Scaling, AMIs, and user data.

Also explained in

Compare how 13 books explain reliability →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.