> For the complete documentation index, see [llms.txt](https://awsfdn.adot8.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://awsfdn.adot8.com/module-7.md).

# Module 7

### Core AWS Services

<figure><img src="/files/GgFy3bhChOPfXaiF9gOZ" alt=""><figcaption></figcaption></figure>

### Amazon Elastic Block Store

{% hint style="info" %}
Can be thought of as a USB being able to write the bytes in a file
{% endhint %}

#### &#x20;AWS storage options: Block storage versus object storage

<figure><img src="/files/KVUHOTKBAbCUOQIriCRa" alt=""><figcaption></figcaption></figure>

Amazon EBS enables you to createindividualstorage volumes and attachthemto an Amazon EC2 instance

* Volumes are automatically replicated for redundancy within its Availability Zone by default
* Amazon EBS offers block-level storage
* It can be backed up automatically to Amazon S3 through snapshots

#### Volume Type Use Cases

<figure><img src="/files/XRT8y7uUoe5gJH4vKW1H" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
io2 and io3 (Provisioned  IOPS)  are the only volume types that can be attached to two instances simultaneously. All of the other options can only be attached to one
{% endhint %}

#### EBS Features

* Snapshots
  * Point-in-time snapshots
  * Recreate a new volume at any time

{% hint style="info" %}
If you accidentally delete a resource like a snapshot, it will be kept for some time in the **Recycle Bin.** A retention rule must be created

This can only be done for **storage EBS and AMI's**
{% endhint %}

* Encryption
  * Encrypted Amazon EBS volumes
  * No additional costs
* Elasticity
  * Increase capacity
  * Change to different types

#### EBS Volumes, IOPS, and pricing

* Volumes&#x20;
  * EBS volumes persist independently from the instance.
  * Charges you by the amount you provision in GB per month until you release the storage
* IOPS –&#x20;
  * General Purpose SSD:
    * Charges you by the amount you provision in GB per month until storage is released.
  * Magnetic
    * Charged by the number of requests to the volume
  * Provisioned IOP SSD
    * Charged by the amount that you provision in IOPS (multiplied by the percentage of days that you provision for the month)
* Snapshots
  * Added cost of Amazon EBS snapshots to Amazon S3 is per GB-month of data stored
* Data Trandfers
  * Inbound data transfer is free.
  * Outbound data transfer across Regions incurs charges

### Amazon Simple Storage Service (S3)

<figure><img src="/files/hZ6WQ4x1VCSM21GKcOk1" alt=""><figcaption></figcaption></figure>

#### Amazon S3 Storage Classes:

* Amazon S3 Standard•
* Amazon S3 Intelligent-Tiering
* Amazon S3 Standard-Infrequent Access (Amazon S3 Standard-IA)
* Amazon S3 One Zone-Infrequent Access (Amazon S3 One Zone-IA)
* Amazon S3 Glacier&#x20;
* Amazon S3 Glacier Deep Archive

#### Amazon S3 bucket URL types

{% hint style="info" %}
The bucket name must be globally unique; you cant use underscores for the name
{% endhint %}

<figure><img src="/files/CHA5q9VmlJaEIaRywmBm" alt=""><figcaption></figcaption></figure>

#### &#x20;Bucket Redundancy

* Amazon S3 buckets are associated with a Region
* The bucket is redundantly stored across multiple AWS facilities within your selected Region.
* Built to be durable even if two AWS facilities go down

{% hint style="info" %}
The durability is built for 11 9's (99.99999999999)

Means you will lose 1 file in a year if its multiple terabytes
{% endhint %}

<figure><img src="/files/TnORNZb40CCjqF3yx3Ao" alt=""><figcaption></figcaption></figure>

#### Scalability

Amazon S3 automatically manages the storage behind your bucket while your data grows. You can get started immediately, and your data storage will grow with your application needs

It scales to handle a high volume of requests. You do not need to provision the storage or throughput, and you are billed only for what you use

#### Access with the following

<figure><img src="/files/tKeNTWkiKWVKfjMiEzC7" alt=""><figcaption></figcaption></figure>

#### Use cases

* Storing application assets
* Static web hosting
* Backup and disaster recovery (DR)
* Staging area for big data

#### Common Scenarios

<figure><img src="/files/VAKwGbCh6aInnIDpvRvg" alt=""><figcaption></figcaption></figure>

AWS Pricing

1. Storage class type&#x20;
   1. Standard storage is designed for:
      1. 11 9s of durability
      2. Four 9s of availability
   2. S3 Standard-Infrequent Access (S-IA) is designed for:
      1. 11 9s of durability
         1. Three 9s of availability
2. Amount of Storage
   1. The number and size of objects
3. Requests
   1. The number and type of requests (GET, PUT, COPY)
   2. Different rates for GET requests than other requests
4. Data Transfer
   1. Pricing is based on the amount of data that is transferred out of the Amazon S3 Region
   2. Data transfer is free, but you incur charges for data that is transferred out

{% hint style="info" %}
Data transferred in **FREE** ; transferred out **NOT FREE**
{% endhint %}

### Amazon Elastic File System (Amazon EFS)

Amazon EFS is

#### Features

* File storage in the AWS Cloud
* &#x20;•Works well for big data and analytics, media processing workflows, content management, web serving, and home directories
* •Petabyte-scale, low-latency file system
* •Shared storage
* •Elastic capacity
* •Supports Network File System (NFS) versions 4.0 and 4.1 (NFSv4)
* •Compatible with all Linux-based AMIs for Amazon EC2

#### EFS Architecture

<figure><img src="/files/gWJ7MtzOr8RjOgfWlInI" alt=""><figcaption></figcaption></figure>

Amazon EFS provides file storage in the cloud. With Amazon EFS, you can create a file system, mount the file system on an Amazon EC2 instance, and then read and write data from to and from your file system.

Every availability zone will have a mount point. We can then connect it to an instance that belongs to your VPC subnet

#### Implementation

<figure><img src="/files/RmITwZlwG9rEcrwLcP1s" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IOpqtol6nWn7jZqk7zt8" alt=""><figcaption></figcaption></figure>

### Amazon S3 Glacier

Used for long-term and archive data.

<figure><img src="/files/OMHihuIXrDVgY2IQRfaY" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5ALbteubFuYJCAYTkdDs" alt=""><figcaption></figcaption></figure>

#### Lifecycle Policy

<figure><img src="/files/kjQJRMZZBjjIHyAf5BhJ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://awsfdn.adot8.com/module-7.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
