迁移应用程序从EKS到ECS Fargate

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

Migrating application from EKS to ECS Fargate

问题

我正在寻求有关将应用程序从AWS EKS迁移到ECS Fargate的指导。

该应用程序包含三个微服务(.net core,angular),后端使用Neptune。
因此,除了其他K8S部署(coredns,external dns,ingresses,nginx,helm releases)之外,还有三个重要的部署。
没有持久卷。
K8S版本:1.22

我正在参考https://stackoverflow.com/questions/74738533/migrating-to-ecs-fargate-from-eks

是否有其他指南或示例可以供我参考,并首先进行小规模的实验?
例如 - 是否需要更改Docker文件?

感谢对已知挑战/参考信息的任何建议/信息。

参考:https://stackoverflow.com/questions/74738533/migrating-to-ecs-fargate-from-eks

英文:

I am looking for guidance on migrating an application from AWS EKS to ECS Fargate.

The application contains three microservices (.net core, angular) with backend as Neptune.
So, there are three important deployments along with other K8S deployments (coredns, external dns, ingresses, nginx, helm releases)
There is no persistence volume.
K8S version : 1.22

I am referring to https://stackoverflow.com/questions/74738533/migrating-to-ecs-fargate-from-eks.

Are there any other guidelines or an example which I can follow and do hands-on on a small scale first?
e.g. - will there be any change in docker file required?

Appreciate any suggestions/information on known challenges/references.

Ref : https://stackoverflow.com/questions/74738533/migrating-to-ecs-fargate-from-eks

答案1

得分: 2

你可以使用一个工具来迁移Kubernetes对象,例如部署(Deployments),到ECS。这并不完美,因为在ECS中没有与Kubernetes对象和设置完全对应的东西。好消息是你不需要重新编写你的Dockerfiles。然而,你可能需要额外的工作来启用服务发现、健康检查、应用程序自动缩放等功能。Helm不适用于ECS配置文件。我建议查看TF、CloudFormation或CDK。

英文:

There is a tool you can use to migrate Kubernetes objects, e.g. Deployments, to ECS. It's not perfect because there k8s objects and settings that have no analog in ECS. The good news is you should not have to re-write your Dockerfiles. You may, however, need to do additional work to enable service discovery, health checks, application autoscaling, etc. Helm doesn't work with ECS configuration files. I recommend looking at TF, CloudFormation, or CDK instead.

huangapple
  • 本文由 发表于 2023年7月4日 21:43:29
  • 转载请务必保留本文链接:https://go.coder-hub.com/76613272.html
匿名

发表评论

匿名网友

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

确定