https://github.com/dfpc-coe/ecs
Provide a unified ECS Cluster
https://github.com/dfpc-coe/ecs
Last synced: about 1 month ago
JSON representation
Provide a unified ECS Cluster
- Host: GitHub
- URL: https://github.com/dfpc-coe/ecs
- Owner: dfpc-coe
- Created: 2023-06-07T15:33:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-08T14:27:00.000Z (over 1 year ago)
- Last Synced: 2025-03-08T15:27:02.628Z (over 1 year ago)
- Language: JavaScript
- Size: 217 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
TAK ECS
Create and Manage ECS with CloudFormation
> [!CAUTION]
> This repo has been retired and is now incorporated into the dfpc-coe/vpc codebase
## Installation
Local installation can be performed via the following
```sh
npm install
```
## AWS Deployment
### Prerequisites
Amazon Elastic Container Service uses AWS Identity and Access Management (IAM) service-linked roles. This service linked role needs to be created first - either manually or by having ECS create it during the first deployment.
If you have never used ECS in this specific AWS account you need to manually create the service-linked role via `aws iam create-service-linked-role --aws-service-name ecs.amazonaws.com`.
### Installation
From the root directory, install the deploy dependencies
```sh
npm install
```
Deployment to AWS is handled via AWS Cloudformation. The template can be found in the `./cloudformation`
directory. The deployment itself is performed by [Deploy](https://github.com/openaddresses/deploy) which
was installed in the previous step.
The deploy tool can be run via the following
```sh
npx deploy
```
To install it globally - view the deploy [README](https://github.com/openaddresses/deploy)
Deploy uses your existing AWS credentials. Ensure that your `~/.aws/credentials` has an entry like:
```
[coe]
aws_access_key_id =
aws_secret_access_key =
```
Deployment can then be performed via the following:
```
npx deploy create
```
```
npx deploy update
```
```
npx deploy info --outputs
```
```
npx deploy info --parameters
```
Stacks can be created, deleted, cancelled, etc all via the deploy tool. For further information
information about `deploy` functionality run the following for help.
```sh
npx deploy
```
Further help about a specific command can be obtained via something like:
```sh
npx deploy info --help
```