0

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?

halfer
20.2k20 gold badges110 silver badges207 bronze badges
asked Jan 4, 2018 at 13:28

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Ok. I got the concept. Thank you for your response and spending time with my confusion.Thanks.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.