Gathering detailed insights and metrics for aws-analytics-reference-architecture
Gathering detailed insights and metrics for aws-analytics-reference-architecture
Gathering detailed insights and metrics for aws-analytics-reference-architecture
Gathering detailed insights and metrics for aws-analytics-reference-architecture
npm install aws-analytics-reference-architecture
Typescript
Module System
Node Version
NPM Version
TypeScript (50.75%)
Python (24.81%)
Java (14.46%)
Scala (7.02%)
PLpgSQL (1.82%)
JavaScript (1.07%)
Batchfile (0.03%)
Shell (0.02%)
Total Downloads
175,004
Last Day
100
Last Week
863
Last Month
3,397
Last Year
43,596
NOASSERTION License
158 Stars
358 Commits
44 Forks
8 Watchers
24 Branches
37 Contributors
Updated on Jul 21, 2025
Latest Version
2.12.13
Package Id
aws-analytics-reference-architecture@2.12.13
Unpacked Size
403.46 MB
Size
117.28 MB
File Count
10,969
NPM Version
9.8.0
Node Version
20.5.1
Published on
Feb 29, 2024
Cumulative downloads
Total Downloads
Last Day
49.3%
100
Compared to previous day
Last Week
30.4%
863
Compared to previous week
Last Month
66.7%
3,397
Compared to previous month
Last Year
-37.6%
43,596
Compared to previous year
7
4
38
The AWS Analytics Reference Architecture is a set of analytics solutions put together as end-to-end examples. It regroups AWS best practices for designing, implementing, and operating analytics platforms through different purpose-built patterns, handling common requirements, and solving customers' challenges.
This project is composed of:
This documentation explains how to get started with the core components of the AWS Analytics Reference Architecture.
1export ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text) 2export AWS_REGION=eu-west-1 3cdk bootstrap aws://$ACCOUNT_ID/$AWS_REGION
1mkdir my_demo 2cd my_demo 3cdk init app --language python 4python3 -m venv .env 5source .env/bin/activate
1aws-cdk-lib==2.51.0 2constructs>=10.0.0,<11.0.0 3aws_analytics_reference_architecture>=2.0.0
1python -m pip install -r requirements.txt
1import aws_analytics_reference_architecture as ara
1 # Create a new DataLakeStorage with Raw, Clean and Transform buckets configured with data lake best practices 2 storage = ara.DataLakeStorage (self,"storage")
1 # Create a new DataLakeCatalog with Raw, Clean and Transform databases 2 catalog = ara.DataLakeCatalog (self,"catalog")
1 # Generate the Sales Data 2 sales_data = ara.BatchReplayer( 3 scope=self, 4 id="sale-data", 5 dataset=ara.PreparedDataset.RETAIL_1_GB_STORE_SALE, 6 sink_object_key="sale", 7 sink_bucket=storage.raw_bucket, 8 ) 9
1 # Generate the Customer Data 2 customer_data = ara.BatchReplayer( 3 scope=self, 4 id="customer-data", 5 dataset=ara.PreparedDataset.RETAIL_1_GB_CUSTOMER, 6 sink_object_key="customer", 7 sink_bucket=storage.raw_bucket, 8 ) 9
1 # Configure defaults for Athena console 2 athena_defaults = ara.AthenaDemoSetup(scope=self, id="demo_setup")
1 # Configure a default role for AWS Glue jobs 2 ara.GlueDemoRole.get_or_create(self)
Deploy the AWS CDK application
1cdk deploy
The time to deploy the application is depending on the constructs you are using
Delete the AWS CDK application
1cdk destroy
More contructs, helpers and datasets are available in the AWS Analytics Reference Architecture. See the full API specification here
Please refer to the contributing guidelines and contributing FAQ for details.
The documentation is made available under the Creative Commons Attribution-ShareAlike 4.0 International License. See the LICENSE file.
The sample code within this documentation is made available under the MIT-0 license. See the LICENSE-SAMPLECODE file.
No vulnerabilities found.