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
-
Read more AWS CDK:
https://github.com/aws/aws-cdk -
Read more about parallel AWS CDK deployments:
https://github.com/aws/aws-cdk/issues/1973
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.1.0
- Refactor project to make it more debug-friendly.
0.0.2
- Upgrade dependencies.
0.0.1
- Initial build.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file b_aws_cdk_parallel-0.1.0.tar.gz
.
File metadata
- Download URL: b_aws_cdk_parallel-0.1.0.tar.gz
- Upload date:
- Size: 10.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17f3c61dac66a050f595dcc8ebf3795649c5edf3786622ce6edc727f821249e |
|
MD5 | e7e9f7dcd69c62eff033a30673a6582b |
|
BLAKE2b-256 | 858138f4a323ee0c740c938929f085410ef37aed49976efd4a3b848d491ba939 |
File details
Details for the file b_aws_cdk_parallel-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: b_aws_cdk_parallel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2739c8ff99c64138339245d0c8dd463133ed91aa36f2176181d25393d6e35289 |
|
MD5 | af4481fd718029bf93118e5dc8a214e3 |
|
BLAKE2b-256 | 6c97c1178b156aee005b7a7e0577b35530d152da3c64372c477c92bab4e764b9 |