I am trying to have my GCE instance listen on multiple IP addresses (for SEO reasons - to host multiple sites with low traffic in a single instance).
The ultimate goal: mydomain.com points to IP1, myotherdomain.es points to IP2, the GCE instance will listen on both IP1 and IP2 and accordingly serve the content.
I added a target instance pointing to my primary instance, and it managed to create a redirect rule as follows:
gcloud compute forwarding-rules create another-ip
In fact, he created an ephemeral IP address; I tried to promote it to static, but I exceeded my quota (now I am in my free trial for 2 months).
Is it correct? Will I be able to create any number of static IP addresses and point them to my only instance after the trial version is completed? I also could not find out anything about pricing: I know that the IP assigned to the active instance is free, but what about the extra ones?
Since this is a necessary configuration for the site I manage, I would like to make sure that it works before moving everything to GCE.
source share