EC2でWindows Server 2019が利用できるようになりました!

2019.01.09

この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。

はじめに

今年初投稿です。

中山(順)です。

EC2でWindows Server 2019が利用できるようになりました。 待望のLTSB版です。

Amazon EC2 の Windows Server 2019 AMI を発表

Semi-Annual Channelの最新イメージは先月すでに公開されております。

【新機能】Amazon EC2でWindows Server バージョン1809が使えるようになりました #reinvent

提供されているAMI

AMIの一覧からWindows Server 2019のイメージを抽出してみます(2019年1月9日時点での結果です)。

aws ec2 describe-images \
    --owners amazon \
    --filters "Name=name,Values=Windows_Server-2019-*" \
    --query "sort_by(Images,&Name)[].[Name,ImageId]"
[
    [
        "Windows_Server-2019-Chinese_Simplified-Full-Base-2018.12.12",
        "ami-0073860b593c290ea"
    ],
    [
        "Windows_Server-2019-Chinese_Traditional-Full-Base-2018.12.12",
        "ami-02355ee1008c5a2d8"
    ],
    [
        "Windows_Server-2019-Czech-Full-Base-2018.12.12",
        "ami-03ed82b0e6a89b229"
    ],
    [
        "Windows_Server-2019-Dutch-Full-Base-2018.12.12",
        "ami-044469c77bfcd5ecf"
    ],
    [
        "Windows_Server-2019-English-Core-Base-2018.12.12",
        "ami-056cbd6f905d63001"
    ],
    [
        "Windows_Server-2019-English-Core-ContainersLatest-2018.12.12",
        "ami-02b3be67860742241"
    ],
    [
        "Windows_Server-2019-English-Full-Base-2018.12.12",
        "ami-065bdc46039060415"
    ],
    [
        "Windows_Server-2019-English-Full-ContainersLatest-2018.12.12",
        "ami-0ea82bac9f1832826"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2016_SP2_Enterprise-2018.12.12",
        "ami-046b68b32b0a62f02"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2016_SP2_Express-2018.12.12",
        "ami-0a817ec2bc4d540a2"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2016_SP2_Standard-2018.12.12",
        "ami-06efec6d05e66cfc0"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2016_SP2_Web-2018.12.12",
        "ami-041e5784b219a2031"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2017_Enterprise-2018.12.12",
        "ami-06fcdf05285c96e3b"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2017_Express-2018.12.12",
        "ami-0548ed0bcc682426d"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2017_Standard-2018.12.12",
        "ami-0a3eb10276001f94d"
    ],
    [
        "Windows_Server-2019-English-Full-SQL_2017_Web-2018.12.12",
        "ami-0c127c93953a675ee"
    ],
    [
        "Windows_Server-2019-French-Full-Base-2018.12.12",
        "ami-0aefb4c7bbe6a9ef3"
    ],
    [
        "Windows_Server-2019-German-Full-Base-2018.12.12",
        "ami-0a5374061ba775d41"
    ],
    [
        "Windows_Server-2019-Hungarian-Full-Base-2018.12.12",
        "ami-0d05eae7116d9254e"
    ],
    [
        "Windows_Server-2019-Italian-Full-Base-2018.12.12",
        "ami-0f9b48eb47d1efbad"
    ],
    [
        "Windows_Server-2019-Japanese-Full-Base-2018.12.12",
        "ami-09e055a449fd8795c"
    ],
    [
        "Windows_Server-2019-Korean-Full-Base-2018.12.12",
        "ami-081b13c63904d6fc7"
    ],
    [
        "Windows_Server-2019-Polish-Full-Base-2018.12.12",
        "ami-0e995d25ee0c8c82c"
    ],
    [
        "Windows_Server-2019-Portuguese_Brazil-Full-Base-2018.12.12",
        "ami-0acc4c9fbfe6fde9f"
    ],
    [
        "Windows_Server-2019-Portuguese_Portugal-Full-Base-2018.12.12",
        "ami-052c0f351403a12e2"
    ],
    [
        "Windows_Server-2019-Russian-Full-Base-2018.12.12",
        "ami-09c40875b7d2713a4"
    ],
    [
        "Windows_Server-2019-Spanish-Full-Base-2018.12.12",
        "ami-040f0ce81275c69a8"
    ],
    [
        "Windows_Server-2019-Swedish-Full-Base-2018.12.12",
        "ami-050e0f9b7994bee04"
    ],
    [
        "Windows_Server-2019-Turkish-Full-Base-2018.12.12",
        "ami-078c889618b965692"
    ]
]

日本語版は基本イメージしか提供されていませんが、英語版はServer CoreやSQL Server込みのAMIが提供されています。 そのうち日本語版も充実すると推測されます。

ちなみに、AMI IDはParameter Storeで確認することも可能です。

パラメーターストアから最新のWindows AMIのIDを取得する

日本語版のIDを確認した結果は以下の通りです。

aws ssm get-parameters \
    --names /aws/service/ami-windows-latest/Windows_Server-2019-Japanese-Full-Base
{
    "InvalidParameters": [],
    "Parameters": [
        {
            "Name": "/aws/service/ami-windows-latest/Windows_Server-2019-Japanese-Full-Base",
            "LastModifiedDate": 1546470316.021,
            "Value": "ami-09e055a449fd8795c",
            "Version": 1,
            "Type": "String",
            "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-windows-latest/Windows_Server-2019-Japanese-Full-Base"
        }
    ]
}

Windows Serverのサポート期間

以下のページで書くバージョンのサポートライフサイクルを確認できます。

製品のライフサイクルの検索

Windows Server 2019の延長サポート終了日は2029/01/09となっております。

インスタンスを作ってみた

実際にインスタンスを作成してみます。

AMIの検索では、"Windows_Server-2019-Japanese-Full-Base"とすれば日本語のAMIを抽出できます。

AMIの選択以外は従来の手順と同様です。

まとめ

業務アプリケーションについてはベンダーの対応を待つ必要があるかと思いますが、 Windows Serverの機能のみを利用する場合には積極的に使っていきたいですね。

現場からは以上です。