amazon-linux-extras package for Freebsd

0

Hi,

Im still trying to create "EKS optimized" Freebsd AMI using this guide - https://repost.aws/knowledge-center/eks-custom-linux-ami . So im using "awslabs" provided scripts (from here https://github.com/awslabs/amazon-eks-ami) that run "packer". After some time of troubleshooting im stuck at step of installing amazon-linux-extras. Where i can find what this package contain?

Thank you

已提問 1 年前檢視次數 301 次
1 個回答
0
已接受的答案

From the title of your question am I right that the source AMI that you're using is FreeBSD? The knowledge doc you've linked to describes how to create an Amazon Linux (not FreeBSD) AMI to deploy with EKS. This would make sense as I wouldn't expect amazon-linux-extras to be available on FreeBSD.

If you start off with an Amazon Linux AMI can you ovcecome this obstacle?

PS one more thing - use Amazon Linux 2 (not 2023) as this one contains amazon-linux extras https://aws.amazon.com/linux/amazon-linux-2023/faqs/

Q: Does AL2023 have Amazon-Linux-Extras like AL2?

A: No, AL2023 does not have extras.

profile picture
專家
Steve_M
已回答 1 年前
  • Yes, if i will be using Amazon linux AMI with the script from the repo i have linked in the question everything works well, as it does have this package, but yeah, it seems that the script is not Freebsd compatible, even thought it is said "build you own custom eks optimized AMI"... sad.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南