Unverified Commit 2e23be18 authored by iamtodor's avatar iamtodor Committed by GitHub

Update aws-ecs-deployment.md (#877)

* Update aws-ecs-deployment.md

Extend documentation for AWS ECS Installation https://github.com/amundsen-io/amundsen/issues/875Signed-off-by: 's avatariamtodor <todor.ilya@gmail.com>

* Update aws-ecs-deployment.md

change files location in the comments
Signed-off-by: 's avatariamtodor <todor.ilya@gmail.com>
parent bc0371ba
......@@ -17,6 +17,12 @@ $ export AWS_PROFILE=profilename
For the purpose of this instruction we used the [tutorial](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-cli-tutorial-ec2.html#ECS_CLI_tutorial_compose_create) on AWS documentation
Enter the cloned directory:
```
cd amundsen/docs/installation-aws-ecs
```
## STEP 1: Create a cluster configuration:
......@@ -28,21 +34,21 @@ $ ecs-cli configure --cluster amundsen --region us-west-2 --default-launch-type
### STEP 2: Create a profile using your access key and secret key:
```bash
# in ~/<your-path-to-cloned-repo>/amundsenfrontendlibrary/docs/instalation-aws-ecs
# in ~/<your-path-to-cloned-repo>/amundsen/docs/installation-aws-ecs
$ ecs-cli configure profile --access-key $AWS_ACCESS_KEY_ID --secret-key $AWS_SECRET_ACCESS_KEY --profile-name amundsen
```
### STEP 3: Create the Cluster Use profile name from \~/.aws/credentials
```bash
# in ~/<your-path-to-cloned-repo>/amundsenfrontendlibrary/docs/instalation-aws-ecs
# in ~/<your-path-to-cloned-repo>/amundsen/docs/installation-aws-ecs
$ ecs-cli up --keypair JoaoCorreia --extra-user-data userData.sh --capability-iam --size 1 --instance-type t2.large --cluster-config amundsen --verbose --force --aws-profile $AWS_PROFILE
```
### STEP 4: Deploy the Compose File to a Cluster
```bash
# in ~/<your-path-to-cloned-repo>/amundsenfrontendlibrary/docs/instalation-aws-ecs
# in ~/<your-path-to-cloned-repo>/amundsen/docs/installation-aws-ecs
$ ecs-cli compose --cluster-config amundsen --file docker-ecs-amundsen.yml up --create-log-groups
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment