Skip to content

Commit bcc0e30

Browse files
authored
Update arch (#7)
1 parent 550eaf9 commit bcc0e30

File tree

3 files changed

+27
-17
lines changed

3 files changed

+27
-17
lines changed

README.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,6 @@ In order to install all the relevant libraries, execute the following code from
2525
npm install
2626
```
2727

28-
## Deployment
29-
30-
Once all libraries have been installed, you can proceed in deploying all stacks with the following command.
31-
32-
```bash
33-
cdk deploy --all
34-
```
35-
36-
Or if you'd like to skip all manual approvals run:
37-
38-
```bash
39-
cdk deploy --all --require-approval never
40-
```
41-
42-
> Stack can take some time to deploy. Expect more than 1 $\frac{1}{2}$ hours to deploy.
43-
4428
## CDK Deployment Readiness
4529

4630
The sample takes advantage of [AWS Cloud Development Kit (CDK)](https://docs.aws.amazon.com/cdk/index.html) to define infrastructure as code. This section focuses on some of the tools and configurations required in order to successfully deploy the CDK. It highlights steps such as ensuring the deployment machine has the correct version of CDK, bootstrapping each region, quota limits to be able to deploy the resources, and a need for docker to deploy the image, otherwise an alternative if Docker is not possible.
@@ -83,6 +67,22 @@ image: ContainerImage.fromRegistry('daskdev/dask:2022.10.0'),
8367
// ),
8468
```
8569

70+
## Deployment
71+
72+
Once all libraries have been installed, you can proceed in deploying all stacks with the following command.
73+
74+
```bash
75+
cdk deploy --all
76+
```
77+
78+
Or if you'd like to skip all manual approvals run:
79+
80+
```bash
81+
cdk deploy --all --require-approval never
82+
```
83+
84+
> Stack can take some time to deploy. Expect more than 1 $\frac{1}{2}$ hours to deploy.
85+
8686
## Testing
8787

8888
Once all resources have successfully deployed, a Sagemaker Notebook in the _eu-west-2_ should be available. On that notebook should be a series of files; the one of interest is the **ux_notebook.ipynb**. The notebook contains details on it's purpose, however feel free to use the below inputs for a first run.
@@ -103,6 +103,14 @@ Any parameters not mentioned above, keep them as default and you should see afte
103103

104104
![ResultsPredictive](images/ResultsPredictive.png)
105105

106+
## Clean up
107+
108+
Clean up is simple and easy when you develop using the CDK. In order to clean up your account run the following command to destroy resources relating to this project:
109+
110+
```bash
111+
cdk destroy --all
112+
```
113+
106114
## Security
107115

108116
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
@@ -112,7 +120,9 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform
112120
This library is licensed under the MIT-0 License. See the LICENSE file.
113121

114122
## Content Security Legal Disclaimer
123+
115124
The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.
116125

117126
## Operational Metrics Collection
127+
118128
This solution collects anonymous operational metrics to help AWS improve the quality and features of the solution. Data collection is subject to the AWS Privacy Policy (https://aws.amazon.com/privacy/). To opt out of this feature, simply remove the tag(s) starting with “uksb-” or “SO” from the description(s) in any CloudFormation templates or CDK TemplateOptions.

bin/cross-region-dask-aws.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const clientStack = new ClientRegion(app, "Client-Region", {
2424
},
2525
clientCidr: client.cidr,
2626
workers,
27-
description: "Reference for distributed compute on AWS with cross regional DASK ('uksb-1tsflhnc4')",
27+
description: "Guidance for Distributed Compute on AWS with Cross Regional Dask (SO9190)",
2828
});
2929

3030
// This array will contain the contruct classes of workers which allow us to interconnect them later dynamically

images/Architecture.png

218 KB
Loading

0 commit comments

Comments
 (0)