Skip to main content

Package that enables deployment of AWS CDK stacks in parallel.

Project description

B.AwsCdkParallel

A python based package that enables AWS CDK parallel stack deployments.

Description

One of the biggest downsides of AWS CDK IaC tool is the sequential deployments. If you have many stacks within your project - it can take hours and hours till everything gets deployed. Wouldn't it be cool to parallelize them? According to AWS CDK tool maintainers - they are not even thinking right now to include such functionality. Hence, this project was built. This project allows you to run traditional cdk deploy * and cdk destroy * -f. But the main trick is that it can do it in parallel - massively increasing the speed of your deployments.

Remarks

Biomapas aims to modernise life-science industry by sharing its IT knowledge with other companies and the community. This is an open source library intended to be used by anyone. Improvements and pull requests are welcome.

Related technology

  • Python 3
  • AWS CDK
  • AWS CloudFormation

Assumptions

The project assumes the following:

  • You have basic-good knowledge in python programming.
  • You have basic-good knowledge in AWS.
  • You have very good knowledge in AWS CDK.

Useful sources

Install

The project is built and uploaded to PyPi. Install it by using pip.

pip install b_aws_cdk_parallel

Or directly install it through source.

pip install .

Usage & Examples

from parallel.deployment_executor import DeploymentExecutor
from parallel.deployment_type import DeploymentType

if __name__ == '__main__':
    executor = DeploymentExecutor(deployment_type=DeploymentType.DEPLOY)
    executor.run()

Testing

This project currently has no tests.

Contribution

Found a bug? Want to add or suggest a new feature?
Contributions of any kind are gladly welcome. You may contact us directly, create a pull-request or an issue in github platform. Lets modernize the world together.

Release history

0.2.0

  • Add ability to retry main deployment too.

0.1.0

  • Refactor project to make it more debug-friendly.

0.0.2

  • Upgrade dependencies.

0.0.1

  • Initial build.

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

b_aws_cdk_parallel-0.2.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

b_aws_cdk_parallel-0.2.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file b_aws_cdk_parallel-0.2.0.tar.gz.

File metadata

  • Download URL: b_aws_cdk_parallel-0.2.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/47.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for b_aws_cdk_parallel-0.2.0.tar.gz
Algorithm Hash digest
SHA256 deee003f3f9be9ec9b09ecab48cf295819faf20ecbb64d0d014372b76e7f9ef9
MD5 642e7f0dd52376385522978ad42deffa
BLAKE2b-256 df6b5a73b940d1d78b190ab7c0e8ee04d622eb33b366864221178eb400640dc3

See more details on using hashes here.

File details

Details for the file b_aws_cdk_parallel-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: b_aws_cdk_parallel-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/47.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for b_aws_cdk_parallel-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef275dc8d811998af2f497a251b5f23af84365b3a0b219a77fb66022850145e2
MD5 f4abb080cfae6693af8b9a1166b1b0de
BLAKE2b-256 55897fdeff8d75ede3ae5ca17a7f6ea84859c746ff436aeafdee6fd8587fe266

See more details on using hashes here.

Supported by

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