Hi William,
To assign multiple external static IP addresses to a VM instance, you can add additional IP interfaces when creating an instance under networking option.
However, It will require to create a VPC network [1] with subnets to assign the IP from, before adding an interface. Each VM instance could have up to eight network interfaces, and at least one depending machine type and the number of vCPUs. Network without subnetworks can not be used for multiple network interfaces for an instance. Same way, You can assign static external IP to the added interfaces.
Adding multiple interfaces feature is in currently in beta state and is not covered by any SLA. Also, currently there is limitation for this feature that You cannot add a supplementary network interface to assign an additional IP address to existing VM instance, so in that case you can take a snapshot [2] of existing VM and use that snapshot to create new VM [3] and add additional interface with the static external IP to the new VM. For more detailed information regarding multiple interfaces refer to this public documentation [4].
[1] https://cloud.google.com/compute/docs/vpc/#vpc_networks_and_subnets
[2] https://cloud.google.com/compute/docs/disks/create-snapshots
[3] https://cloud.google.com/compute/docs/instances/create-start-instance#createsnapshot
[4] https://cloud.google.com/compute/docs/create-use-multiple-interfacesHi William,
To assign multiple external static IP addresses to a VM instance, you can add additional IP interfaces when creating an instance under networking option.However, It will require to create a VPC network [1] with subnets to assign the IP from, before adding an interface. Each VM instance could have up to eight network interfaces, and at least one depending machine type and the number of vCPUs. Network without subnetworks can not be used for multiple network interfaces for an instance. Same way, You can assign static external IP to the added interfaces.
Adding multiple interfaces feature is in currently in beta state and is not covered by any SLA. Also, currently there is limitation for this feature that You cannot add a supplementary network interface to assign an additional IP address to existing VM instance, so in that case you can take a snapshot [2] of existing VM and use that snapshot to create new VM [3] and add additional interface with the static external IP to the new VM. For more detailed information regarding multiple interfaces refer to this public documentation [4].
--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/45720169-ac7b-4006-a788-0b62bb2a4b3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm just curious, but can you possibly set up virtual hosts for cpanel? I'm not sure if it's possible because I don't use Cpanel, but I do host many different domains using a single external IP address with SSL without issues
On Mon, Apr 8, 2019 at 1:10 PM master weber <cgcm...@gmail.com> wrote:
I have been moved to google cloud from amazon cloud. My idea is the same as you, but cannot be completed. You may setup alias ips to one instance by adding network interface, but they do not work with cpanel which supports only one nic. I think this is business matter, not technology capability. cPanel must have other license type for multiple ips controlled by license verification. The instance with cpanel is only 1 license for primary ip. cPanel has one port open for its frequent license verification.--
On Monday, July 31, 2017 at 8:10:06 PM UTC-4, William Sharlow wrote:I'm running Centos 7 along with CPanel, hosting a single website without any problems. I have plenty of capacity on the machine I terms of storage, memory, and CPUs so I want to run a second website from the same server. The catch is I want each website to have its own external / static IP address. Is there any way to do this other than load balancing / creating forwarding rules. Quite frankly, I don't want to spend another $20 per month for what amounts to a second IP address being assigned to the same VM.Bill
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-dis...@googlegroups.com.