First, install and configure up.
Then clone repo and setup up.json.
git clone https://github.com/stepankuzmin/geoip-lambda.git
cd geoip-lambda
cp example.up.json up.jsonDownload GeoLite2 City database and place it into data folder.
upcurl `up url` | jq