1 Answer
- Newest
- Most votes
- Most comments
1
Hello,
Ubuntu 22.04 is currently not officially supported for the CodeDeployAgent, see: https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent.html
Supported Amazon EC2 AMI operating system:
The CodeDeploy agent has been tested on the following Amazon EC2 AMI operating systems:
- Amazon Linux 2018.03.x
- Amazon Linux 2 (ARM, x86)
- Ubuntu Server 20.04 LTS, 18.04 LTS, 16.04 LTS, and 14.04 LTS
- Microsoft Windows Server 2019, 2016, 2012 R2, and 2008 R2
- Red Hat Enterprise Linux (RHEL) 8.x, 7.x
So I would suggest you switch to another operating system like Ubuntu Server 20.04 LTS.
But you can still try to install an older rubyversion and test if it works. Check out this blog for installing an older rubyversion on ubuntu-22-04: https://blog.francium.tech/setting-up-ruby-2-7-6-on-ubuntu-22-04-fdb9560715f7
Basically what he does are three commands:
sudo apt install gnupg2
rvm pkg install openssl
rvm install 2.7.6 --with-openssl-dir=$HOME/.rvm/usr
You could also open an github-issue to ask for 22.04-support: https://github.com/aws/aws-codedeploy-agent
answered 2 years ago
Relevant content
- asked 3 years ago
- asked 10 months ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 days ago
- AWS OFFICIALUpdated 2 months ago
Thanks for your suggestion.