HomeDevCentral

Fetch GeoIP databases

Description

Fetch GeoIP databases

Summary:
Sentry can describe both end user and server IP addresses with geolocation.
To do so, it requires up-to-date MaxMind GeoLite2-City database.

The geoipupdate wrapper fetches the free databases in /srv/geoip,
firing a container with the Geo IP update program to run once.
It uses credentials stored in Vault for our MaxMind account.

Sentry containers can then mount /srv/geoip volume to fetch information.

References:

Ref T1791

Test Plan: geoipupdate on docker-002 created /srv/geoip like expected

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1791

Differential Revision: https://devcentral.nasqueron.org/D2874

Details

Provenance
derecksonAuthored on Mar 10 2023, 20:05
derecksonPushed on Mar 10 2023, 20:11
Reviewer
dereckson
Differential Revision
D2874: Fetch GeoIP databases
Parents
rOPSaa82d0a5723c: Deploy ClickHouse container for Sentry
Branches
Unknown
Tags
Unknown
Tasks
T1791: Refresh Sentry installation