How do restrict access to dynos in a Private Space on my S3 bucket?

Issue

I wanted to secure my S3 bucket with allowing accesses from dynos in my Private Space with allowing only Stable Outbound IP addresses. Still, dynos don't seem to have access to my S3 bucket.

Resolution

Please use the VPC ID for the Private Space which is available through the Heroku CLI command:

heroku spaces:peering:info --space <space-name>

For securing the platform, Heroku creates VPC Endpoints against S3 buckets in the same region. This affects the routing of network connections from dynos in the Private Space to your S3 bucket.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support