Static IPs, whitelisting
Right now I’m using firewall rules on my AWS RDS db and external Redis db to only allow incoming connections from my droplets.
Switching to the App Platform, how can this be handled? Since there doesn’t seem to be an option to assign a static IP (or a set of IPs) to the containers that are spun up, I would have to update the list of allowed IPs each time in an after deploy job I guess?
Is that the recommended approach?
If so, how can I access the container’s IP in the job? I don’t see a env var for this…
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×