logpaste
migrate-from-app-engine-to-cloud-run
Our great sponsors
logpaste | migrate-from-app-engine-to-cloud-run | |
---|---|---|
8 | 1 | |
310 | 31 | |
- | - | |
6.7 | 0.0 | |
25 days ago | 7 months ago | |
Go | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
logpaste
-
Migrating from SQLite to PostgreSQL
FWIW, I've used Litestream on Google Cloud Run and never run into issues, but I haven't pushed it much:
https://github.com/mtlynch/logpaste/blob/master/docs/deploym...
-
PicoShare: A minimalist, easy-to-host service for sharing images and other files
Currently, no. I've implemented that functionality recently in my other tool, LogPaste, so it shouldn't be too hard to reproduce here.
- Log Paste
-
How Litestream Eliminated My Database Server for $0.03/month
My tool is called LogPaste. It allows users to generate shareable URLs for text files. I use it in my open-source KVM over IP device so that users can easily share diagnostic logs with me.
-
LogPaste: A self-hostable pastebin that replicates data to any S3 provider
I designed it with self-hosting in mind, so there are instructions for hosting it under Docker, as well as with several free cloud hosting providers. You can even host the data storage part yourself if you use a solution like Minio.
-
The Architecture of a One-Man SaaS
I still use GCP, but I avoid locking myself into their proprietary infrastructure when I'm writing new stuff. I feel like Google is far too cavalier about deprecating services and forcing their customers to do migration work.
It is hard to replace GCP's managed datastores because I really don't want to maintain my own database server (even if it's a managed service that someone else upgrades for me). So I've stuck to Google Cloud Datastore / Firestore, but I've been experimenting a lot with Litestream[0], and I think that might be my go-to choice in the future instead of proprietary managed datastores.
Litestream continuously streams data from a SQLite database to an S3 backend. It means that you can design your app to use SQLite and then sync the database to any S3 provider. I designed a simple pastebin clone on top of Litestream, and I use it in production for my open source KVM over IP. It's worked great so far, though I'm admittedly putting a pretty gentle workload on it (a handful of requests per day).
[0] https://litestream.io/
[1] https://github.com/mtlynch/logpaste
migrate-from-app-engine-to-cloud-run
-
The Architecture of a One-Man SaaS
If you haven't checked out App Engine in a while, you really should. Especially check out the App Engine "Flexible" editions, which make it really easy to run on App Engine withOUT getting locked in.
I run a NodeJS GraphQL server in App Engine Flexible, and it is basically just like running it in a Docker container. It's also pretty trivial to run in Google Cloud Run if I so desired, there is even a tool to assist: https://github.com/GoogleCloudPlatform/app-engine-cloud-run-...
What are some alternatives?
tinypilot - Use your Raspberry Pi as a browser-based KVM.
litestream - Streaming replication for SQLite.
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
node-pg-migrate - Node.js database migration management for Postgresql
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
graphjin - GraphJin - Build NodeJS / GO APIs in 5 minutes not weeks
pomf - Pomf is a simple lightweight file host with support for drop, paste, click and API uploading.
app-engine-cloud-run-
picoshare - A minimalist, easy-to-host service for sharing images and other files
prawn-stack - A pageview counter using the AWS free tier, Postgres, Node and React