How-to setup a HA/DR database in AWS? [2 - Definitions]
Tags: aws, sre, devops, terraform
Published: 2022-01-18 17:39:38

Welcome to the new post of the serie about **"How to set up a HA/DR database in AWS?"**.

Today, we will look at some definitions of AWS terms that will be used in the following posts. So if you are already aware of AWS and its tools, you can ignore that post and go to the next one.

--- 

## Regions
> AWS has the concept of a Region, which is a physical location around the world where we cluster data centers. We call each group of logical data centers an Availability Zone. Each AWS Region consists of multiple, isolated, and physically separate AZs within a geographic area.

*Maps of current AWS Regions*
![Maps of AWS Regions](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7buromr4c9pxvy5bh0qe.png) 

*Definition from AWS : https://aws.amazon.com/about-aws/global-infrastructure/regions_az/?nc1=h_ls*

---

## Availability Zone
> An Availability Zone (AZ) is one or more discrete data centers with redundant power, networking, and connectivity in an AWS Region. AZs give customers the ability to operate production applications and databases that are more highly available, fault-tolerant, and scalable than would be possible from a single data center. All AZs in an AWS Region are interconnected with high-bandwidth, low-latency networking, over fully redundant, dedicated metro fiber providing high-throughput, low-latency networking between AZs. All traffic between AZs is encrypted.

*Definition from AWS : https://aws.amazon.com/about-aws/global-infrastructure/regions_az/?nc1=h_ls*

---

## AWS RDS
> Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks, such as hardware provisioning, database setup, patching, and backups. It frees you to focus on your applications so you can give them the fast performance, high availability, security, and compatibility they need.

*Definition from AWS : https://aws.amazon.com/rds/?nc1=h_ls*

---

## AWS Global Database
> Amazon Aurora Global Database is designed for globally distributed applications, allowing a single Amazon Aurora database to span multiple AWS regions. It replicates your data with no impact on database performance, enables fast local reads with low latency in each region, and provides disaster recovery from region-wide outages.

*Definition from AWS : https://aws.amazon.com/rds/aurora/global-database/?nc1=h_ls*

---

## AWS S3
> Amazon Simple Storage Service (Amazon S3) is an object storage service offering industry-leading scalability, data availability, security, and performance. Customers of all sizes and industries can store and protect any amount of data for virtually any use case, such as data lakes, cloud-native applications, and mobile apps.

*Definition from AWS : https://aws.amazon.com/s3/*

---

## AWS KMS
> AWS Key Management Service (KMS) makes it easy for you to create and manage cryptographic keys and control their use across a wide range of AWS services and in your applications.

*Definition from AWS : https://aws.amazon.com/kms/?nc1=h_ls*

--- 

## VPC
> A virtual private cloud (VPC) is a virtual network dedicated to your AWS account. It is logically isolated from other virtual networks in the AWS Cloud. You can launch your AWS resources, such as Amazon EC2 instances, into your VPC.

*Definition from AWS : https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html*

---

## Subnet
> A subnet is a range of IP addresses in your VPC. You can launch AWS resources, such as EC2 instances, into a specific subnet. When you create a subnet, you specify the IPv4 CIDR block for the subnet, which is a subset of the VPC CIDR block. Each subnet must reside entirely within one Availability Zone and cannot span zones. By launching instances in separate Availability Zones, you can protect your applications from the failure of a single zone.

*Definition from AWS : https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html*

---

## Instances types
> Instance types comprise varying combinations of CPU, memory, storage, and networking capacity and give you the flexibility to choose the appropriate mix of resources for your applications. Each instance type includes one or more instance sizes, allowing you to scale your resources to the requirements of your target workload.

*Definition from AWS : https://aws.amazon.com/ec2/instance-types/*

---

I hope it will help you! 🍺

And see you soon for the next part of this serie. 😀



---

## Serie link
- **1 - Start** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-1-1ko7
- **2 - Definitions** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-2-definitions-93p
- **3 - Simple database** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-3-simple-database-a9o
- **4 - HA Database** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-4-ha-database-4kek
- **5 - DR database** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-5-dr-database-278b
- **6 - Create from snapshot** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-6-create-from-snapshot-2mbf
- **7 - Dynamic Terraform backend definition** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-7-dynamic-terraform-backend-definition-3aga
- **8 - Multiple instances in multiple regions** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-8-multiple-instances-in-multiple-regions-210d
- **9 - Generate a random value** : https://dev.to/adaendra/how-to-setup-a-hadr-database-in-aws-9-generate-a-random-value-5g8a

---

<center><h3>You want to support me?</h3></center>
<a href="https://www.buymeacoffee.com/mxguilbert7" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>