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

# Module 5

### All about AWS Compute Services

{% embed url="<https://awsfdn.adot8.com/module-6>" %}

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

### Compute service Category differences

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

### EC2 AMI's

{% embed url="<https://awsfdn.adot8.com/module-6#launching-an-amazon-ec2-instance>" %}

### EC2 Image Builder

Essentially like a pipeline. Tell it that it will create a new image every Friday

EC2 Image Builder automates the creation, management, and deploymentof up-to-date and compliant golden VM images.

* Provides a graphical interface to create image-building pipelines
* Creates and maintains Amazon EC2 AMIs and on-premises VM images
* Produces secure, validated, and up-to-date images
* Enforces version control

### EC2 Storage

{% hint style="info" %}

* Instance store is temporary. Just like memory it will be wiped once the instance is stopped
* EBS is attached like a Hard Drive
* EFS/FSx is used a like a network file share. It can be attached to multiple instances
  {% endhint %}

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

{% embed url="<https://awsfdn.adot8.com/module-6#amazon-ec2-storage-options>" %}

#### EFS/FSx

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

#### Amazon FSx for Windows

* Provides fully managed shared file system storage for Microsoft Windows EC2 instances
* •Native Microsoft Windows compatibility
* New Technology File System (NTFS)
* &#x20;Uses Native Server Message Block (SMB) protocol version 2.0 to 3.1.1
* Distributed File System (DFS) Namespaces and DFS Replication
* Integrates with Microsoft Active Directory and supports Windows access control lists (ACLs)

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

#### User Scripts

You can place a script that will automatically install a webserver or specific packages on instance launch for example.

<figure><img src="/files/4Ta5yXuI3jInBoeNGldx" alt=""><figcaption></figcaption></figure>

#### Best Practices

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

#### AMI Deployment Models

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

### Placement Groups

| Placement Benefits                              | Placement Limitations                                                   | Placement Strategies |
| ----------------------------------------------- | ----------------------------------------------------------------------- | -------------------- |
| Increase network performance between instances. | An instance can be launched in only one placement group at a time.      | Cluster              |
| Reduce correlated or simultaneous failure.      | Instances with a tenancy of host can’t be launched in a placement group | Partition            |
|                                                 |                                                                         | Spread               |

* Cluster: Packs instances close together inside an Availability Zone. This strategy helps workloads to achieve low-latency network performance.&#x20;
* Partition: Spreads your instances across logical partitions so that groups of instances in one partition do not share the underlying hardware with groups of instances in different partitions.
* Spread: Strictly places a small group of instances across distinct underlying hardware to reduce correlated failures.
