Set static page CDN acceleration in Google

1. Create bucket and set bucket

Link: https://console.cloud.google.com/storage/browser

  • Create buckets

image.png

  • Set bucket public access
  1. In the bucket list, enter the bucket you just created.

  2. Select the Permissions tab near the top of the page .

  3. In the Permissions section, click the person_add Grant Access button.

    The Grant Access dialog is displayed.

  4. In the New primary account number field, enter allUsers.

  5. 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 .

  6. Click Save .

  7. 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
image.png

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.

Guess you like

Origin blog.csdn.net/w_monster/article/details/129023772