Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

ECS & EFS #74

Open
franckadil opened this issue Jan 5, 2019 · 2 comments
Open

ECS & EFS #74

franckadil opened this issue Jan 5, 2019 · 2 comments

Comments

@franckadil
Copy link

Hello guys,

Thank you for your amazing work, I am learning docker and trying to figure out how to scale your container on an ECS environment using EFS to persist data.
Anyone willing to collaborate on this ?

Cheers,
Franck

@noogen
Copy link
Contributor

noogen commented Apr 25, 2019

Horizontal scaling with docker is easy but VestaCP is not. It is easier to scale Vesta Vertically.

I was asked before about the purpose of this docker for VestaCP. This is because the purpose of docker is to run thing as a Microservice. VestaCP is too massive (too many moving parts) to simply scale on EFS. Ultimately, my response was to simplify my installation and maintenance of Vesta.

To put it in another way, what are you trying to scale? Server-side web (apache, nginx ?), db(mysql, mongo?), Server-side language (php, node, python), storage, etc...? It is easier to run each service (microservice) as individual docker image for scaling. If you say EFS, you're only considering the file system (storage, server-side web and language). What about database? Will you be using AWS RDS?

Vertical scaling require FULL Stack consideration. It is easier to scale by running each container as docker microservices instead of handling everything in a massive docker container.

@franckadil
Copy link
Author

franckadil commented May 4, 2019

Hi @noogen sorry for my delayed answer just stumbled upon the notification. I need to run some tests and share with you my architecture diagram. Is it possible in your setup to create a volume for the Database storage ? or is it already done ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants