2 ms·
In a week, from start to production, I migrated an AWS RDS database to Cloudflare D1 behind an OpenAPI REST interface over HTTPS using itty-router-openapi [1].
by willtemperley 3y ago
In a week, from start to production, I migrated an AWS RDS database to Cloudflare D1 behind an OpenAPI REST interface over HTTPS using itty-router-openapi [1]. This will save me at least $250 pa, plus I no longer need worry about certificates and other server admin, which really adds up.
During the process I never saw an IP address or had to deal with networking, except when connecting to RDS. The attack surface I need to look at is minimal. The only blocker was a wasted day when itty-router pushed an backwards-incompatible change, but otherwise it was very smooth.
I can now implement a new service in about half an hour and have it tested and in production within a few hours.
This really feels like progress.
[1] https://github.com/cloudflare/itty-router-openapi https://github.com/cloudflare/itty-router-openapi