There is another issue though, on AWS, Amazon knows who you are. On Ethereum, unless you openly say you published that code, there is not many recourse to find you.
Most large defi projects are not anonymous. Many have VC backing, are on discord, etc.