Skip to content

Commit

Permalink
Adding minor details to the build and run step within the README inst… (
Browse files Browse the repository at this point in the history
#128)

*Description of changes:*

Adding a couple of additional details to the build and run step. The
run.sh file require a few changes before it is ready to be executed and
these steps are not present in the README file.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
  • Loading branch information
ashishgo-aws authored Aug 14, 2024
1 parent e0412e4 commit 83874f0
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,19 @@ To experiment with the image using a vanilla Docker setup, follow these steps:
python3 create_venvs.py
```

3. Build the Airflow v2.9.2 Docker image using:

```
cd <amazon-mwaa-docker-images path>/images/airflow/2.9.2
./run.sh
```
3. Build the Airflow v2.9.2 Docker image
- `cd <amazon-mwaa-docker-images path>/images/airflow/2.9.2`
- Update `run.sh` file with your account ID, environment name and account credentials. The permissions associated
with the provided credentials will be assigned to the Airflow components that would be started with the next step.
So, if you receive any error message indicating lack of permissions, then try providing the permissions to the
identity whose credentials were used.
- Create the required log groups in the dev account with the names:
- `{ENV_NAME}-DAGProcessing`
- `{ENV_NAME}-Scheduler`
- `{ENV_NAME}-Worker`
- `{ENV_NAME}-Task`
- `{ENV_NAME}-WebServer`
- `./run.sh` This will build and run all the necessary containers.

Airflow should be up and running now. You can access the web server on your localhost on port 8080.

Expand Down

0 comments on commit 83874f0

Please sign in to comment.