@bahmanm AGPLv3 does not stop Amazon from using your products, it stops them from hiding their modifications.
But no one care about Amazon modifications in that case. AWS users will use the Amazon version because it's all magically integrated.
This is why Elastic and other companies have a clause stating that you cannot sell access to an hosted version of the service.
If you instead keep enterprise-oriented extensions proprietary, Amazon now has to actually develop and maintain them, this is a bit harder.