As a side-gig I've helped out a friend who's a solo developer of a small platform. Set up parts of his infra and implemented some good security and devops practices.
On one side he's a friend so I want to make things properly. On the other side he's a friend and I freel bad charging him a decent hourly rate.
Handed stuff over in the end.