• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 65
  • Last Modified:

AWS ECS do you want to run many contianers per task?

I am confused about when and why to run many contianers in a single task? or should be one task and one container ?

what is the logic for this?
1 Solution
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
You'll have to define what you mean by containers.

For example, LXD containers are bootable, long running + tend to container entire LAMP Stacks or some other application.

Docker containers, tend to contain a single process with no data persistence. When you stop a docker container, usually this means all data dies as the container dies.

Describe what you're trying to accomplish + likely someone can assist you with design.

In my case, I host many high traffic, high speed, WordPress sites.

My environment is LXD where each container may contain an entire client's sites, multiple clients (all sites) or a single high traffic site, I'd like to instrument separate from any other site.

Each type of project has a specific best design.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now