将应用迁移到云端,Tomcat,Java,MySQL – Azure/AWS 选项 LAMP 还是各种服务?

huangapple go评论92阅读模式
英文:

Moving application to the cloud, Tomcat, Java, MySQL - Azure/AWS options LAMP or services?

问题

我需要将一个系统从本地托管迁移到云服务。当前该系统在运行在 Tomcat 6、MySQL 5.1 和 JDK 8.xx,并部署在 Windows Server 2012 上。

在推进迁移的过程中,最佳方法是什么?目前系统运行在 Windows Server 上,基于许可成本等考虑,迁移到 Linux 作为操作系统似乎更为经济,您可以选择搭建一个 LAMP 服务器,或者根据我对事情的理解,使用 AWS 或 Azure 服务来实现无服务器方案。我了解也有像 Bitnami 这样的预构建环境解决方案。

由于这与我专业领域相距甚远,我正在寻求关于当前此类设置的首选解决方案的建议。并不局限于 Azure 或 AWS,对任何特定的解决方案都可以考虑。我想知道在代码方面需要做些什么,以便我们可以采取必要的步骤来迁移到新的基础架构。

关于此,任何建议、注意事项或解决方案将不胜感激,这能为我指明一些方向。如果问题显得含糊,我可以根据需要提供更多信息。

英文:

I need to bring over a system from locally hosted to cloud services. Right now the system runs on Tomcat 6, MySQL 5.1 and JDK 8.xx running on Windows Server 2012

What is the best approach to move this forward - right now it is running on Windows Server, for licensing costs, etc it seems cheaper to move to Linux as the OS and spin up a LAMP server or use AWS or Azure services for a serverless solution if I understand things correctly. I understand there are also solutions like Bitnami with pre-built environments.

This is far from my area of expertise so I'm looking for advice on the current preferred solutions for this kind of setup. Not married to Azure, AWS, any particular solution. Wondering what needs to happen code wise too so we can take the necessary steps to move to new infrastructure.

Any advice, pitfalls, solutions would be welcome just to find some direction. Sorry if this seems vague can offer up more info as needed.

答案1

得分: 0

一种好的解决方案是转向容器化解决方案。AzureAWS都提供托管的Kubernetes服务。在你的情况下,转向基于容器的解决方案还有一个附加好处,即你可以使用现有应用的旧版本构建自己的容器,或者从众多公共镜像中选择基础镜像(例如,对于Tomcat,可以访问 https://hub.docker.com/_/tomcat)。因此,这将是一种更快的迁移方式,采用提取和迁移的方法。

有关Azure中容器服务的更多详细信息,请参阅 https://learn.microsoft.com/en-us/azure/containers/

英文:

One good solution is to move towards containerized solution. Both Azure and AWS offer managed Kubernetes service. Moving to container based solution will also have added benefit in your case that you can build your own container even with older versions of your existing apps or pick base image from the plethora of public images (e.g. for Tomcat https://hub.docker.com/_/tomcat). So it will be quicker migration with lift and shift approach.

For more details about container service offering in Azure, refer https://learn.microsoft.com/en-us/azure/containers/

huangapple
  • 本文由 发表于 2020年8月26日 01:03:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/63583794.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定