Closed Bug 1470869 Opened 8 years ago Closed 8 years ago

Document usage of net-mozaws-prod-us-west-2-pipeline-metadata

Categories

(Data Platform and Tools :: General, defect, P1)

defect
Points:
2

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: klukas, Assigned: mreid)

References

Details

(Whiteboard: [DataPlatform])

net-mozaws-prod-us-west-2-pipeline-metadata is an S3 bucket used for credentials storage and other pipeline metadata. We should document the intended usage and directory structure in a README at the root of the bucket and potentially also in docs.telemetry.mozilla.org. According to :mreid: > It has the idea of "data sources", and for a given source you can have credentials (either "read" or "write")
Whiteboard: [DataPlatform]
For example, s3://net-mozaws-prod-us-west-2-pipeline-metadata/pipeline-redshift/read/credentials.json contains the following: { "description": "First round of Redshift derived data sets", "doclink": "https://bugzilla.mozilla.org/show_bug.cgi?id=1213417", "host": "pipeline-redshift.dev.mozaws.net", "port": 5432, "username": "read_only", "password": "<redacted>", "db_name": "pipeline" } All these credentials blobs look to follow this format, with "description" and "doclink" fields, and then whatever fields are needed for specifying the connection. Also notice the directory structure of <data_source_name>/<read_or_write>/credentials.json The other type of file is a <data_source_name>/schema.json Here's the full listing of current files: › aws s3 ls s3://net-mozaws-prod-us-west-2-pipeline-metadata/ --recursive | awk '{print $4}' distribution-viewer-db/write/credentials.json landfill/schema.json old-telemetry/schema.json pioneer-study/schema.json pipeline-redshift/read/credentials.json pipeline-redshift/write/credentials.json shielddash-db/write/credentials.json smtp_ses/credentials.json sources.json sslreports/schema.json telemetry-2/budget_targets.json telemetry-2/schema.json telemetry-cohorts/schema.json telemetry-errors-2/schema.json telemetry-executive-summary/schema.json telemetry-experiments/schema.json telemetry-loop/schema.json telemetry-payload-size/schema.json telemetry-release/schema.json telemetry-sample/schema.json telemetry-webrtc/schema.json telemetry/schema.json test-tube-db/write/credentials.json test-tube-staging-db/write/credentials.json
Assignee: nobody → mreid
Points: --- → 2
Priority: -- → P1
Blocks: 1470874
Blocks: 1470967
I wrote up some docs @ https://github.com/mozilla/Fx-Data-Planning/pull/29 r? :klukas
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.