Cloud Interconnect Vs Cloud VPN

When to use Interconnect vs VPN and difference between Interconnect and VPN

--

Whenever we use something, it always become difficult what to choose and when. It becomes more difficult when both the solutions are good. When we stuck in such kind of situations, we go for our set of requirements. What do we want to achieve using this solution/implementation.

Here we will compare GCP’s Interconnect and VPN with different use cases. It will help you to choose in between of them.

Interconnect should be used when:

  • We want to prevent traffic from traversing the public internet and our data is very sensitive. For example Banking data, user’s secret details, credentials based data etc. Interconnect provides a dedicated physical connection between your date centre to GCP, which help you keep your data traverse completely private.
  • We need very high speed connection and low latency. Whenever we have large amount of data to be transported to GCP bigtable or bigquery on the daily basis. It gives us 10Gbps and 100 Gbps connection, which makes it very fast.
  • We need private access of resources in GCP from our on-premises resources. It provides dedicated physical connection which keeps it private.
  • We need very heavy outgoing traffic usually called egress traffic from GCP to somewhere else. Above reasons are suffice to explain this use case as well.

VPN should be used when:

  • We need public internet access as well. Like you need to share files and organisation is using any SAAS product which is available over the internet only.
  • We need to make Interconnect highly available it can also be setup with Interconnect, so if any case Interconnect doesn’t work or face any issues then our work can be taken care by VPN connection.
  • The peering location is not available to setup Interconnect.
  • We have budget constraints as setting up VPN connection is not that costly where Interconnect is having cost of $1700 for one 10Gbps link. As we increase the number of link, cost gets higher.
  • There is not specific needs to have high speed or low latency. For example you just need to connect the VMs privately and need a connection with the resources, not transferring any large amount of data on the daily basis.

I have tried to cover almost every use cases which can be covered even if you think something is missed or can be added, please let me know. I will get that added as soon as possible.

On the top of this, google has released a flow diagram for the use cases, which to use when including peering connection as well.

https://cloud.google.com/hybrid-connectivity

If you like this, please give clap/s for me, it really motivates me to write more useful things.
If you have anything in your mind and want me to write about that then also you can suggest me. My LinkedIn profile in the bio, you can connect with me from there.
Thank you very much for reading this.

Happy Learning !!! 🙂 📚

#CloudInterconnect #cloud #interconnect #vpn #cloudvpn #compare #vs #difference #use #when #better

--

--

Sachin Sharma | Senior DevOps Engineer & Lead

AWS | GCP | Kubernetes | IaC | Terraform | CI/CD | Docker | Security | Python | Automation | DevOps www.linkedin.com/in/rksachin5