Migrating Application from EC2 to Containers on AWS

2

Hi,

I am looking for a prescriptive guide or a methodology white paper that discusses the steps in migrating existing EC2 application workload to ECS/EKS.

profile pictureAWS
已提問 3 年前檢視次數 3130 次
2 個答案
3
已接受的答案

I'd recommend looking into our EC2 Image Builder. You can take an existing golden EC2 image and create an image pipeline for Docker, including an output to our Elastic Container Registry. ECR not only does security and vulnerability checks on your images, but also integrates nicely with Amazon ECS. Once the Docker image has been created from EC2 Image Builder and is stored in ECR, you'd create an ECS cluster (either using EC2 or Fargate), configure your tasks and scaling policies, as well as a load balancer, target group, etc. in front of ECS, and that's the vast majority of the work. We have some good tutorials for common tasks with ECS you can reference.

If you want a detailed walk through of moving an EC2 application over to ECS, we also have an Introduction to ECS Workshop. This workshop includes a section dedicated to migrating an application from EC2 over to ECS. I personally would start with the EC2 Image Builder approach as the Workshop uses a lot of third-party CLI tools which can be difficult to follow, whereas the documentation for EC2 Image Builder seems much more straightforward.

AWS
Chris_W
已回答 2 年前
profile picture
專家
已審閱 1 個月前
1

There are numerous resources available, i.e. AWS modern-app portal with multiple use-cases and guides, this white paper which leans toward EKS/k8s, etc. Overall it is a very broad question, options would depend on the current platform (windows/linux), framework/language used (i.e. we have app2container migration tool for .Net and Java apps), application architecture (monolith or not, stateful or stateless, horisontally scalable or not, etc).

AWS
已回答 3 年前
profile picture
專家
已審閱 1 個月前

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

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

回答問題指南