anarthal / servertech-chat

Chat app using Boost and C++
https://anarthal.github.io/servertech-chat/
Boost Software License 1.0
22 stars 2 forks source link

Simplify deployment #6

Closed anarthal closed 1 year ago

anarthal commented 1 year ago

Deployment must be simple and robust, so that a foreign developer can fork the project, modify the source code, and get a working copy of the application quickly.

Consider the following approaches:

anarthal commented 1 year ago

The strategy we've been following until now (ECS) is complex to deploy using CloudFormation because of permissions. To set up EC2 instances that run as part of an autoscaling group assigned to an ECS cluster, some standard roles must be created. This is a one-time setup action that, unfortunately, is not performed automatically by AWS. Including these in CloudFormation templates requires assigning the CI script IAM privileges, which some users may not have (and it's a dangerous thing).

Deploying individual EC2 instances that run Amazon Linux optimized for containers, and our Docker containers on top of that, has proven much easier.