https://pulumi.com logo
k

kind-ambulance-33034

06/05/2019, 4:38 PM
Not sure if this is the right place to ask or not but anyways, is it a good idea to deploy a database using containers like fargate or ECS or is it better to use EC2 instead?
w

white-balloon-205

06/05/2019, 4:48 PM
I don’t think there’s a right answer - but I’ll admit my order of preference would be: 1. Use a managed offering (like Aurora) 2. EC2 via a well-known, well supported marketplace offering or AMI 3. Kubernetes 4. Raw containers (Fargate)
k

kind-ambulance-33034

06/05/2019, 4:53 PM
✌️ I want to deploy Neo4J and there is an AMI for it however I need to apply some customisations for it so the standard AMI is not good enough. Now the options are either build my own AMI or deploy a container using Fargate. 🤔
w

white-balloon-205

06/05/2019, 4:56 PM
Fargate currently has no options for persistent storage unfortunately. So I’m not sure there is any reliable way to use Fargate here.
k

kind-ambulance-33034

06/05/2019, 5:03 PM
mmm thanks Luke. I think EC2 makes sense in this case.
s

stocky-spoon-28903

06/05/2019, 5:22 PM
If you only need modifications from the existing AMI, you could use the Packer EBS builder to customise it