Credit Card Requirement Free Trial – User Experience

Web based application requires a credit card to signup for a free 30 day trial account for which I have got mixed reviews, because application does not enforce any limit on the usage and companies like AWS already run on the model that requires credit card to signup of free 30 days trial.

What is the right user experience? Is having a credit card a mandatory thing to create a free trial?