News for hackers. Stuff that matters.
Re:AWS Fargate – Run Containers Without Managing Infrastructure by allengeorge on Wednesday November 29, 2017 @12:02PM (#15808457)
I'm not 100% sure about the relationship between EKS, ECS and Fargate.

Why would I deploy to Fargate over EKS? I assume it's because with Fargate I don't have to write a k8s deployment spec?

Why would I deploy to Fargate over ECS?

Legitimately curious, and looking for clarification/correction.

Re:AWS Fargate – Run Containers Without Managing Infrastructure by NathanKP on Wednesday November 29, 2017 @12:12PM (#15808572)
AWS employee here. You would deploy to Fargate because you don't want to have to manage the underlying EC2 instances. You can use Fargate with both ECS and EKS (in 2018).

ECS and EKS are just two different schedulers for orchestrating the containerized services that you want to run. Fargate is the engine behind them that executes the containers for you without you needing to worry about servers.

ECS as a scheduler will always integrate much better with other AWS services. EKS will give you the advantage of being able to run the same scheduler on an on premise or on another cloud.

Re:AWS Fargate – Run Containers Without Managing Infrastructure by chkal on Wednesday November 29, 2017 @02:31PM (#15810042)
Thanks a lot for the explanation.
Re:AWS Fargate – Run Containers Without Managing Infrastructure by mgalgs on Wednesday November 29, 2017 @12:59PM (#15809128)
I thought EKS was managed? Do you still have to manage the underlying instances in EKS?
Re:AWS Fargate – Run Containers Without Managing Infrastructure by kainosnoema on Wednesday November 29, 2017 @06:08PM (#15811758)
Yes, EKS is just managed K8s, which is the orchestration layer. You still need to have EC2 instances for the EKS tasks to be scheduled on. Unless you run your EKS tasks on Fargate, which is coming in 2018.
Re:AWS Fargate – Run Containers Without Managing Infrastructure by avgkol on Wednesday November 29, 2017 @10:55PM (#15813353)
So if I do "kubectl get nodes" while using Fargate, what do I see in response?
Re:AWS Fargate – Run Containers Without Managing Infrastructure by nathankunicki on Wednesday November 29, 2017 @02:38PM (#15810109)
Fargate is more analogous to EC2 than ECS or EKS.

Fargate is a placement target for containers, just like EC2 instances in a cluster would be.

You use ECS and EKS to define and schedule tasks/containers on a placement target.

The primary difference between Fargate and EC2 is that with Fargate you don't need to manage physical instances and the software stack running on them (Docker daemon, etc). When you start a task, it runs...somewhere. In the AWS "cloud".

Re:AWS Fargate – Run Containers Without Managing Infrastructure by adrianmacneil on Wednesday November 29, 2017 @12:05PM (#15808490)
With ECS and EKS you get a managed master, then you set up your own autoscaling groups etc to deploy nodes (which you manage) into the cluster.

With Fargate, you get access to AWS-managed multi-tenant nodes. So, Fargate connects to either your ECS or EKS cluster and avoids the need for you to worry about managing the nodes as well.