Reputation: 600
Is it possible to create a Google Cloud Storage bucket and restrict it's access to one IP? I plan on using a bucket to store data that only I would ever need to upload/download from.
Upvotes: 2
Views: 588
Reputation: 2660
Easiest is the GCS Bucket IP Filtering feature that allows you to limit client access to a bucket by Internet and/or VPC IP address network range.
Here are the official docs as well as a recent blog post I published to get you started.
Another option is to use VPC Service Controls. This no cost feature allows you to restrict client access to project resources based on a variety of attributes, including source IP address, and includes support for Cloud Storage buckets.
Upvotes: 2