AWS OpsWorks Stacks のオペレーティングシステム - AWS OpsWorks

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

AWS OpsWorks Stacks のオペレーティングシステム

重要

AWS OpsWorks Stacks は新規顧客を受け付けなくなりました。既存のお客様は、2024 年 5 月 26 日までは OpsWorks コンソール、 API、 CLI、および CloudFormation リソースを通常どおり使用できますが、その時点でこれらのリソースは廃止されます。この移行に備えて、できるだけ早くスタックを AWS Systems Manager に移行することをおすすめします。詳細については、AWS OpsWorks Stacks サポート終了に関する FAQ および AWS Systems Manager アプリケーションマネージャへの AWS OpsWorks Stacks アプリケーションの移行 を参照してください。

AWS OpsWorks スタックでは、Amazon および Ubuntu Linux ディストリビューション、Microsoft Windows Server など、複数の組み込みオペレーティングシステムの 64 ビットバージョンがサポートされます。一般的な注意事項をいくつか示します。

  • スタックのインスタンスは、Linux または Windows を実行できます。

    スタックは、インスタンスごとに異なる Linux バージョンまたはディストリビューションを実行できますが、Linux インスタンスと Windows インスタンスを混在させることはできません。

  • カスタム AMI (Amazon マシンイメージ) を使用できますが、このセクションのトピックで説明している AWS OpsWorks スタックでサポートされている AMI のいずれかに基づいている必要があります。カスタム AMI またはコミュニティで作成された AMI から作成された他のオペレーティングシステム (CentOS 6.x など) を使用してインスタンスを作成または登録できる場合もありますが、そのような方法は公式にはサポートされていません。

  • インスタンスを手動で開始および停止することも、AWS OpsWorks スタックでインスタンス数を自動的にスケールすることもできます。

    どのスタックでも、時間ベースの自動スケーリングを使用できます。Linux スタックでは、負荷ベースのスケーリングも使用できます。

  • AWS OpsWorks スタックを使用して Amazon EC2 インスタンスを作成するのに加えて、AWS OpsWorks スタックの外部で作成された Linux スタックにインスタンスを登録することもできます。

    これには、Amazon EC2 インスタンスと、独自のハードウェアを実行するインスタンスが含まれます。ただし、そのインスタンスがサポートされている Linux ディストリビューションの 1 つを実行している必要があります。Amazon EC2 インスタンスまたはオンプレミスの Windows インスタンスを登録することはできません。

AWS OpsWorks スタックの DescribeOperatingSystems API を実行して、サポートされているオペレーティングシステムと、それらでサポートされている Chef のバージョンのリストを返すことができます。以下は AWS CLI を使用したコマンドの例です。

aws opsworks describe-operating-systems

以下に、応答の例を示します。

