Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Internal_display_only

Add_workflow_for_techpubs
AUTH2UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26c85b00e8, userName='null'}
AUTH1UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26ca7f046c, userName='null'}
REV5UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cd5909df, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cd5909df, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cbfd06fb, userName='null'}
REV4UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26ca7c0455, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26ccf8090b, userName='null'}
REV2UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cc4107ae, userName='null'}

Panel

In this section:

Table of Contents

Available_since
TypeAvailable Since
Release6.2.1

 

 

To perform any of the activities mentioned in this article, you must log on to your AWS account and navigate to Services > Compute > EC2. For the rest of this article, the webpage you reach after this navigation is referred as "AWS EC2 dashboard".

Anchor
Create Volumes
Create Volumes
Create Volumes

In this sub-section, creation of volumes from a 6.2.1R000 AMI snapshot is illustrated.

Info
titleNote

You must perform the following operations sequentially.

Anchor
Get the AMI ID
Get the AMI ID
Get the AMI ID

Ensure you have the AMI ID of the instance whose snapshot you want to use for creating volumes. If you have the AMI ID, skip to Get the Snapshot ID.

To get the AMI ID:

  1. Using the left navigation panel of your AWS EC2 dashboard, navigate to INSTANCES > Instances.
  2. Select the desired instance.On the lower half of the window, detailed information about the selected instance is displayed.

    Info
    titleNote

    If you are creating volumes in context of AWS Volume-based Upgrade - 5.1.0Sxxx to 6.2.1, the volumes created using a 6.2.1R000 AMI snapshot must be in the same "Availability zone" as that of the 5.1.0Sxxx instances. Ensure to select an instance that is in the same "Availability zone" as that of the 5.1.0Sxxx instances that you want to use for volume-based upgrade.

    Caption
    0Figure
    1AMI ID

  3. Note the Instance ID and the AMI ID, as highlighted in the above image (excluding the parenthesis that encloses the highlighted part of the AMI ID value).

Anchor
Get the Snapshot ID
Get the Snapshot ID
Get the Snapshot ID

  1. Using the left navigation panel of your AWS EC2 dashboard, navigate to IMAGES > AMIs.
  2. Copy the AMI ID that you noted down, and paste it in the search/filter box. The desired AMI is displayed.

    Tip

    You can restrict your search of the type of images (Public/Private/Owned) using the dropdown list on the left of the search box.

    Caption
    0Figure
    1Filter using AMI ID

  3. Select the machine image to display its details in the lower half of the window.

    Caption
    0Figure
    1Snap ID

  4. Note the snapshot ID from the value of the field Block Devices, as highlighted in the above image.

    Info
    titleNote

    As shown in the above image, the snapshot ID ends before the first colon of the highlighted string. For example, if the value of the field Block Devices is /dev/sda1=snap-0d06965xxxf045c6e:30:false:standard, the snapshot ID is snap-0d06965xxxf045c6e.

Anchor
Create a New Volume
Create a New Volume
Create a New Volume

Info
titleNote

Creation of a standalone volume is illustrated here.

If you want to use the volumes as an HA pair, create two volumes. You can refer the first volume as active, and the second volume as standby.

If you want to create two volumes for an HA configuration, you can distinguish between the active and the standby volumes by adding an appropriate tag (for example, "Role") and providing appropriate value for that tag while creating the volumes. The tag's value is ideally based on the CERole that the volume may assume in future.

  1. Using the left navigation panel of your AWS EC2 dashboard, navigate to ELASTIC BLOCK STORE > Snapshots.
  2. Copy the snap ID that you noted down, and paste it in the search/filter box. The desired snapshot is displayed.

    Tip

    You can restrict your search of the type of snapshots (Public/Private/Owned) using the dropdown list on the left of the search box.

    Caption
    0Figure
    1Snapshot

  3. Select the snapshot to display its description in the lower half of the window.

    Caption
    0Figure
    1Selected Snapshot

  4. Right click on the selected instance and select Create Volume.

    Caption
    0Figure
    1Create Volume Option

  5. The Create Volume window is displayed.

    Caption
    0Figure
    1Create Volume Window

    Info
    titleNote
    • If you are creating the volume in context of AWS Volume-based Upgrade - 5.1.0Sxxx to 6.2.1, you must modify the value of the field Volume Type to match the volume types of the 5.1.0Sxxx instances. If the volume is standalone, you may modify the value based on your requirement. Note that the value of the field IOPS changes automatically, based on your selection of Volume Type.
    • For a volume based on a 6.2.1 AMI ID, the value of the field Size must be equal to or greater than 65.
    • If you are creating the volume in context of AWS Volume-based Upgrade - 5.1.0Sxxx to 6.2.1, the value of the field Availability zone must match with the "Availability zone" of the 5.1.0Sxxx instances.
    • If the volume is intended to be used as standalone, do not check the checkbox adjacent to the Tag field - it is not necessary to create additional tags.
  6. Optional (if the volume is intended to be part of an HA pair) - If you want to easily distinguish the active and standby volumes, check the checkbox adjacent to the Tag field and add appropriate key-value pairs, as illustrated in the above image.
  7. After all necessary modifications, click Create Volume. A success message is displayed.

    Caption
    0Figure
    1Create Volume - Success Message

  8. Note the Volume ID of the volume.
  9. Click Close to go back to the AWS EC2 dashboard.
  10. Using the left navigation panel of the AWS EC2 dashboard, navigate to ELASTIC BLOCK STORE > Volumes.
  11. Copy the Volume ID and paste it in the search/filter box to filter the results.
  12. The newly created volume is displayed.

    Caption
    0Figure
    1Volume check

    Image Modified

     

    Image Added


    If the volume is intended to be part of an HA configuration, you may also check the Tag of the volume to identify it's intended role.
    Caption
    0Figure
    1Tag check

