Skip to content

The Data Foundations Framework accelerates deployment of a modern data platform using AWS native services and best practices.

License

Notifications You must be signed in to change notification settings

aws-samples/aws-data-foundations-framework

Data Foundation Framework Accelerator

The Data Foundation Framework Accelerator uses AWS CDK to deploy the architecture. It consists of a secure data lake built on S3, augmented with security through KMS and IAM, and fine-grained data governance through Glue and Lake Formation. Once deployed, this data foundation allows a functional data system to be built on top of it, with the flexibility to customize the system to the customer’s needs.

Description

The Data Foundation asset builds the foundational components of a data system, following published AWS best practices.

  • A customer-managed key (CMK) is created in KMS to encrypt the data lake buckets.
  • In S3, three data lake buckets are created, with server access logs written to a fourth bucket. Furthermore, a fifth bucket is created for use with Athena.
  • IAM Groups, Users, and Roles are created with least privilege access to the S3 data lake buckets, CMK, and other essential services such as Lake Formation and Glue.
  • In Glue, three Databases are created in the Glue Data Catalog, each pointing to their respective data lake buckets in S3. Crawlers are also created to crawl each of the data lake buckets and update the corresponding Database in Glue Data Catalog.
  • Lastly, Lake Formation is pre-configured to register the S3 data lake locations, create and associate tags to each Database, grant least privilege access permissions to each IAM User and Role, and also assign Lake Formation Admins.

Deployment Guide

  1. Pre-configure Lake Formation

    1. From the AWS Console, go to Lake Formation. If this is your first time using Lake Formation, select "Add myself" > Get Started, in order to add your current admin user as a Lake Formation admin.
    2. From the left sidebar, go to Administration > Data Catalog Settings > Uncheck the two boxes under "Default permissions for newly created databases and tables" > Save
    3. From the left sidebar, go to Administration > Administrative Roles and Tasks > Under "Database creators", select "IAMAllowedPrincipals" > Click "Revoke" on the top right > Revoke
  2. Update app.py

    1. On line 8, update the account number and region parameters
  3. Deploy the CDK app

Contributing

See CONTRIBUTING for more information.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the MIT-0 License.

About

The Data Foundations Framework accelerates deployment of a modern data platform using AWS native services and best practices.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •