AWS Regions & Availability Zones
Amazon Services are hosted in multiple locations world wide. Amazon provides the ability to place resources and data in multiple locations to improve performance, provide fault tolerance, high availability and cost optimization.
AWS provides customers with the flexibility to place instances and store data within multiple geographic regions called Region. Each region is an independent collection of AWS resources in a defined geography.
- Each region is a separate geographic area and is completely independent
- Each Amazon region is designed to be completely isolated from the other regions & helps achieve the greatest possible fault tolerance and stability
- Communication between regions is across the public Internet and appropriate measures should be taken to protect the data using encryption
- Data transfer between regions is charged at the Internet data transfer rate for both the sending and the receiving instance
- Resources aren’t replicated across regions unless done explicitly
Selection of a Region can be driven from a lot of factors
- Latency – Regions can be selected to be closet to the targeted user base to reduce data latency
- Cost – AWS provides the same set of services across all regions, usually, however the cost would differ from region to region depending upon the cost (due to land, electricity, bandwidth etc) incurred by Amazon and hence can be cheaper in one region compared to the other
- Legal Compliance – Lot of the countries enforce compliance and regulatory requirements for data to reside within the region itself
- Features – As not all the regions provide all the AWS features and services, the region selection can depend on the Services supported by the region
Each Region consists of multiple, isolated locations known as Availability Zones and each Availability Zone runs on its own physically distinct, independent infrastructure and is engineered to be highly reliable.
- Each Region has multiple Availability Zones.
- Each AZ is physically isolated from each other so that an uncommon disaster such as fire, earthquake would only affect a single AZ
- AZs are geographically separated from each other, within the same region, and acts as an independent failure zone
- AZs are redundantly connected to multiple tier-1 transit providers
- AZs in a region are connected with low-latency private links and not through public internet
- Multi-AZ, distribution of resources across multiple Availability Zones, feature can be used to distribute instances across multiple AZ to provide High Availability
- AWS ensures that resources are distributed across the Availability Zones for a region by independently mapping Availability Zones to identifiers for each account. for e.g. us-east-1 region with us-east-1a AZ might not be the same location as us-east-1a AZ for another account. There’s no way for you to coordinate Availability Zones between accounts.
- Edge locations are locations maintained by AWS through a worldwide network of data centers for the distribution of content.
- These locations are located in most of the major cities around the world and are used by CloudFront (CDN) to distribute content to end user to reduce latency.
AWS Certification Exam Practice Questions
- Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
- AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
- AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
- Open to further feedback, discussion and correction.
- George has launched three EC2 instances inside the US-East-1a zone with his AWS account. Ray has launched two EC2 instances in the US-East-1a zone with his AWS account. Which of the below entioned statements will help George and Ray understand the availability zone (AZ) concept better?
- The instances of George and Ray will be running in the same data centre
- All the instances of George and Ray can communicate over a private IP with a minimal cost
- All the instances of George and Ray can communicate over a private IP without any cost
- us-east-1a region of George and Ray can be different availability zones