Book Image

Implementing Cloud Design Patterns for AWS - Second Edition

By : Sean Keery, Clive Harber, Marcus Young
Book Image

Implementing Cloud Design Patterns for AWS - Second Edition

By: Sean Keery, Clive Harber, Marcus Young

Overview of this book

Whether you're just getting your feet wet in cloud infrastructure or already creating complex systems, this book will guide you through using the patterns to fit your system needs. Starting with patterns that cover basic processes such as source control and infrastructure-as-code, the book goes on to introduce cloud security practices. You'll then cover patterns of availability and scalability and get acquainted with the ephemeral nature of cloud environments. You'll also explore advanced DevOps patterns in operations and maintenance, before focusing on virtualization patterns such as containerization and serverless computing. In the final leg of your journey, this book will delve into data persistence and visualization patterns. You'll get to grips with architectures for processing static and dynamic data, as well as practices for managing streaming data. By the end of this book, you will be able to design applications that are tolerant of underlying hardware failures, resilient against an unexpected influx of data, and easy to manage and replicate.
Table of Contents (20 chapters)
Title Page
Dedication
About Packt
Contributors
Preface
Free Chapter
1
Introduction to Amazon Web Services
Index

Business continuity


We need to keep the product running even if human errors happen, or natural disasters or data corruption. In this section, we will look at ways Amazon helps us to lower our time to remedy some common disruptions. Good practices for incident management and post-mortems help us to stay within our error budgets while strengthening our services. In our metrics-driven engineering practice, we recommend exercising these processes regularly in order to fine tune your existing SLOs and identify any missing ones. 

Snapshots

Just as we use S3 to replicate our objects, CodeCommit to protect our source, and ECR for the durability of our container images (in the next chapter), we can use disk snapshots to help us to safeguard our instance-attached storage:

resource "aws_ebs_volume" "example" {
  availability_zone = "us-west-2a"
  size = 40
  tags {
    Name = "HelloWorld"
  }
}

resource "aws_ebs_snapshot" "example_snapshot" {
  volume_id = "${aws_ebs_volume.example.id}"
  tags {
  ...