1. Packages
  2. AWS Classic
  3. How-to Guides
  4. RDS Postgres and Containerized Airflow

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

RDS Postgres and Containerized Airflow

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    View Code Deploy this example with Pulumi

    A Pulumi program to deploy an RDS Postgres instance and containerized Airflow.

    Deploying and running the program

    For more information on how to run this example, see: https://www.pulumi.com/docs/ and https://www.pulumi.com/docs/get-started/

    1. Create a new stack:

      $ pulumi stack init airflow
      
    2. Set the AWS region:

      $ pulumi config set aws:region us-east-1
      
    3. Set the desired RDS password with:

      $ pulumi config set --secret airflow:dbPassword DESIREDPASSWORD
      
    4. Restore NPM modules via yarn install.

    5. Run pulumi up to preview and deploy changes. After the preview is shown you will be prompted if you want to continue or not.

    Previewing update of stack 'airflow'
    Previewing changes:
    
         Type                                           Name                              Plan       Info
     +   pulumi:pulumi:Stack                            airflow                           create
    ...
    
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi