How can we have consistent linux distro between lightsail and our local workstations / servers?

0

We've just put up a Lightsail instance DGL_Server_1, 1 GB RAM, 2 vCPUs, 40 GB SSD, 44.217.163.180 , 2600:1f18:19df:2b00:ef25:6620:c32f:c96d

We must run RHEL-based distro. Amazon 2023 is OK, how can we have consistent images on our local hardware. The apps will be Apache / web2py, so I think, that's the only real issue and I may be worrying about nothing

Les
已提问 6 个月前211 查看次数
2 回答
0

Do you mean that you want to run Amazon Linux 2023 on-prem? I don't believe that's possible yet, though there is a feature request open in GitHub which you may want to keep an eye on https://github.com/amazonlinux/amazon-linux-2023/issues/102

Amazon Linux 2 is available as a VM image https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-2-virtual-machine.html

There isn't a direct correlation between Amazon Linux 2023 and a specific version of RHEL or CentOS or Fedora - see https://docs.aws.amazon.com/linux/al2023/ug/relationship-to-fedora.html

profile picture
专家
Steve_M
已回答 6 个月前
  • Sorry, other way around - yes, I know I can't run an AWS image locally, question is does it matter? Amazon 2023 is close enough I know there's no direct correlation - question was does it matter - I"m building apache / web2py apps - I need to test on local server Fedora or Alma or... and deploy to Lightsail/Amazon 2023

  • I don't think anybody can answer that question definitively. You can get the tech stack to align as closely as possible across both (from the kernel revision to the version of Apache, and everything else in between) but so long as the OS platforms themselves are different I don't think you can ever get a perfect match.

    I guess the question is "how close is close enough?".

0

OK, fair enough - I'll find the answer the way most such questions are answered - install apache/web2py on the servers at AWS and at our shop; build simple app(s); deploy; see what happens; write a white paper Thanks for the conversation

Les
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则