Creating an Opsworks app instance with Ubuntu 22.04

1

We've been using Ubuntu 18.04 for years, but it's time to retire its use. It's at EOL, and we need to start using Ubuntu 22.04 with our Chef recipes for hosting stacks in Opsworks. I don't see an option for 22.04 in the dropdown when creating the instance, so I think my only option is to use an AMI. However, I've tried to "configure" the below AMI and added it to my "service catalog", but it's not showing as an operating system choice when I attempt to add an instance.

As a matter of troubleshooting, I've allowed some time before attempting to create the instance again. I've also logged out of AWS and back in, but still it doesn't show as a dropdown choice or under the list of AMIs when I choose "Use custom Linux AMI" from the dropdown. Any ideas where I'm going wrong? This is really putting a wrench in my testing window for a launch that's supposed to be happening this week. I haven't really used AMIs much before, so maybe I'm doing something wrong 🤷‍♂️

https://aws.amazon.com/marketplace/pp/prodview-o5bowpuwmx3ng

  • I managed to create a custom AMI from the EC2 instance that was launched. Then, from that AMI, was able to create new Opsworks instances on the apps layer. However, they tried booting for ~20m or so before failing start. I must still be missing a piece of this puzzle.

1 Answer
0

As far as I'm aware there is currently no way to run OpsWorks Stacks on a newer Ubuntu version than 18.04, even trying to use an AMI like you did here. The opsworks-agent does not run on newer Ubuntu versions and would need updated by Amazon, additionally the integration with Chef on their backend would need to support installing and deploying a newer Chef version as well as the Chef-client version on your EC2 instance. Unfortunately none of this has been updated in quite some time. They have tried to integrate Chef into SSM/Application Manager which your mileage may very.

https://aws.amazon.com/blogs/mt/migrate-your-aws-opsworks-stacks-to-aws-systems-manager/

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions