Microservice deployment using AWS ECS service

你离开我真会死。 提交于 2019-12-13 03:38:35

问题


I am trying to creating a microservice using spring boot and trying to deploy using AWS ECS cloud service. I Have doubts in deployment using ECS. In ECS there is a facility of EC2 launch type.

Here my doubt is that, when I am using ECS EC2 launch type, can I choose my own Ubuntu machine instances? I need to know whether the ECS provide provision to launch with my own Ubuntu machine?


回答1:


Yes, you can use your own Ubuntu AMI, but it requires a little bit of work. Here are the requirements:

A modern Linux distribution running at least version 3.10 of the Linux kernel.

The Amazon ECS container agent (preferably the latest version). For more information, see Amazon ECS Container Agent.

A Docker daemon running at least version 1.5.0, and any Docker runtime dependencies. For more information, see Check runtime dependencies in the Docker documentation.

So, apart from installing Docker, you need o install and configure the ECS Agent. You will find the instructions here. See section 'To install the Amazon ECS container agent on a non-Amazon Linux EC2 instance'

Once you have your AMI built, you just create your cluster and then launch the instances into it.



来源:https://stackoverflow.com/questions/48096394/microservice-deployment-using-aws-ecs-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!