- Newest
- Most votes
- Most comments
You should look at EKS Auto Mode that power instance management and more for your Kubernetes workloads. It will manage the infrastructure for you as in Fargate but does not limit you to 1pod per instance and allow you to use the broad EC2 instance types you want. Take a look at https://aws.amazon.com/fr/blogs/aws/streamline-kubernetes-cluster-management-with-new-amazon-eks-auto-mode/
answered 2 years ago
Replicating AWS Fargate's functionality in a self-managed way is not recommended and would be extremely challenging to implement correctly. Fargate is a highly optimized, serverless compute engine designed specifically for containers, with built-in security, isolation, and resource management features that are difficult to replicate outside of AWS's infrastructure.
Instead of trying to recreate Fargate, you may want to consider using Amazon EKS with self-managed node groups if you need more control over your Kubernetes infrastructure. This approach allows you to manage your own EC2 instances while still benefiting from EKS's managed control plane.
If your goal is to reduce management overhead, you could use EKS managed node groups, which automate the provisioning and lifecycle management of nodes. This offers a middle ground between fully self-managed nodes and Fargate.
For workloads that don't require the full flexibility of Kubernetes, you might consider using Amazon ECS with EC2 launch type. This gives you control over the underlying instances while still providing some of the container orchestration benefits.
If your main concern is cost optimization, you can explore using Spot Instances with EKS or implementing auto-scaling strategies to efficiently manage your resources.
Ultimately, the best approach depends on your specific requirements for control, management overhead, and scalability. It's important to carefully evaluate your needs and choose the solution that best aligns with AWS's services and best practices.
Sources
AWS Fargate for Amazon ECS - Amazon Elastic Container Service
Get started with AWS Fargate for your cluster - Amazon EKS
Simplify compute management with AWS Fargate - Amazon EKS
Relevant content
asked a month ago
asked 4 years ago
asked 2 years ago

It's good but what if i need to use fargate or auto mode on AWS Outpost