Run Kubernetes on AWS EC2 Instance only

11/11/2016

I wanted to use kubernetes on AWS EC2, i have created EC2 instance and following this link1 link2, but it will create master and minion node as new EC2 instance. In this case there will be more then 3 EC2 instance will be there.

I am using aws free tier, as per that i can use only one instance for a month, if multiple instance get created then i will get charged.

How can i manager kubernetes on run on same EC2 instance which i created to setup kubernetes.

I am using my application for just development, not for production. So now i have to play with aws free tier only.

-- Anchit Pancholi
amazon
amazon-ec2
amazon-s3
amazon-web-services
kubernetes

1 Answer

11/11/2016

I am not sure if I understand your question correctly, but don't necessarily need minion instances, since the master also deploys pods (if you didn't explicity disabled them).

This means skipping the minion part should work, respectively setting the master count to 1 and the worker count to 0.

-- svenwltr
Source: StackOverflow