Configuring the MWAA prerequisites
Before we can launch the MWAA service, there are a few prerequisites that need to be addressed, namely:
- MWAA requires access to an S3 bucket where the DAGs are stored.
- MWAA needs to access a
requirements.txt
file, also stored on S3, to load any unique Python libraries that the workers would need to execute their assigned tasks. - Although not required by MWAA, we need to also configure various IAM roles to access backend services such as Glue and SageMaker.
- We also need to provide the artifacts that the various backend services would require. For example, we need to provide ETL scripts in order for the Glue service to execute.
In the following steps, we will provide these prerequisites as a CDK application:
- Log in to the same AWS account you've been using in the previous chapter and open the AWS Cloud9 console (https://console.aws.amazon.com/cloud9).
- In the Your environments section, click the Open IDE button...