Skip to content

Commit

Permalink
Elaborate on access key process
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelim01 committed Nov 11, 2024
1 parent a863cfc commit a174955
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions devops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ Before using this script, ensure that you have the following:

1. Open a terminal and navigate to the `devops/` directory where the script is located.

2. To scale the services to **1 task** (i.e., start the services), run the following command:
2. Obtain your AWS Access Keys:
- Log in to the **AWS Access Console**.
- Click on **Access keys**.
- Copy the AWS environment variables into your terminal:
```bash
export AWS_ACCESS_KEY_ID=<AccessKeyId>
export AWS_SECRET_ACCESS_KEY=<SecretAccessKey>
export AWS_SESSION_TOKEN=<SessionToken>
```

3. To scale the services to **1 task** (i.e., start the services), run the following command:

```bash
./deploy-backend.sh 1
```

3. To scale the services to **0 tasks** (i.e., stop the services), run the following command:
4. To scale the services to **0 tasks** (i.e., stop the services), run the following command:

```bash
./deploy-backend.sh 0
Expand Down

0 comments on commit a174955

Please sign in to comment.