<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-do-you-connect-two-clouds-without-exposing-private-services--mkletj9s8" -->

---
title: How Do You Connect Two Clouds Without Exposing Private...
description: A discussion raises the challenge of connecting private services across two different cloud providers without exposing them to the public internet, touching on...
canonical: https://daily.dev/posts/how-do-you-connect-two-clouds-without-exposing-private-services--mkletj9s8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How Do You Connect Two Clouds Without Exposing Private Services? | daily.dev
og:description: A discussion raises the challenge of connecting private services across two different cloud providers without exposing them to the public internet, touching on...
og:url: https://daily.dev/posts/how-do-you-connect-two-clouds-without-exposing-private-services--mkletj9s8
og:image: https://api.daily.dev/og/posts/MkLETj9S8.png
og:image:alt: How Do You Connect Two Clouds Without Exposing Private Services?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do You Connect Two Clouds Without Exposing Private Services?

**[DevOps Daily](https://daily.dev/sources/devopsdaily)** · [@divyansh30](https://daily.dev/divyansh30) · 1 min read · 0 upvotes · 0 comments

## Summary

A discussion raises the challenge of connecting private services across two different cloud providers without exposing them to the public internet, touching on CIDR planning, VPN choices, and routing. It references a practical walkthrough demonstrating a StrongSwan-based IPsec dual-tunnel VPN setup between AWS and Civo, and asks other DevOps engineers how they handle site-to-site VPNs, managed vs self-hosted gateways, and CIDR planning across multiple clouds.

## Content

Multi-cloud sounds great until workloads in two different clouds actually need to talk to each other.

You don't necessarily want to expose an internal API, database, or other private service to the public internet just because another cloud needs access to it.

That's where CIDR planning, routing, VPNs, and failover become important.

I'm curious how other DevOps engineers handle this:

- Do you use site-to-site VPNs between cloud providers?
- Do you prefer managed VPNs or running your own gateway?
- How do you handle CIDR planning across multiple clouds?
- Have you had to connect workloads across two different cloud providers?

I came across a practical walkthrough showing how AWS and Civo can be connected using a StrongSwan-based IPsec VPN, including the routing and dual-tunnel setup.

[https://www.kubeblogs.com/cross-cloud-integration-made-easy-building-an-aws-civo-strongswan-vpn-for-private-secure-connectivity/](https://www.kubeblogs.com/cross-cloud-integration-made-easy-building-an-aws-civo-strongswan-vpn-for-private-secure-connectivity/)

Curious how others are handling private connectivity across different cloud environments.

## Similar posts on daily.dev

- [AWS and Google Cloud Preview Secure Multicloud Networking](https://daily.dev/posts/aws-and-google-cloud-preview-secure-multicloud-networking-hhd0zw6jk) · InfoQ · 0 upvotes · 0 comments
- [How do you secure access to your self-hosted/homelab services?](https://daily.dev/posts/how-do-you-secure-access-to-your-self-hosted-homelab-services--6rlyvh8et) · Lobsters · 1 upvotes · 0 comments
- [I self-host anything I want behind CGNAT, and here's how you can too](https://daily.dev/posts/i-self-host-anything-i-want-behind-cgnat-and-here-s-how-you-can-too-vyjujrni5) · XDA Developers · 0 upvotes · 0 comments
- [AWS Interconnect is now generally available, with a new option to simplify last-mile connectivity](https://daily.dev/posts/aws-interconnect-is-now-generally-available-with-a-new-option-to-simplify-last-mile-connectivity-mhfyo408t) · AWS · 5 upvotes · 0 comments

---

Tags: [#aws](https://daily.dev/tags/aws), [#networking](https://daily.dev/tags/networking), [#vpn](https://daily.dev/tags/vpn), [#multi-cloud](https://daily.dev/tags/multi-cloud)

[View this post on daily.dev](https://daily.dev/posts/how-do-you-connect-two-clouds-without-exposing-private-services--mkletj9s8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/how-do-you-connect-two-clouds-without-exposing-private-services--mkletj9s8","headline":"How Do You Connect Two Clouds Without Exposing Private Services?","text":"A discussion raises the challenge of connecting private services across two different cloud providers without exposing them to the public internet, touching on CIDR planning, VPN choices, and routing. It references a practical walkthrough demonstrating a StrongSwan-based IPsec dual-tunnel VPN setup between AWS and Civo, and asks other DevOps engineers how they handle site-to-site VPNs, managed vs self-hosted gateways, and CIDR planning across multiple clouds.","url":"https://daily.dev/posts/how-do-you-connect-two-clouds-without-exposing-private-services--mkletj9s8","datePublished":"2026-08-29T13:33:05.263Z","dateModified":"2026-09-13T21:15:14.093Z","author":{"@type":"Person","name":"Divyansh","url":"https://daily.dev/divyansh30","image":"https://media.daily.dev/image/upload/s--f9lbkpFv--/f_auto/v1744873189/avatars/avatar_JMQ4qarKTe7zPurSPRrzM","description":"Aspiring engineer with an interest in AI, tech and DevOps :)","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1090}},"image":"https://media.daily.dev/image/upload/s--8I2XTneK--/f_auto/v1787981274/posts/KcrgHrJFG?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/devopsdaily","name":"DevOps Daily"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevOps Daily","item":"https://daily.dev/squads/devopsdaily"},{"@type":"ListItem","position":3,"name":"How Do You Connect Two Clouds Without Exposing Private Services?"}]}
```

