I am trying to setup a site-2-site VPN between my on-prem setup and a GCP VPC using Route-based Classic VPN option.
Now whatever inputs I try give in this setup, I am consistently facing this error about default network tier of the project being Standard
.
STANDARD network tier (the project's default network tier) is not supported: The network tier of specified IP address is PREMIUM, that of Forwarding Rule must be the same.
From the GCP Docs, I know that Standard
network tier does not support VPN gateways. Also if I try to create an IP for the VPN gateway from this Classic VPN setup wizard, the IP is provisioned from Premium
network tier only.
I also thought of somehow explicitly specifying the network tier to be Premium
for the VPN setup, but there does not seem to be any such option in google console; While this is perfectly valid when creating VM instances, i.e. I can easily select the network tier for my VM whatever be the default network tier of my project.
This behavior seems uncommon. It looks like Classic VPN setup wants my project’s default tier to be Premium
, which makes little sense to me.
I need some confirmation on this behavior and that I am not doing something wrong. Also is there any other way with which I can specify the network tier for the VPN gateway when setting up a Classic VPN on GCP?
EDIT:
Only static routing is supported from my on-prem side of VPN gateway, so cannot use HA VPN. Also Classic VPN deprecation is only for the dynamic routing configuration, so my configuration is safe for now, I think.
It’s is not a hard requirement to use Standard
tier for the VPN setup. Just that while attempting to configure it, I faced this conflict.I am trying to setup VPN between my company’s side network to GCP VPC. Currently the default network tier of the project (where VPC resides) is Standard
, and it is highly unlikely that it will changed to Premium
for this requirement. I think the better option would be to create a separate project and have Premium
network tier as default there.
I wanted some confirmation that the error I am facing is indeed a problem in the console flow and that I am not missing something, like if it would be possible to specify some other parameters to make Classic VPN setup wizard succeed and use Premium network tier (or whatever its other requirements are).
In short, I am not able to setup Classic VPN on GCP side using the wizard, and the error reported seems to indicate that default tier of project being Standard
is the problem.
Now since I can still create VMs using premium
network tier in this project without any problem. Shouldn’t it be possible for the VPN setup also?