{ "OperatingSystems": [ { "Name": "Amazon Linux", "Id": "Amazon Linux", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2014.03", "Supported": false }, { "Name": "Amazon Linux 2", "Id": "Amazon Linux 2", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" } ], "ReportedName": "amazon", "ReportedVersion": "2" }, { "Name": "Amazon Linux 2014.09", "Id": "Amazon Linux 2014.09", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2014.09", "Supported": false }, { "Name": "Amazon Linux 2015.03", "Id": "Amazon Linux 2015.03", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2015.03", "Supported": false }, { "Name": "Amazon Linux 2015.09", "Id": "Amazon Linux 2015.09", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2015.09", "Supported": false }, { "Name": "Amazon Linux 2016.03", "Id": "Amazon Linux 2016.03", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2016.03" }, { "Name": "Amazon Linux 2016.09", "Id": "Amazon Linux 2016.09", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2016.09" }, { "Name": "Amazon Linux 2017.03", "Id": "Amazon Linux 2017.03", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2017.03" }, { "Name": "Amazon Linux 2017.09", "Id": "Amazon Linux 2017.09", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "amazon", "ReportedVersion": "2017.09" }, { "Name": "Amazon Linux 2018.03", "Id": "Amazon Linux 2018.03", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" } ], "ReportedName": "amazon", "ReportedVersion": "2018.03" }, { "Name": "CentOS Linux 7", "Id": "CentOS Linux 7", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" } ], "ReportedName": "CentOS Linux", "ReportedVersion": "7" }, { "Name": "Microsoft Windows Server 2012 R2 Base", "Id": "Microsoft Windows Server 2012 R2 Base", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2012 r2 standard", "Supported": false }, { "Name": "Microsoft Windows Server 2012 R2 with SQL Server Express", "Id": "Microsoft Windows Server 2012 R2 with SQL Server Express", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2012 r2 standard", "Supported": false }, { "Name": "Microsoft Windows Server 2012 R2 with SQL Server Standard", "Id": "Microsoft Windows Server 2012 R2 with SQL Server Standard", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2012 r2 standard", "Supported": false }, { "Name": "Microsoft Windows Server 2012 R2 with SQL Server Web", "Id": "Microsoft Windows Server 2012 R2 with SQL Server Web", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2012 r2 standard", "Supported": false }, { "Name": "Microsoft Windows Server 2019 Base", "Id": "Microsoft Windows Server 2019 Base", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2019 datacenter" }, { "Name": "Microsoft Windows Server 2019 with SQL Server Express", "Id": "Microsoft Windows Server 2019 with SQL Server Express", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2019 datacenter" }, { "Name": "Microsoft Windows Server 2019 with SQL Server Standard", "Id": "Microsoft Windows Server 2019 with SQL Server Standard", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2019 datacenter" }, { "Name": "Microsoft Windows Server 2019 with SQL Server Web", "Id": "Microsoft Windows Server 2019 with SQL Server Web", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2019 datacenter" }, { "Name": "Microsoft Windows Server 2022 Base", "Id": "Microsoft Windows Server 2022 Base", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2022 datacenter" }, { "Name": "Microsoft Windows Server 2022 with SQL Server Express", "Id": "Microsoft Windows Server 2022 with SQL Server Express", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2022 datacenter" }, { "Name": "Microsoft Windows Server 2022 with SQL Server Standard", "Id": "Microsoft Windows Server 2022 with SQL Server Standard", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2022 datacenter" }, { "Name": "Microsoft Windows Server 2022 with SQL Server Web", "Id": "Microsoft Windows Server 2022 with SQL Server Web", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ], "ReportedName": "microsoft windows server", "ReportedVersion": "2022 datacenter" }, { "Name": "Red Hat Enterprise Linux 7", "Id": "Red Hat Enterprise Linux 7", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" } ], "ReportedName": "Red Hat Enterprise Linux", "ReportedVersion": "7" }, { "Name": "Ubuntu 12.04 LTS", "Id": "Ubuntu 12.04 LTS", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ], "ReportedName": "ubuntu", "ReportedVersion": "12.04", "Supported": false }, { "Name": "Ubuntu 14.04 LTS", "Id": "Ubuntu 14.04 LTS", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" } ], "ReportedName": "ubuntu", "ReportedVersion": "14.04" }, { "Name": "Ubuntu 16.04 LTS", "Id": "Ubuntu 16.04 LTS", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" } ], "ReportedName": "ubuntu", "ReportedVersion": "16.04" }, { "Name": "Ubuntu 18.04 LTS", "Id": "Ubuntu 18.04 LTS", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" } ], "ReportedName": "ubuntu", "ReportedVersion": "18.04" }, { "Name": "Ubuntu 20.04 LTS", "Id": "Ubuntu 20.04 LTS", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" } ], "ReportedName": "ubuntu", "ReportedVersion": "20.04" }, { "Name": "Custom", "Id": "Custom", "Type": "Linux", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12" }, { "Name": "Chef", "Version": "11.10" }, { "Name": "Chef", "Version": "11.4" }, { "Name": "Chef", "Version": "0.9" } ] }, { "Name": "CustomWindows", "Id": "CustomWindows", "Type": "Windows", "ConfigurationManagers": [ { "Name": "Chef", "Version": "12.2" } ] } ] }