0
My aim is this
- Host multiple websites/apps on IIS that is configured on my windows server instance on Google cloud.
- Have each website use attached individual static IPS already reserved
- Requests are routed to the exact app it is meant for based on the ip addressing
What I've done
- Created a windows server 2012 instance on google cloud
- Attached a static ip to the instance and currently have one website pointing to that static ip
- Reserved extra static ip and attempted to attach to the existing instance
Challenges
Google cloud won't allow me attach an IP to an existing instance that already has an IP (fair enough). So I thought it would make sense creating multiple network interfaces and attach separate IP to them. However google cloud docs says:
- You can only configure a network interface when you create an instance - I really do not have the luxury of recreating this instance.
- You cannot attach multiple network interfaces to the same VPC network. - I do not have needs for multiple VPC network. I'm trying to use IIS as a web server hosting multiple applications that can each be reached via its own IP.
I also attempted IP Forwarding rules but it turns out It can only be toggled on creation and since I have a running instance with IP forwarding turned off, I would have to recreate the instance to fit my needs.
Is there a way out for me? what do I have to do?