Migrate Grafana from EC2 to Fly πŸ™ŒπŸ»

Hey guys,

Looking to move our Grafana instance that is running on EC2 at the moment over to Fly.

Any insight on migrating the data from our EC2 instance to Fly volumes would be greatly appreciated!

Thanks in advance.

I’d start by getting a new Grafana going on Fly: https://github.com/fly-examples/grafana

How much data do you have? If it’s just a few dashboards, you can export and import them: https://grafana.com/docs/grafana/latest/dashboards/export-import/

If you need the Grafana DB, you can extract the grafana data directory (defaults to /var/lib/grafana) into a zip file or tarball, then add a script that runs before grafana to download + extract that onto a volume. I’ll see if I can get you an example in the next couple of days.

1 Like