AWS OpsWorks Stacks operating systems - AWS OpsWorks

AWS OpsWorks Stacks operating systems

Important

The AWS OpsWorks Stacks service reached end of life on May 26, 2024 and has been disabled for both new and existing customers. We strongly recommend customers migrate their workloads to other solutions as soon as possible. If you have questions about migration, reach out to the AWS Support Team on AWS re:Post or through AWS Premium Support.

AWS OpsWorks Stacks supports the 64-bit versions of several built-in operating systems, including Amazon and Ubuntu Linux distributions, and Microsoft Windows Server. Some general notes:

  • A stack's instances can run either Linux or Windows.

    A stack can have different Linux versions or distributions on different instances, but you cannot mix Linux and Windows instances.

  • You can use custom AMIs (Amazon Machine Images), but they must be based on one of the AWS OpsWorks Stacks-supported AMIs that are described in topics in this section. While it might be possible to create or register instances with other operating systems (such as CentOS 6.x) that have been created from custom or community-generated AMIs, these are not officially supported.

  • You can start and stop instances manually or have AWS OpsWorks Stacks automatically scale the number of instances.

    You can use time-based automatic scaling with any stack; Linux stacks also can use load-based scaling.

  • In addition to using AWS OpsWorks Stacks to create Amazon EC2 instances, you can also register instances with a Linux stack that were created outside of AWS OpsWorks Stacks.

    This includes Amazon EC2 instances and instances running on your own hardware. However, they must be running one of the supported Linux distributions. You cannot register Amazon EC2 or on-premises Windows instances.

You can run the AWS OpsWorks Stacks DescribeOperatingSystems API to return a list of supported operating systems and their supported versions of Chef. The following is an example command, using the AWS CLI.

aws opsworks describe-operating-systems

The following is an example response.

{ "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" } ] } ] }