# 101 - Location

## Read the Docs

If you want to get a better idea about the object that we will be working with in this module, you can review the docs here:

* [Region](https://tuono.gitbook.io/userguide/reference/schema/location/region)
* [Folder](https://tuono.gitbook.io/userguide/reference/schema/location/folder)

## Objectives

The purpose of this short module is to introduce the concepts of "region" and "folder". We will describe how to select a deployment region and how to create a resource group to house all the created resources.

## Location Terminology

{% tabs %}
{% tab title="AWS" %}

#### Region (region)

A geographical location, comprising *n* number of availability zones, depending on the region.

#### Resource Group (folder)

A resource group is a logical grouping of resources. A resource group can only be part of one region, but a Region can have *n* number of resource groups. Resource groups are not default in AWS.
{% endtab %}

{% tab title="Azure" %}

#### Region (region)

A geographical location, comprising *n* number of availability zones, depending on the region.

#### Resource Group (folder)

A resource group is a logical grouping of resources. A resource group can only be part of one region, but a Region can have *n* number of resource groups. Resource Groups are default in Azure.
{% endtab %}
{% endtabs %}

## Key Location Concepts

### Region Schema

With Tuono IaC we will select each region for both AWS and Azure to be a west coast region. us-west-2 is the AWS region and is located in US West (Oregon). For Azure westus2 is located in Washington. This region will be referenced as `hands-on-lab-region`.

```
  region:
    hands-on-lab-region:
      aws: us-west-2
      azure: westus2
```

{% hint style="success" %}
Notice that we deviated from the cardinal directions for defining the regions used in several other Blueprints. This is preferred for European and Asian datacenters in particular where hard-coding the values can give increased clarity in terms of exactly where your infrastructure is deployed.
{% endhint %}

### Folder Schema

We define the folder name as the variable **resource\_group**.

```
  folder:
    (( resource_group )):
      region: hands-on-lab-region
```
