Support multiple virtualization and root device type AMIs in aws_watch_pending.py

RESOLVED WONTFIX

Status

Release Engineering
General Automation
RESOLVED WONTFIX
3 years ago
a month ago

People

(Reporter: rail, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3226] )

(Reporter)

Description

3 years ago
To be able using instance store (S3) backed AMIs in parallel with EBS-backed ones it would be great to add support for multiple AMI types in aws_watch_pending.py. Having support for multiple virtualization types (PV and HVM) would be great as well.

As a possible solution we can use the config file and specify supported virtualization type(s) and used root volume type per instance type in http://hg.mozilla.org/build/cloud-tools/file/504bd721f9b4/configs/watch_pending.cfg#l34

An example config would look like this:
   ....
    "spot": {
        "rules": {
            "tst-linux64": [
                {"instance_type": "m1.medium",
                 "ignored_azs": ["us-east-1b"],
                 "performance_constant": 1,
                 "bid_price": 0.07,
                 "root-volume-type": "ebs",
                 "virtualization": "paravirtual"},
                {"instance_type": "m3.medium",
                 "ignored_azs": ["us-east-1b"],
                 "performance_constant": 1.1,
                 "bid_price": 0.08,
                 "root-volume-type": "instance-store",
                 "virtualization": "hvm"}
            ],
   ....

then we can filter our AMIs depending on spot prices.
(Reporter)

Updated

3 years ago
Depends on: 1068025

Updated

3 years ago
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3216]

Updated

3 years ago
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3216] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3221]

Updated

3 years ago
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3221] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3226]
(Reporter)

Comment 1

2 years ago
back to the pool
Assignee: rail → nobody

Updated

a month ago
Status: NEW → RESOLVED
Last Resolved: a month ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.