Hi. I have been troubleshooting this issue for a c...
# ask-metaflow
b
Hi. I have been troubleshooting this issue for a couple of days with Metaflow. I have already added inbound traffic allowance for PostgreSQL in the security group associated with the database. But my flow is unable to connect to the database. When I run
python3 prodgpt/test_flow.py run
, there is no response. Is there something missing 😭?
✅ 1
image.png
c
METAFLOW_SERVICE_INTERNAL_URL
and
METAFLOW_SERVICE_URL
are for the Metadata Service, not the Postgresql DB. The Metaflow Service will communicate with the Postgresql DB.
✅ 2
b
oh. thanks ya. lemme check
I fixed the issue by removing the
METAFLOW_SERVICE_INTERNAL_URL
and
METAFLOW_SERVICE_URI
configurations, correcting the
METAFLOW_SFN_IAM_ROLE
(I mistakenly typed 'iam user' instead), and adding
AWSBatchFullAccess
and
AmazonEventBridgeFullAccess
permissions to the IAM role. I followed the Metaflow manual setup guide, which was extremely helpful. Previously, I used the Metaflow CloudFormation template, just to try it out and ended up being charged $500, so this time I decided to set everything up manually. I wonder why Metaflow no longer maintains the manual guide, @square-wire-39606? It's incredibly useful! Thanks to the manual guide that @square-wire-39606 commented in this thread
a
@bitter-printer-32162 good point. we will look into resurrecting it.
🙌 1
s
if you want to try out metaflow, take a look at sandboxes - outerbounds.com/sandbox
b
@square-wire-39606 do you have a manual guide how to setup metaflow ui?