Reputation: 390
I am running a server on AWS EC2, which runs only for some whitelisted ips. I want to use GCP cloud scheduler for running my cron jobs. So I want to whitelist GCP cloud scheduler request in EC2 server.
I tried google and cloud scheduler documentation, but nothing found regarding ip whitelisting.
Please let me know any way I can achieve this.
Upvotes: 0
Views: 1093
Reputation: 13632
In your security group for the instance, allow only the IPs from your GCP service. This will prevent any other IPs from accessing the service.
Upvotes: 0