# Migrating from Google Cloud

**URL:** <https://community.fly.io/t/migrating-from-google-cloud/2987>\
**Category:** Questions / Help\
**Created:** [October 30, 2021, 7:42am UTC](https://community.fly.io/t/migrating-from-google-cloud/2987 "2021-10-30T07:42:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![user39](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/user39/32/1518_2.png) [@user39](https://community.fly.io/u/user39)\
**Post date:** [October 30, 2021, 7:42am UTC](https://community.fly.io/t/migrating-from-google-cloud/2987/1 "2021-10-30T07:42:29Z")

</div>

Hi!

I’m considering migrating some of my workload from Google Cloud to Fly.  
I have a production Postgres instance, what would be the best way to migrate it to Fly?

---

<div class="post-metadata">

**Author:** ![sudhir.j](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/sudhir.j/32/39775_2.png) [@sudhir.j](https://community.fly.io/u/sudhir.j)\
**Post date:** [October 30, 2021, 10:47am UTC](https://community.fly.io/t/migrating-from-google-cloud/2987/2 "2021-10-30T10:47:09Z")

</div>

The simplest option is [PostgreSQL: Documentation: 14: pg\_dump](https://www.postgresql.org/docs/current/app-pgdump.html) and [PostgreSQL: Documentation: 14: pg\_restore](https://www.postgresql.org/docs/current/app-pgrestore.html)

Once your Fly Postgres is setup, you can connect to the Fly network (see [Private Networking](https://fly.io/docs/reference/privatenetwork/) ) from any machine that has access to the GCP database to dump it and restore it to Fly Postgres.

There are more complicated options to consider if you have special needs like streaming replication or near-zero downtime, let me know if you want to get into the weeds on that.

---

<div class="post-metadata">

**Author:** ![teamon](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/teamon/32/35392_2.png) [@teamon](https://community.fly.io/u/teamon)\
**Post date:** [April 20, 2022, 8:17am UTC](https://community.fly.io/t/migrating-from-google-cloud/2987/3 "2022-04-20T08:17:43Z")

</div>

👋 I’m considering a zero-downtime migration from EKS+RDS to Fly. Do you know of any proved way to do that?

Is it possible to setup Fly’s postgres as a replica of RDS and then make it primary once all the traffic is moved from AWS to Fly? 🤔

---

<div class="post-metadata">

**Author:** ![jsierles](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jsierles/32/595_2.png) [@jsierles](https://community.fly.io/u/jsierles)\
**Post date:** [April 20, 2022, 9:52am UTC](https://community.fly.io/t/migrating-from-google-cloud/2987/4 "2022-04-20T09:52:49Z")

</div>

This is techically possible, but you’d have to manage the process yourself as the Fly postgres images don’t have any config or commands specific to migrations.

---

<div class="post-metadata">

**Author:** ![teamon](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/teamon/32/35392_2.png) [@teamon](https://community.fly.io/u/teamon)\
**Post date:** [April 20, 2022, 6:53pm UTC](https://community.fly.io/t/migrating-from-google-cloud/2987/5 "2022-04-20T18:53:44Z")

</div>

Have anyone tried to make a wireguard (or other) bridge between kubernetes cluster and fly private network?

---

<div class="post-metadata">

**Author:** ![dragonfire1119](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@dragonfire1119](https://community.fly.io/u/dragonfire1119)\
**Post date:** [September 10, 2022, 12:18am UTC](https://community.fly.io/t/migrating-from-google-cloud/2987/6 "2022-09-10T00:18:01Z")

</div>

Have you tried it and been able to connect fly to K8’s Cluster?
