Hi,
Could you please provide more information about the IPs from outside your VPC? You could connect to a Cloud SQL instance from external sources over a VPN tunnel or Cloud Interconnect to your VPC network [1]. If you are referring to a serverless environment on Google Cloud such as fully-managed Cloud Run, Cloud Functions, or App Engine Standard, you could use Serverless VPC Access to connect [2].