Ooj Amit Srivastava
👓️
Ooj Amit Srivastava

Simple Deployment w/o Installing Anything

Finished w MVP for Garud. Wrote quick FastAPI interface. Works OK on local, now to deploy it ... let's try to not install crap.

  1. Spun-up the smallest machine I could find on AWS.

  2. Generated a .pem key-pair. Saved it.

  3. ssh'd into the remote machine.

  4. Checked if ports were reachable using nc.

  5. Transferred the app using rsync.

  6. Installed python3.11 with dnf.

  7. Run it :)

  8. Oh no, it doesn't keep running when I close the ssh session or the machine restarts :(

  9. Created garud.service.

  10. Trivial systemctl setup with auto-restart and logs.

Finished. I hate wrappers.

Send Ooj Amit Srivastava a reply about this page
Back to profile