Assign AWS Elastic beanstalk as a trusted source

October 9, 2019 315 views
DigitalOcean Managed PostgreSQL Database

I hosting on AWS (Elastic Beanstalk) with a managed postgres db on DO.
For the trusted sources I have used an instance on an ec2 server, but I believe these can change. For now i can connect to the db, but i worry that this wont last - is there a way of ensuring the AWS hosted site is always a trusted source?

1 Answer

Maybe you could assign a static source IP address for your instances in your Elastic Beanstalk environment. That way the outbound traffic would always be coming from this static IP and it would not change:

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!