Skip to content

Commit

Permalink
DP-641 Add diagrams, SQS and RDS integration with ECS (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
webit4me authored Oct 10, 2024
1 parent 699d68e commit 5891065
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion terragrunt/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,18 @@

This diagram provides an overview of the CDP-SIRSI application’s architecture, covering DNS records, load balancing, ECS services, and database connections. It includes key services and interactions but does not represent the complete implementation details.

![bootstrap-start.png](./diagrams/CDP-SIRSI-HLO-DNS-NET-ECS-DATA.png)
![CDP-SIRSI-HLO-DNS-NET-ECS-DATA](./diagrams/CDP-SIRSI-HLO-DNS-NET-ECS-DATA.png)

### CDP-SIRSI Application: ECS and RDS Database Integration

This diagram illustrates the integration between the ECS cluster and Amazon RDS databases for the CDP-SIRSI application. It shows how various product services within the ECS tasks, such as Authority, Data Sharing, and Organisation tasks, interact with the cdp-sirsi and cdp-sirsi-entity-verification databases. The IAM role: cdp-sirsi-ecs-task is permitted to securely pull credentials from AWS Secrets Manager, which manages the automatic weekly rotation of master database credentials.

Additionally, the PG Admin Task is a tool used in the non-production environment to assist developers. However, it requires manual updates to database connection passwords following each rotation of the master credentials in Secrets Manager.

![CDP-SIRSI-ECS-RDS](./diagrams/CDP-SIRSI-ECS-RDS.png)

### CDP-SIRSI Application: ECS and SQS Queue Integration

This diagram illustrates the integration between the ECS cluster and SQS queues for the CDP-SIRSI application. It shows how different services within the ECS tasks, such as Entity Verification and Organisation tasks, interact with both standard and dead-letter FIFO queues. The IAM role: cdp-sirsi-ecs-task is granted access to these SQS queues, allowing secure interaction and message handling. Queue attributes, including deduplication, message retention, and encryption with SSE-SQS, are highlighted to ensure system security and reliable message processing.

![CDP-SIRSI-ECS-SQS](./diagrams/CDP-SIRSI-ECS-SQS.png)
Binary file added terragrunt/docs/diagrams/CDP-SIRSI-ECS-RDS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added terragrunt/docs/diagrams/CDP-SIRSI-ECS-SQS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5891065

Please sign in to comment.