We only had a local version of the code and it wasn't deployed to be used
Solution
Use Amazon AWS to deploy the application. We use 3 main services: S3, ECR, and ECS
S3 is used to store the .env files to run the Docker containers with
ECR is used to store the Docker images. After building locally, we have to push to the ECR
ECS is used to run the containers on EC2 instances
The docker-compose.prod.yml is only used to build the images in one command. We are not currently using the setup that is there for running the containers.
Notes
There is probably a way to use the AWS CLI to do this, and I might look into making those commands into GitHub Actions at some point, but for right now, it's a little too much work.
Problem
We only had a local version of the code and it wasn't deployed to be used
Solution
Use Amazon AWS to deploy the application. We use 3 main services: S3, ECR, and ECS
The
docker-compose.prod.yml
is only used to build the images in one command. We are not currently using the setup that is there for running the containers.Notes
There is probably a way to use the AWS CLI to do this, and I might look into making those commands into GitHub Actions at some point, but for right now, it's a little too much work.
Closes #40