Skip to content

Commit ace0893

Browse files
authored
Merge pull request #493 from aws-solutions/v2.1.3
update to v2.1.3
2 parents bc5996d + 61a2e47 commit ace0893

File tree

87 files changed

+3799
-3780
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+3799
-3780
lines changed

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project are documented in this file.
55
Based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.3] - 2023-12-18
9+
10+
### Fixed
11+
12+
- Rate Limited Exceeded in ORGANIZATIONS mode [478](https://github.com/aws-solutions/workload-discovery-on-aws/issues/478)
13+
- Incorrect status displayed for EC2 instances, load balancers, databases and lambda functions [483](https://github.com/aws-solutions/workload-discovery-on-aws/issues/483)
14+
- Missing resource type icons [485](https://github.com/aws-solutions/workload-discovery-on-aws/issues/485)
15+
- Comma in Service Name Results in Cost Feature sum of account to be 0 [489](https://github.com/aws-solutions/workload-discovery-on-aws/issues/489)
16+
- "Load Cost" and "Cost Report" buttons are using different time spans by default, but showing the sameone in the UI [490](https://github.com/aws-solutions/workload-discovery-on-aws/issues/490)
17+
- Comma in Service Name Results causes GraphQL type error [491](https://github.com/aws-solutions/workload-discovery-on-aws/issues/491)
18+
19+
### Changed
20+
- Frequency at which the scheduled discovery process ECS task runs is now configurable via a CloudFormation parameter.
21+
822
## [2.1.2] - 2023-11-14
923

1024
### Fixed
@@ -14,7 +28,7 @@ in large organisation. [478](https://github.com/aws-solutions/workload-discovery
1428
- Only attempt to discover accounts from provided OU and its children, rather than whole organization.
1529
- Throttle `SelectAggregateResourceConfig` API to prevent rate limiting from stopping discovery process from reading from the Config aggregator.
1630
- Remove Retain on organization-wide StackSet so IAM roles are no longer left in organization's accounts after solution is uninstalled.
17-
- Handle error message difference between AppSync VTL resolvers and JS resolvers that prevented discovery process from retrying
31+
- Handle error message difference between AppSync VTL resolvers and JS resolvers that prevented discovery process from retrying
1832
requests to DB if payload was too large.
1933

2034
### Changed
@@ -28,7 +42,7 @@ and `BatchGetAggregateResourceConfig`.
2842
- `AWS::EC2::TransitGatewayRouteTable`
2943
- `AWS::Kinesis::Stream`
3044
- `AWS::MSK::Cluster`
31-
- Ensure OAC name length does exceed 64 characters. [462](https://github.com/aws-solutions/workload-discovery-on-aws/issues/462)
45+
- Ensure OAC name length does not exceed 64 characters. [462](https://github.com/aws-solutions/workload-discovery-on-aws/issues/462)
3246
- No longer ingest resources with status `ResourceNotRecorded`.
3347
- Improve performance of `getResourceChanges` function in Discovery process from O(n<sup>2</sup>) to O(n).
3448
- Retrieve account metadata on frontend in batches of 50.

NOTICE.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ py-serializable
4747
@aws-sdk/client-sts
4848
@aws-sdk/credential-providers
4949
@aws-sdk/lib-dynamodb
50+
@smithy/util-retry
5051
@aws-sdk/util-arn-parser
5152
@cloudscape-design/collection-hooks
5253
@cloudscape-design/components
@@ -57,8 +58,10 @@ py-serializable
5758
**********************
5859
MIT License
5960
**********************
61+
add
6062
pip
61-
cfn-nag
63+
cfn-nag
64+
csv-parse
6265
uuid
6366
material-ui
6467
browserslist

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workload Discovery on AWS (v2.1.2)
1+
# Workload Discovery on AWS (v2.1.3)
22

33
Workload Discovery on AWS is a tool that quickly visualizes AWS Cloud workloads as architecture diagrams.
44
You can use the solution to build, customize, and share detailed workload visualizations based on live data from AWS.
@@ -165,6 +165,10 @@ Parameters required by the template:
165165

166166
**Note** - You will need to deploy in the same account and region as the S3 bucket that the deployment artefacts are uploaded to.
167167

168+
## Troubleshooting
169+
If you encounter problems during or after the deployment of Workload Discovery, consult the [debugging flow](./debugging-flowchart.mmd) chart to help
170+
diagnose and rectify common issues.
171+
168172
## License
169173

170174
See license [here](./LICENSE.txt).

debugging-flowchart.mmd

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
flowchart TD
2+
A(Deploy
3+
CloudFormation Template)
4+
A --> B{Was deployment
5+
successful?}
6+
B -->|Yes| C{What cross
7+
account discovery
8+
mode is being
9+
used?}
10+
B -->|No| D{Were deployment
11+
<u><a href='https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/deployment-process-overview.html'>pre-requisites</a></u>
12+
checked?}
13+
D -->|Yes| E[Retrieve errors from
14+
CloudFormation console.
15+
NB: the error from the
16+
main stack is insufficent,
17+
retrieve the error from
18+
the first nested stack
19+
failed.]
20+
D -->|No| F[Follow instructions
21+
in <u><a href='https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/deployment-process-overview.html'>pre-requisites</a></u>
22+
documentation]
23+
F --> A
24+
C -->|SELF_MANAGED| G{Has the required
25+
CloudFormation been deployed
26+
in the accounts and regions
27+
to be discovered as per the
28+
<u><a href='https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/deployment-process-overview.html'>documention</a></u>?}
29+
G --> |No| I[Deploy the global resources
30+
template exacty once in each
31+
account and the regional
32+
template in every region as
33+
<u><a href='https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/import-a-region.html'>documented</a></u>.]
34+
G --> |Yes| UiErrors{Are there errors dispalyed in the UI}
35+
UiErrors --> |Yes| GetUiLogs[Retrieve any browser errors
36+
using the browser dev tools.]
37+
C -->|AWS_ORGANIZATIONS| UiErrors
38+
UiErrors --> |No| MissingResources{Are there resource types
39+
<u><a href='https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/supported-resources-1.html'>supported by WD</a></u>
40+
that are missing and that are
41+
known to be deployed in
42+
the target accounts?}
43+
OutOfMemory --> |No| DbCpuStats{Do either the Neptune
44+
or Opensearch DBs
45+
have abnormally high
46+
CPU spikes? Verify by following
47+
<u><a href='https://aws-solutions.github.io/workload-discovery-on-aws/workload-discovery-on-aws/2.0/scaling-the-discovery-process.html#_prerequisites'>the pre-requisite steps</a></u>.}
48+
DbCpuStats ---> |No| GetEcsLogs[Retrieve the logs for the
49+
discovery process running
50+
in ECS as per
51+
<u><a href='https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/deployment-process-overview.html'>the documention</a></u>.]
52+
DbCpuStats ---> |Yes| ScaleDbs[Increase the instance
53+
size of the DBs
54+
through CloudFormation
55+
as per the
56+
<u><a href='https://aws-solutions.github.io/workload-discovery-on-aws/workload-discovery-on-aws/2.0/scaling-the-discovery-process.html#_increasing_the_database_instance_sizes'>the documention</a></u>.]
57+
ScaleDbs --> A
58+
OutOfMemory --> |Yes| L[Increase the memory of
59+
the discovery task
60+
by updating the Memory
61+
parameter in
62+
CloudFormation as per
63+
<u><a href='https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/launch-the-stack.html'>the documentation</a></u>.]
64+
L --> A
65+
MissingResources ----> |No| UiProblem[Describe the problem you are
66+
seeing and the steps to reproduce]
67+
MissingResources --> |Yes| OutOfMemory[Are there out of memory
68+
errors for the discovery
69+
process running in ECS?
70+
Verify by following
71+
<u><a href='https://aws-solutions.github.io/workload-discovery-on-aws/workload-discovery-on-aws/2.0/scaling-the-discovery-process.html#_prerequisites_2'>the pre-requisite steps</a></u>.]
72+

0 commit comments

Comments
 (0)