Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STACK_ as prefix; wrong case in dir; NAME instead of PROJECT #211

Merged
merged 5 commits into from
Feb 4, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/deployment/aws/ecs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The example handles tasks such as generating a docker image and setting up an ap
$ git clone https://github.com/developmentseed/titiler.git

# install cdk dependencies
$ cd titiler/deployment/aws && pip install -r requirements.txt
$ cd titiler/deployment/AWS && pip install -r requirements.txt
vincentsarago marked this conversation as resolved.
Show resolved Hide resolved
$ npm install aws-cdk@1.76.0 -g

$ cdk bootstrap # Deploys the CDK toolkit stack into an AWS environment
Expand All @@ -34,9 +34,9 @@ The example handles tasks such as generating a docker image and setting up an ap
3. Update settings (see [intro.md](intro.md))

```bash
export TITILER_PROJECT="mytiler"
export TITILER_STAGE="dev"
export TITILER_MIN_ECS_INSTANCES=10
export STACK_NAME="mytiler"
export STACK_STAGE="dev"
export STACK_MIN_ECS_INSTANCES=10
```

Available settings for ECS:
Expand Down
8 changes: 4 additions & 4 deletions docs/deployment/aws/lambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The Lambda stack is also deployed by the [AWS CDK](https://aws.amazon.com/cdk/)
$ git clone https://github.com/developmentseed/titiler.git

# install cdk dependencies
$ cd titiler/deployment/aws && pip install -r requirements.txt
$ cd titiler/deployment/AWS && pip install -r requirements.txt
$ npm install aws-cdk@1.76.0 -g

$ cdk bootstrap # Deploys the CDK toolkit stack into an AWS environment
Expand All @@ -38,9 +38,9 @@ The Lambda stack is also deployed by the [AWS CDK](https://aws.amazon.com/cdk/)
3. Update settings (see [intro.md](intro.md))

```bash
export TITILER_PROJECT="mytiler"
export TITILER_STAGE="dev"
export TITILER_MEMORY=512
export STACK_NAME="mytiler"
export STACK_STAGE="dev"
export STACK_MEMORY=512
```

Available settings for AWS Lambda:
Expand Down