Reputation: 272
I have purchased domain with godaddy. I am hosting the static website in Google cloud. I am not able to configure SSL for custom domain in google cloud. I am using storage in google cloud for this. Please help with steps. Thanks
Upvotes: 0
Views: 1432
Reputation: 310
In order to use SSL certificates in GCP you need to have a Load Balancer created. This document explains it from the other point of view, how to add a Cloud Storage bucket when you already have a Load Balancer created, but the idea is the same.
Steps to take:
It is a best practice to separate a dynamic part of the website (by using a backend to point to an instance group - that will go to GCE instance) and a static part (choosing a backend to be Cloud Storage). This way you are insuring the speed and availability of the website.
You should also consider a CDN to cache a load balanced content close to your users.
Upvotes: 1