AWS Global, Regional, AZ resource Availability
- AWS provides a lot of services and these services are either Global, Regional, or Availability Zone specific and cannot be accessed outside.
- Most of the AWS-managed services are regional-based services with few exceptions being Global (e.g. IAM, Route53, CloudFront, etc) or AZ bound.
Global vs Regional vs AZ Resource locations
AWS Networking Services
- Virtual Private Cloud
- VPC – Regional
- VPCs are created within a region
- Subnet – Availability Zone
- A subnet can span only a single Availability Zone
- Security groups – Regional
- A security group is tied to a region and can be assigned only to instances in the same region.
- VPC Endpoints – Regional
- VPC Gateway & Interface Endpoints cannot be created between a VPC and an AWS service in a different region.
- VPC Peering –
Regional- VPC Peering can be performed across VPC in the same account of different AWS accounts
but only within the same region. They cannot span across regions - VPC Peering can now span inter-region
- VPC Peering can be performed across VPC in the same account of different AWS accounts
- Elastic IP Address – Regional
- Elastic IP addresses created within the region can be assigned to instances within the region only.
- Elastic Network Interface – Availability Zone
- VPC – Regional
- Route 53 – Global
- Route53 services are offered at AWS edge locations and are global
- CloudFront – Global
- CloudFront is the global content delivery network (CDN) services are offered at AWS edge locations
- ELB, ALB, NLB, GWLB – Regional
- Elastic Load Balancer distributes traffic across instances in multiple Availability Zones in the same region
- Use Route 53 to route traffic to load balancers across regions.
- Direct Connect Gateway – Global
- is a globally available resource that can be created in any Region and accessed from all other Regions.
- Transit Gateway – Regional
- is a Regional resource and can connect VPCs within the same AWS Region.
- Transit Gateway Peering can be used to attach TGWs across regions.
- AWS Global Accelerator – Global
- is a global service that supports endpoints in multiple AWS Regions.
AWS Compute Services
- EC2
- Resource Identifiers – Regional
- Each resource identifier, such as an AMI ID, instance ID, EBS volume ID, or EBS snapshot ID, is tied to its region and can be used only in the region where you created the resource.
- Instances – Availability Zone
- An instance is tied to the Availability Zones in which you launched it. However, note that its instance ID is tied to the region.
- EBS Volumes – Availability Zone
- Amazon EBS volume is tied to its Availability Zone and can be attached only to instances in the same Availability Zone.
- EBS Snapshot – Regional
- An EBS snapshot is tied to its region and can only be used to create volumes in the same region and has to be copied from one region to another if needed.
- AMIs – Regional
- AMI provides templates to launch EC2 instances
- AMI is tied to the Region where its files are located with Amazon S3. For using AMI in different regions, the AMI can be copied to other regions
- Auto Scaling – Regional
- Auto Scaling spans across multiple Availability Zones within the same region but cannot span across regions
- Resource Identifiers – Regional
- Cluster Placement Groups – Availability Zone
- Cluster Placement groups can span across Instances within the same Availability Zones
- ECS – Regional
- ECR – Regional
- Images can be pushed/pulled within the same AWS Region.
- Images can also be pulled between Regions or out to the internet with additional latency and data transfer costs.
AWS Storage Services
- S3 – Global but Data is Regional
- S3 buckets are created within the selected region
- Objects stored are replicated across Availability Zones to provide high durability but are not cross-region replicated unless done explicitly.
- S3 cross-region replication can be used to replicate data across regions.
- DynamoDB – Regional
- All data objects are stored within the same region and replicated across multiple Availability Zones in the same region
- Data objects can be explicitly replicated across regions using cross-region replication
- DynamoDB Global Tables – Across Regions
- is a new multi-master, cross-region replication capability of DynamoDB to support data access locality and regional fault tolerance for database workloads
- Storage Gateway – Regional
- AWS Storage Gateway stores volume, snapshot, and tape data in the AWS region in which the gateway is activated
AWS Identity & Security Services
- Identity Access Management – IAM
- Users, Groups, Roles, Accounts – Global
- Same AWS accounts, users, groups, and roles can be used in all regions
- Key Pairs – Global or Regional
- EC2 created key pairs are specific to the region
- RSA key pair can be created and uploaded that can be used in all regions
- Users, Groups, Roles, Accounts – Global
- Web Access Firewall – WAF – Global
- protect web applications from common web exploits and is offered at AWS edge locations globally.
- AWS GuardDuty – Regional
- findings remain in the same Regions where the underlying data was generated.
- Amazon Detective – Regional
- Amazon Inspector – Regional
- Amazon Macie – Regional
- must be enabled on a region-by-region basis and helps view findings across all the accounts within each Region.
- verifies that all data analyzed is regionally based and doesn’t cross AWS regional boundaries.
- AWS Security Hub – Regional.
- supports cross-region aggregation of findings via the designation of an aggregator region.
- AWS Migration Hub – Regional.
- runs in a single home region, however, can collect data from all regions
AWS Management & Governance Tools
- AWS Config – Regional
- AWS Service Catalog – Regional
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.
- You would like to create a mirror image of your production environment in another region for disaster recovery purposes. Which of the following AWS resources do not need to be recreated in the second region? (Choose 2 answers)
- Route 53 Record Sets
- IAM Roles
- Elastic IP Addresses (EIP) (are specific to a region)
- EC2 Key Pairs (are specific to a region)
- Launch configurations
- Security Groups (are specific to a region)
- When using the following AWS services, which should be implemented in multiple Availability Zones for high availability solutions? Choose 2 answers
- Amazon DynamoDB (already replicates across AZs)
- Amazon Elastic Compute Cloud (EC2)
- Amazon Elastic Load Balancing
- Amazon Simple Notification Service (SNS) (Global Managed Service)
- Amazon Simple Storage Service (S3) (Global Managed Service)
- What is the scope of an EBS volume?
- VPC
- Region
- Placement Group
- Availability Zone
- What is the scope of AWS IAM?
- Global (IAM resources are all global; there is not regional constraint)
- Availability Zone
- Region
- Placement Group
- What is the scope of an EC2 EIP?
- Placement Group
- Availability Zone
- Region (An Elastic IP address is tied to a region and can be associated only with an instance in the same region. Refer link)
- VPC
- What is the scope of an EC2 security group?
- Availability Zone
- Placement Group
- Region (A security group is tied to a region and can be assigned only to instances in the same region)
- VPC