Construct library for creating a CSV ingest pipeline into OpenSearch with a front end website.
Project description
LASP OpenSearch Data Center CDK Constructs
A construct library for implementing an OpenSearch data center. This library contains the following constructs:
- BackendStorageConstruct
- BackupVault
- Certificate
- FrontendStorageConstruct
- NetworkingComponents
- Frontend
- OpenSearch
- CloudWatchAlarmConstruct
- Ingest
- DynamoQuery
Example usage:
domain_name = "example.com"
self.frontendStorage = FrontendStorage(
self, domain_name, construct_id, environment, **kwargs
)
account_type = "dev"
self.backendStorage = BackendStorage(
self,
construct_id,
dropbox_bucket_name=f"{account_type}-example-dropbox",
ingest_bucket_name=f"{account_type}-example-ingest",
opensearch_snapshot_bucket_name=f"{account_type}-example-opensearch-manual-snapshot",
)
frontend_bucket = self.frontendStorage.frontend_bucket
self.frontend = FrontEndConstruct(
self,
construct_id=construct_id,
account_type=account_type,
domain_name=domain_name,
frontend_bucket=frontend_bucket,
waf_ip_range="1.1.1.0/24", # Example IP range
environment=environment,
)
self.networking = NetworkingComponentsConstruct(self, construct_id)
self.certificate = CertificateConstruct(
self, "CertificateConstruct", domain_name
)
# TODO: add example usage for constructs as they are completed
Networking Construct
L3 Construct containing a custom VPC with specific subnet configurations.
Back End Storage Construct
L3 Construct containing the necessary storage infrastructure that supports the back end ingest pipeline and Opensearch.
Ingest Construct
Not yet implemented as a L3 Construct
Installation
The package is available on PyPI:
pip install lasp-opensearch-data-center
Roadmap and Plans
- Incorporate the last L3 construct for OpenSearch and data ingest
- Add static code analysis and automated security testing (e.g. Bandit) using Github actions
- Write user documentation for putting these lego blocks together, including example code for Stacks (e.g. an example CDK app)
- Will include detailed instructions on customizing ingest handler code
- Clean up the docstrings and improve overall code polish
- Write developer documentation for developing further
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
Close
Hashes for lasp_opensearch_data_center-1.0.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805549c9742d84ad1ba65bbe60407bed98f6295013b706c495e78a1c77cb8ad3 |
|
MD5 | 17085d4bbe4c0eb28499e0611d11f130 |
|
BLAKE2b-256 | d01caff4c7ee728eac91cf91673f523c6438e527f1d1b85b0985cc2ebcdf274b |
Close
Hashes for lasp_opensearch_data_center-1.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae928c669cfe128332d4af3d2aee624ea623acf026321dd02e7aaa0b8d220c14 |
|
MD5 | 36835f1c73fc55dd10e4f583f7a39dc1 |
|
BLAKE2b-256 | 6d536256c5bda5077e8a312781cba2104327058263661e7fbc00987a481fd189 |