- 新しい順
- 投票が多い順
- コメントが多い順
You can create separate ECS services for each of your processes i.e. web-server, queue, scheduler and leverage ECS Service Discovery feature for service-to-service communication. By doing this, you can manage the lifecycle of these individual processes separately and also perform application-autoscaling on each of these services separately.
Note: Initiate your processes within the Docker ENTRYPOINT to make sure that the processes start during the container creation. By doing this, you will no longer require a process manager daemon like Foreman to manage your processes.
For ease of deploying these ECS services, you can use docker-compose as demonstrated in the document: https://docs.docker.com/cloud/ecs-integration/
Please add a comment if you need further clarification on the above approach.
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 3ヶ月前
- AWS公式更新しました 2年前