1. Create bucket and set bucket
Link: https://console.cloud.google.com/storage/browser
-
In the bucket list, enter the bucket you just created.
-
Select the Permissions tab near the top of the page .
-
In the Permissions section, click the person_add Grant Access button.
The Grant Access dialog is displayed.
-
In the New primary account number field, enter
allUsers
. -
Enter Storage Object Viewer in the Filter By box of the Select Role drop-down list, and select Storage Object Viewer from the filtered results .
-
Click Save .
-
Click Allow public access .
2. Set up CDN
Link: https://console.cloud.google.com/net-services/cdn/list
Add source, it may be created with a load balancer for DNS resolution
Point to the newly created bucket
Set address rules in host and path rules.
3. DNS resolution
Enter the load balancing console
link: https://console.cloud.google.com/net-services/loadbalancing/list/loadBalancers
Select the created load balancer, click in, get the public network IP, and go to the DNS console for resolution.