其他分享
首页 > 其他分享> > [Cloud Architect] 1. Design for Availability, Reliability, and Resiliency

[Cloud Architect] 1. Design for Availability, Reliability, and Resiliency

作者:互联网

Introduction to Availability, Reliability and Resiliency

Availability

A measure of time that a system is operating as expected. Typically measured as a percentage.

Failover should be fast

Reliability

A measure of how likely something is to be operating as expected at any given point in time. Said differently, how often something fails.

Uptime should be long

Resiliency

A measure of a system's recoverability. How quickly and easily a system can be brought back online.

Survive the failure

When To Use Resilient Solutions

Generally speaking, resilient systems are more expensive than non-resilient systems.

They can also be more complex to run and maintain. Thus, you should consider the tradeoffs of where you do or do not need resiliency.

Think through the use case and business requirements of a particular environment before deciding if you should be building out full redundancy.

Production Env & Pre-Production Env need Resilient

Test & Dev do not

 

Introduction To AZs And Regions

Availability Zones and Regions are the core components within AWS that allow for fault isolation.

The AWS global infrastructure is made up of multiple geographic regions spread around the world. They are connected via high-speed networking but are independent.

An AWS region is made up of multiple Availability Zones. These Availability Zones allow for fault isolation within a region and provide the simplest way to achieve a significant level of redundancy.

 

In this lesson, you will learn about the physical and networking infrastructure that AWS provides. You will build infrastructure that uses many of the capabilities of AWS's global footprint.

You will begin at the largest level with AWS Regions, then learn about Availability Zones within Regions. From there, you'll get to know more about VPCs, your own network within AWS, and then how to use AWS networking features to create custom network layouts.

 

As you learn about the capabilities of AWS for reliability and redundancy, it is important to consider what level of availability is required for a use case or environment. Some non-critical cases require no redundancy, while production environments typically do require it.

When considering how to architect a service, you should think about how a disruption or data loss in that service would impact your business.

You'll need to think about what it will take to restore service as well as what your business has committed to in its contractual obligations.

 

Regions

An AWS Region is a geographically separate portion of the AWS global infrastructure. Each region is separated from the others by hundreds of miles. They are isolated so that they are not interdependent, but they are connected by a global high speed, high bandwidth private AWS network.

Running in multiple regions is completely optional. In fact, if you don't intentionally try to, you'll only be running in one region. One reason for this is that there is some amount of additional cost to run in multiple regions. You must determine if your use case warrants the cost and complexity.

Most AWS services must be managed on a per-region basis. When you create a resource in one region, it does not exist in the other regions. There are a few exceptions, however. These exceptions are "global" AWS services such as IAM, where identity and access management must span the entirety of AWS or services such as CloudFront and S3 where they are not managed on a per-region basis.

 

Availability Zones

An AWS Availability Zone (AZ) is a subsection of an AWS Region. A Region has multiple Availability Zones, and the exact number depends on the Region. An AZ is a physically independent building with its own power and network connectivity. AZs within a region are generally separated by several miles and connected to each other with extremely high bandwidth network connections.

 

Multi-A

Many AWS services are able to make use of multiple AZs if you configure them to do so. When services are configured to use multiple AZs, they are considered to be highly available. Even if an entire AZ (complete datacenter) went down, your service would continue to run with minimal interruption.

Virtual Private Clouds

A Virtual Private Cloud (VPC) is a private network that you control within the larger AWS network. These private networks allow you to configure your network architecture the way you desire. A VPC is region specific. You decide if your VPCs connect to each other or if you keep them independent. If you connect your VPCs, it's up to you to configure them according to regular networking guidelines.

Network Ranges

A network range is a consecutive set of IP addresses.

Network ranges are described using "CIDR" notation. CIDR notation consists of the first IP address of the network range, followed by a "slash", followed by a number. That number describes how many consecutive address are in the range. A "/24" address has 255 addresses, while a "/16" has 65,536 addresses.

 

Subnet

RouteTable

Internet gateway

NAT Gateway

Security group

NACL

Debugging VPC Networks

VPC Flow Logs

Flow logs allow you to see higher level network debugging information like the source port and source IP, and destination port and destination IP of traffic flowing within your VPC.

Traffic Mirroring

Traffic mirroring is like traditional "packet sniffing" on specific ports.

 

Edge Cases

AWS networking does have some limitations that your own data center network would not.

You can connect VPCs together to enable:

Lesson Recap

There are many tools and capabilities at your disposal with Regions, AZs, VPCs and AWS networking. Most things that are possible in an in-house network are available in AWS. These functions allow you to have flexibility and security as well as global reach.

Lesson Objectives

You will be able to:

Glossary

Further Reading

标签:Resiliency,network,region,AWS,Availability,Reliability,Design,VPC,your
来源: https://www.cnblogs.com/Answer1215/p/15176008.html