# Deploy on Amazon EKS using Fargate

**URL:** <https://forum.yugabyte.com/t/deploy-on-amazon-eks-using-fargate/963>\
**Category:** General\
**Created:** [February 10, 2021, 4:25am UTC](https://forum.yugabyte.com/t/deploy-on-amazon-eks-using-fargate/963 "2021-02-10T04:25:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyberboy](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@cyberboy](https://forum.yugabyte.com/u/cyberboy)\
**Post date:** [February 10, 2021, 4:25am UTC](https://forum.yugabyte.com/t/deploy-on-amazon-eks-using-fargate/963/1 "2021-02-10T04:25:55Z")

</div>

On step 1 (1. Create a EKS cluster), I tried to create a cluster using fargate by setting the last option with “-- fargate”. However, YugabyteDB installation did not work as it did when the cluster was created using managed node (“-- managed”). Pods were created but not running. Is it actually possible to use fargate?

> **[Deploy](https://docs.yugabyte.com/preview/deploy/)**
>
> How to deploy the YugabyteDB database to any public cloud or private data center or Kubernetes. Includes checklist and manual deployment options as well.

---

<div class="post-metadata">

**Author:** ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)\
**Post date:** [February 10, 2021, 8:05am UTC](https://forum.yugabyte.com/t/deploy-on-amazon-eks-using-fargate/963/2 "2021-02-10T08:05:09Z")

</div>

Hi @cyberboy

Database workloads are a very bad use-case for serverless.  
Anything that maintains a lot of state is. It’s a complete anti pattern.  
cc @sanketh

---

<div class="post-metadata">

**Author:** ![cyberboy](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@cyberboy](https://forum.yugabyte.com/u/cyberboy)\
**Post date:** [February 12, 2021, 11:30pm UTC](https://forum.yugabyte.com/t/deploy-on-amazon-eks-using-fargate/963/3 "2021-02-12T23:30:56Z")

</div>

@dorian_yugabyte  
Thank you for your reply  
So is it safe to say that yugabytedb cannot be deployed on Amazon EKS with fargate as an option?

---

<div class="post-metadata">

**Author:** ![dorian\_yugabyte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/dorian_yugabyte/32/206_2.png) [@dorian\_yugabyte](https://forum.yugabyte.com/u/dorian_yugabyte)\
**Post date:** [February 15, 2021, 3:02pm UTC](https://forum.yugabyte.com/t/deploy-on-amazon-eks-using-fargate/963/4 "2021-02-15T15:02:04Z")

</div>

> [@cyberboy](#):
>
> So is it safe to say that yugabytedb cannot be deployed on Amazon EKS with fargate as an option?

It should be possible to create. Can you open a github issue with the erorr that you’re getting ?

But database workloads cannot be spun up/down randomly like you do with app containers, because they need to re-distribute data and keep a minimum number of nodes always online to satisfy the replication factor.
