Exploring EC2 Placement Groups | Scribe

    Exploring EC2 Placement Groups

    • Hafeez Baig |
    • 8 steps |
    • 34 seconds
    information ordinal icon

    Refer to the following guide to learn how to use IAM in the cloud<https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg>

    1

    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice

    2

    Type **EC2** in the search bar and click on **EC2** to view the EC2 Dashboard

    3

    On the EC2 dashboard click on **Placement Groups** from the left bar to view the Placement Groups

    information ordinal icon

    **What are Placement groups in AWS?** Placement groups in AWS are logical groupings of instances within a single Availability Zone. Two types are available: Cluster for low-latency communication and Spread for increased availability. They help optimize instance placement based on specific performance and availability needs.

    4

    Click on the **Create placement group** button from the top right of the page

    5

    **Create placement group** wizard will open, Name the New Placement group and choose a Placement strategy

    6

    You can select a different **Placement strategy** from the dropdown and select **Partition**

    information ordinal icon

    **What is Placement Strategy and its types?** Placement Strategy refers to how you decide where to run your compute resources, like virtual machines or containers.\ \ There are three main placement group strategies: - **Cluster:** Places instances on the same underlying hardware as possible. This is ideal for workloads that benefit from low latency network communication. - **Spread:** Distributes instances across different hardware within the Availability Zone. This helps to improve fault tolerance as a hardware failure is less likely to impact all your instances. - **Partition:** Creates isolated groups of instances within an Availability Zone. This can be useful for security-sensitive workloads.

    7

    In the Placement strategy "**Partition**" You can specify the Number of partitions in the Placement group, then select the Number of partitions as **2**

    8

    Click on the **Create group** button to create a new Placement group

    information ordinal icon

    Congratulations on completing this lab and Exploring EC2 Placement Groups! Good job!