You contact the platform and you tell them. That's what happened with GitHub and Jetbrains, my university domain wasn't accepted by them, some students contacted them and both times they were fast to react. Sure it's harder than with an .edu email address but it's far from being an issue.
Sadly I can only do something about the DigitalOcean part, but like I said above, if anyone wants to make the case I'm happy to apply the credit for those enrolled in the full time study of code/serverz/whatever. :)
If anyone wants the DO portion of this and are not enrolled in traditional education but learning code full time and thinks they should get it regardless: email me: [email protected]