How To Prevent My Software on Cloud Platform From Getting Hacked

All of that and follow the OWASP guide:
OWASP Web Security Testing Guide | OWASP Foundation