Anchor
Detach Volumes
Detach Volumes
Detach Volumes

In this sub-section, the procedure to detach volumes is illustrated, which may be used extensively in context of AWS Volume-based Upgrade - 5.1.0Sxxx to 6.2.1.

Anchor
Shut Down the Instance
Shut Down the Instance
Shut Down the Instance

Ensure the instance whose volume you want to detach is shut down. To shut down a running instance:

  1. Using the left navigation panel of the AWS EC2 dashboard, navigate to INSTANCES > Instances and select the desired instance.

    Tip

    To quickly find the desired instance, filter the instances by using AMI ID. To find the AMI ID, use the techniques illustrated in Get the AMI ID.

  2. Right click on the selected instance, and select Instance State > Stop.

    Caption
    0Figure
    1Stop option

  3. Click Yes, Stop when prompted for confirmation.

    Caption
    0Figure
    1Stop - confirmation

  4. After shut down, the Instance State of the instance must display "stopped".

    Caption
    0Figure
    1Instance State - stopped

Anchor
Detach a Volume
Detach a Volume
Detach the Volume

Info
titleNote

Detaching the root volume of a stopped instance is illustrated here. However, the same procedure can be used to detach any active and standby volumes associated with the instance, as required for AWS Volume-based Upgrade - 5.1.0Sxxx to 6.2.1.

To detach the active and standby volumes, perform the procedure twice.

  1. Select the stopped instance and under the Description section in the lower half of the window, find the field Block Devices.
  2. Click on the value of the Block Devices field. A pop-up is displayed.

    Caption
    0Figure
    1EBS ID

  3. Note the value of the field EBS ID on the pop-up, as highlighted in the above image.
  4. Using the left navigation panel of the AWS EC2 dashboard, navigate to ELASTIC BLOCK STORE > Volumes.
  5. Copy the value of the EBS ID and paste it in the search/filter box to filter the results.
  6. Select the volume, right click and select Detach Volume.

    Caption
    0Figure
    1Detach Volume

  7. Click Yes, Detach when prompted for confirmation.

    Caption
    0Figure
    1Detach - Confirmation

  8. A success message is displayed. Click Close to return to the AWS EC2 dashboard.

Anchor
Attach Volumes
Attach Volumes
Attach Volumes

Info
titleNote

Detaching a standalone volume to a stopped instance is illustrated here. However, the same procedure can be used to attach any active and standby volumes associated with the instance, as required for AWS Volume-based Upgrade - 5.1.0Sxxx to 6.2.1.

To attach the active and standby volumes, perform the procedure twice.

  1. Ensure the instance to which you want to attach volumes is shut down (see Shut Down the Instance), and all volumes attached to it are detached (see Detach Volume).
  2. Using the left navigation panel of the AWS EC2 dashboard, navigate to ELASTIC BLOCK STORE > Volumes.
  3. Copy and Volume ID of the volume that you want to attach and paste it on the search/filter box to filter the results.
  4. Select the volume displayed, right click and select Attach Volume.

    Caption
    0Figure
    1Attach Volume - option

  5. The Attach Volume pop-up is displayed. Provide appropriate values for the fields and click Attach.

    Info
    titleNote

    For volume-based upgrade, the value for the field Device must be /dev/sda1, as the volumes must be attached as root volumes.

    Caption
    0Figure
    1Attach Volume - pop-up window

  6. A success message is displayed. Click Close to return to the AWS EC2 dashboard.

Pagebreak