Skip to main content

The AWS DataOps Development Kit is an open source development framework for customers that build data workflows and modern data architecture on AWS.

Project description

AWS DataOps Development Kit (DDK)

Actions Status Downloads

Packages 🗳️

The AWS DataOps Development Kit is an open source development framework for customers that build data workflows and modern data architecture on AWS.

Based on the AWS CDK, it offers high-level abstractions allowing you to build pipelines that manage data flows on AWS, driven by DevOps best practices. The framework is extensible, you can add abstractions for your own data processing infrastructure or replace our best practices with your own standards. It's easy to share templates, so everyone in your organisation can concentrate on the business logic of dealing with their data, rather than boilerplate logic.


The DDK Core is a library of CDK constructs that you can use to build data workflows and modern data architecture on AWS, following our best practice. The DDK Core is modular and extensible, if our best practice doesn't work for you, then you can update and share your own version with the rest of your organisation by leveraging a private AWS Code Artifact repository.

You can compose constructs from the DDK Core into a DDK App. Your DDK App can also add contain constructs from the CDK Framework or the AWS Construct Library.

Overview

For a detailed walk-through, check out our Workshop or take a look at examples.

Build Data Pipelines

One of the core features of DDK is ability to create Data Pipelines. A DDK DataPipeline is a chained series of stages. It automatically “wires” the stages together using AWS EventBridge Rules .

DDK comes with a library of stages, however users can also create their own based on their use cases, and are encouraged to share them with the community.

Let's take a look at an example below:

...

firehose_s3_stage = FirehoseToS3Stage(
    self,
    "ddk-firehose-s3",
    bucket=ddk_bucket,
    data_output_prefix="raw/",
)
sqs_lambda_stage = SqsToLambdaStage(
    scope=self,
    id="ddk-sqs-lambda",
    code=Code.from_asset("./lambda"),
    handler="index.lambda_handler",
    layers=[
        LayerVersion.from_layer_version_arn(
            self,
            "ddk-lambda-layer-wrangler",
            f"arn:aws:lambda:{self.region}:336392948345:layer:AWSSDKPandas-Python39:1",
        )
    ]
)

(
    DataPipeline(scope=self, id="ddk-pipeline")
    .add_stage(firehose_s3_stage)
    .add_stage(sqs_lambda_stage)
)
...

First, we import the required resources from the aws_ddk_core library, including the two stage constructs: FirehoseToS3Stage() and SqsToLambdaStage(). These two classes are then instantiated and the delivery stream is configured with the S3 prefix (raw/). Finally, the DDK DataPipeline construct is used to chain these two stages together into a data pipeline.

Complete source code of the data pipeline above can be found in AWS DDK Examples - Basic Data Pipeline

Official Resources

Getting Help

The best way to interact with our team is through GitHub. You can open an issue and choose from one of our templates for bug reports, feature requests, or documentation issues. If you have a feature request, don't forget you can search existing issues and upvote or comment on existing issues before creating a new one.

Contributing

We welcome community contributions and pull requests. Please see CONTRIBUTING.md for details on how to set up a development environment and submit code.

Other Ways to Support

One way you can support our project is by letting others know that your organisation uses the DDK. If you would like us to include your company's name and/or logo in this README file, please raise a 'Support the DDK' issue. Note that by raising a this issue (and related pull request), you are granting AWS permission to use your company’s name (and logo) for the limited purpose described here and you are confirming that you have authority to grant such permission.

License

This project is licensed under the Apache-2.0 License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-ddk-core-1.3.0.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_ddk_core-1.3.0-py3-none-any.whl (5.0 MB view details)

Uploaded Python 3

File details

Details for the file aws-ddk-core-1.3.0.tar.gz.

File metadata

  • Download URL: aws-ddk-core-1.3.0.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for aws-ddk-core-1.3.0.tar.gz
Algorithm Hash digest
SHA256 bb7a8c5d13099b4bd77f42c86511f0bbd0a389a30ef474378abb83f4e9756b79
MD5 ed75c83657b4d3e9f06f21042c438366
BLAKE2b-256 aa2c70d79ddc85f2d32ddecc8065bd5311674be56d05228470446681e82dfb2c

See more details on using hashes here.

File details

Details for the file aws_ddk_core-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: aws_ddk_core-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for aws_ddk_core-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f634ad876e684aeced7cbc0112d11263b3495928e4095ea926f412c72493ef1
MD5 a641cde434ca6d0b50e5431d7baa5256
BLAKE2b-256 15b87f9878a17a39c31c0b37ede76c1c383e7a0eb53810a25c7641a50906ed66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page