Upgrading the beanstalk kernel

0

Hi I see there is a new version of the Linux 2 kernel "kernel-4.14.231-173.360.amzn2" which has security fixes in it.

I am using the latest nodeJS beanstalk AMI which is on "kernel-livepatch-4.14.225-169.362-1.0-0.amzn2"

I have tried to follow the this documentation https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/al2-live-patching.html but it will not update the kernel no matter what I do. It does not recognise there there is a newer version.

Can any one help please?

asked 3 years ago391 views
3 Answers
0

Any one from Amazon and ideas on this. I have to upgrade the machines and this is pretty bad if I can not

answered 3 years ago
0

I see there has been an update to the AMI but it still have security issues in it that I can not seem to update

"Upgrade 4.14.231 to 4.14.231-173.361.amzn2, or upgrade kernel-4.14.231-173.360.amzn2.src.rpm → 4.14.231-173.361.amzn2 and remove kernel-tools"

answered 3 years ago
0

I finally stumbled across this post https://forums.aws.amazon.com/thread.jspa?messageID=822626
Its really not ideal but it is the only way to patch security updates if you want to do them in any reasonable time frame by the looks of it.
Basically you need to create your own AMI & hack the repo file

answered 3 years 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