CloudWiki
Resource

Region

Amazon Web Services
Compute
An AWS Region is a geographical area where AWS has one or more data centers, or Availability Zones, that host its cloud computing services. Each Region is designed to be self-contained, with its own power and network infrastructure, and is isolated from other AWS Regions to help ensure maximum fault tolerance and availability.AWS currently operates over 80 Availability Zones across 25 geographic Regions around the world. When you deploy your applications and services on AWS, you can choose the Region that's closest to your end-users or that best meets your compliance requirements, to help ensure low latency, high availability, and data sovereignty.
Terraform Name
terraform
aws_region
Region
attributes:

The arguments of this data source act as filters for querying the available regions. The given filters must match exactly one region whose data will be exported as attributes.

  • name - (Optional) Full name of the region to select.
  • endpoint - (Optional) EC2 endpoint of the region to select.

In addition to all arguments above, the following attributes are exported:

  • name - Name of the selected region.
  • endpoint - EC2 endpoint for the selected region.
  • description - Region's description in this format: "Location (Region name)".

Associating resources with a
Region
Resources do not "belong" to a
Region
Rather, one or more Security Groups are associated to a resource.
Create
Region
via Terraform:
The following HCL provides details about a specific AWS region
Syntax:

data "aws_region" "current" {}

Create
Region
via CLI:
Parameters:

describe-regions
[--filters <value>]
[--region-names <value>]
[--dry-run | --no-dry-run]
[--all-regions | --no-all-regions]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]

Example:

aws ec2 describe-regions \    --filters "Name=endpoint,Values=*us*"

aws cost
Costs
The costs of using an AWS Region depend on the specific services you use and how much you use them. However, there are some general cost considerations to keep in mind when using an AWS Region:Data transfer costs: AWS charges for data transfer in and out of an AWS Region, as well as between Availability Zones within a Region.Storage costs: AWS charges for the storage of data and files within an AWS Region, including object storage, block storage, and file storage.Compute costs: AWS charges for the use of virtual machines, containers, and other compute resources within an AWS Region.Network costs: AWS charges for network resources like load balancers, content delivery networks, and DNS services that are used within an AWS Region.Other costs: Depending on the services you use, there may be additional costs associated with things like databases, messaging, and analytics.It's important to note that AWS provides a pricing calculator to help estimate the costs of using its services in a particular Region. Additionally, AWS offers a range of pricing models, such as pay-as-you-go, reserved instances, and spot instances, to help you optimize your costs based on your usage patterns and needs.‍
Direct Cost

--

Indirect Cost
No items found.
Best Practices for
Region

Categorized by Availability, Security & Compliance and Cost

Low
Access allowed from VPN
No items found.
Low
Auto Scaling Group not in use
No items found.
Medium
Connections towards DynamoDB should be via VPC endpoints
No items found.
Medium
Container in CrashLoopBackOff state
No items found.
Low
EC2 with GPU capabilities
No items found.
Medium
EC2 with high privileged policies
No items found.
Medium
ECS cluster delete alarm
No items found.
Critical
ECS task with Admin access (*:*)
Medium
ECS task with high privileged policies
No items found.
Critical
EKS cluster delete alarm
No items found.
Medium
ElastiCache cluster delete alarm
No items found.
Medium
Ensure Container liveness probe is configured
No items found.
Medium
Ensure ECS task definition has memory limit
No items found.
Critical
Ensure EMR cluster master nodes are not publicly accessible
No items found.
More from
Amazon Web Services