Ravi  Prakash Yadav
Ravi Prakash Yadav

Reputation: 390

How to whitelist GCP cloud scheduler ip in aws EC2 server

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

Answers (1)

Rodrigo Murillo
Rodrigo Murillo

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

Related Questions