简体   繁体   English

我们可以使用 AWS 上的自我管理 kube.netes 将本地独立应用程序迁移到 Runtime Fabric 吗?

[英]Can we migrate on-prem standalone apps to Runtime Fabric with Self-managed kubernetes on AWS?

I want to migrate Mule applications deployed on Mule standalone (on-Premise) to Anypoint Runtime Fabric (RTF) Self managed Kube.netes on AWS, but I could not find any document on this.我想将部署在 Mule 独立(本地)上的 Mule 应用程序迁移到 AWS 上的 Anypoint Runtime Fabric (RTF) 自管理 Kube.netes,但我找不到任何关于此的文档。

Any ideas or any document available on this please share it.有关此的任何想法或任何可用文件,请分享。

Thanks in advance提前致谢

Mule applications run exactly the same on-prem, on CloudHub or in Anypoint Runtime Fabric . Mule 应用程序在本地、 CloudHubAnypoint Runtime Fabric上运行完全相同。 It is only if your applications make assumptions about their environment that you are going to need to make adjustments.只有当您的应用程序对其环境做出假设时,您才需要进行调整。 For example any access to the filesystem (reading a file from some directory) or some network access that is not replicated to the Kubernetes cluster.例如对文件系统的任何访问(从某个目录读取文件)或某些未复制到 Kubernetes 集群的网络访问。 A common mistake is when developers use Windows as the development environment and are not aware that the execution in a container environment will be different.一个常见的错误是当开发人员使用 Windows 作为开发环境并且不知道在容器环境中的执行会有所不同时。 You may not be aware of those assumptions.您可能不知道这些假设。 Just test the application and see if there are any issues.只需测试应用程序,看看是否有任何问题。 It is possible it will run fine.它可能会运行良好。

Yes, you can.是的你可以。

In general, it is an easy exercise.一般来说,这是一个简单的练习。 However, things may go a little bit complicated when you have lots of dependencies on the persistent object store.但是,当您对持久存储 object 有很多依赖时,事情可能 go 会有点复杂。 It may require slight code refactoring in the worst case scenario.在最坏的情况下,它可能需要轻微的代码重构。 If you are running on-prem in cluster mode, then you are using HazelCast which is also available in RTF.如果您以集群模式在本地运行,那么您使用的是 HazelCast,它在 RTF 中也可用。

Choosing the Self-managed Kube.netes in EKS have some extra responsibilities.在 EKS 中选择自我管理的 Kube.netes 有一些额外的责任。 If you and your team have good expertise on Kube.netes and AWS then it is a great choice.如果您和您的团队在 Kube.netes 和 AWS 方面拥有丰富的专业知识,那么它是一个不错的选择。 Keep in mind that the Anypoint runtime console allows at most 8 replicas for each app.请记住,Anypoint 运行时控制台允许每个应用最多 8 个副本。 However, if you are using CI/CD pipeline, you should be able to scale it more.但是,如果您使用的是 CI/CD 管道,则应该能够对其进行更大程度的扩展。

There is no straightforward documentation as the majority of work is related to setup your EKS and associated.network, ports, ingress, etc.没有直接的文档,因为大部分工作与设置 EKS 和关联的网络、端口、入口等相关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM