Skip to content

Configure a static IP on Heroku with Fixie Socks and restrict access to the MongoDB Atlas database #8

@kevinbird15

Description

@kevinbird15

I noticed in your blog post that you had mentioned using Fixie Socks to restrict access to the MongoDB Atlas Database. I'm curious if that is a step you were able to successfully implement. I have done something pretty close to the app you describe here and I really like how easy MongoDB Atlas is to work with, but I am having troubles using it with Heroku because Heroku doesn't have static IPs available except for enterprise tier customers. I tried using Fixie, Fixie Socks, and Quota Guard, but I don't think I am using them quite properly because when I install them as add-ons, my fastapi backend still tries to call Atlas directly. From what I can tell these add-ons basically just turn into a proxy server, but I'm not sure how to tell my application to pass traffic through. If you have any advice on getting this to work, I would be super interested!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions