ministryofjustice / analytical-platform

Analytical Platform • This repository is defined and managed in Terraform
https://docs.analytical-platform.service.justice.gov.uk
MIT License
8 stars 4 forks source link

🤝 Implement AWS Transfer Family Server #3501

Closed Gary-H9 closed 3 months ago

Gary-H9 commented 5 months ago

User Story

As a… User of the Analytical Platform I want to be able to ingest data into the platform So that… I can use all of the tooling etc within the platform

As a AP Product Engineer I want to the platform to be able to ingest data in a controlled, precise and monitored fashion. So that we can provide a better service for our users and build a foundational offering within the platform.

This ticket builds on this previously raised Feature Request.

Value / Purpose

Data ingestion will be a foundational part of the AP offering going forward. This piece of work will create the foundations which this offering will be built on.

Useful Contacts

Jacob W / Julia / Gary

Proposal

Create the ingestion route as outlined here.

Additional Information

image

For the AWS Transfer Family Server - Electronic Monitoring already use this functionality.

Definition of Done

jacobwoffenden commented 5 months ago

29/02/24 summary:

jacobwoffenden commented 5 months ago

05/03/24 summary:

jacobwoffenden commented 5 months ago

06/03/24:

TODO:

Notes:

EDIT @jacobwoffenden:

I've managed to get this working by editing the IAM policy for the user to include more S3 permissions, and added KMS permissions

Screenshot 2024-03-06 at 18 37 42

EDIT 2 @jacobwoffenden:

Gary-H9 commented 5 months ago

07/03/24:

jacobwoffenden commented 4 months ago

11/04/24 summary:

TODO:

Gary-H9 commented 4 months ago

14th March summary:

jacobwoffenden commented 4 months ago

18/03/2024 summary (plus a bit more):

Gary:

Gary-H9 commented 4 months ago
Gary-H9 commented 4 months ago

Created documentation relating to the solution in user-guidance (🚧) and in our new runbooks documentation.

jacobwoffenden commented 4 months ago

@ministryofjustice/modernisation-platform have enabled optimised directories manually in both transfer servers (dev and prod)

jacobwoffenden commented 4 months ago

https://github.com/hashicorp/terraform-provider-aws/issues/35851

Gary-H9 commented 4 months ago

Awaiting user information to allow testing. In the meantime egress has been completed.

Gary-H9 commented 4 months ago
jacobwoffenden commented 4 months ago

Pending details from BOLD to begin onboarding

jacobwoffenden commented 3 months ago

Data Engineering's https://github.com/moj-analytical-services/iam_builder needs updating to add kms which is needed to add KMS permissions to their Airflow role

jacobwoffenden commented 3 months ago

Analytical Platform team to update Airflow IAM role with permissions to access KMS key

jacobwoffenden commented 3 months ago

Implemented regional KMS

jacobwoffenden commented 3 months ago

Moving to blocked:

michaeljcollinsuk commented 3 months ago

Moving back to in progress as @julialawrence is working on a new request from BOLD

jacobwoffenden commented 3 months ago

Blocked by #3765

jacobwoffenden commented 3 months ago

Closing as we've tested end-to-end, we're waiting on BOLD to perform their end-to-end testing which is out of scope for this issue.