Bug 2185248

Summary: EC2 AMIs default to the gp3 EBS volume type
Product: [Fedora] Fedora Reporter: Ben Cotton <bcotton>
Component: Changes TrackingAssignee: Major Hayden 🤠 <mhayden>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: amoloney, davdunc, mhayden, thrcka, trawets
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-14 18:57:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2158243    

Description Ben Cotton 2023-04-07 15:00:50 UTC
This is a tracking bug for Change: EC2 AMIs default to the gp3 EBS volume type
For more details, see: https://fedoraproject.org/wiki/Changes/CloudEC2gp3

In Amazon EC2, Elastic Block Store (EBS) volumes can be one of several types. These can be specified at volume creation time, including for the default volumes that are created on instance launch. An AMI will have default volumes and volume types configured. Fedora currently defaults to the gp2 volume type. This proposal is to switch to gp3 as the default volume type for Fedora. The gp3 volume type is both more flexible than gp2, and can be up to 20% cheaper per GB.

If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.

Comment 1 Major Hayden 🤠 2023-05-03 19:02:41 UTC
PR is in place to do this along with BZ 2192929: https://pagure.io/fedora-infra/ansible/pull-request/1420

Feel free to assign this to me if you like!

Comment 2 Major Hayden 🤠 2023-05-04 11:23:03 UTC
PR merged and only a gp3 image appeared overnight. 👏

$ aws ec2 describe-images --image-id ami-0290c817e9b648821               
{
    "Images": [
        {
            "Architecture": "x86_64",
            "CreationDate": "2023-05-04T09:46:44.000Z",
            "ImageId": "ami-0290c817e9b648821",
            "ImageLocation": "125523088429/Fedora-Cloud-Base-Rawhide-20230504.n.0.x86_64-hvm-us-east-1-gp3-0",
            "ImageType": "machine",
            "Public": true,
            "OwnerId": "125523088429",
            "PlatformDetails": "Linux/UNIX",
            "UsageOperation": "RunInstances",
            "State": "available",
            "BlockDeviceMappings": [
                {
                    "DeviceName": "/dev/sda1",
                    "Ebs": {
                        "DeleteOnTermination": true,
                        "SnapshotId": "snap-01e12ae1fac7eea1d",
                        "VolumeSize": 6,
                        "VolumeType": "gp3",
                        "Encrypted": false
                    }
                }
            ],
            "Description": "Fedora AMI Description",
            "EnaSupport": true,
            "Hypervisor": "xen",
            "Name": "Fedora-Cloud-Base-Rawhide-20230504.n.0.x86_64-hvm-us-east-1-gp3-0",
            "RootDeviceName": "/dev/sda1",
            "RootDeviceType": "ebs",
            "VirtualizationType": "hvm",
            "DeprecationTime": "2025-05-04T09:46:44.000Z"
        }
    ]
}

Comment 3 Ben Cotton 2023-05-04 13:18:55 UTC
Setting to ON_QA for tracking purposes.

Comment 4 Aoife Moloney 2023-11-14 18:57:27 UTC
F39 was released on November 7th, so I am closing this tracker. If this Change was not completed, please notify me ASAP.