This question already has an answer here:
I have four questions about the general mining bitcoin in the cloud.
I have a unlimited bandwith web hosting . Can i mining bitcoin with web host ? (my web host support : CGI, PHP, ASP.NET, SSI, FrontPage Extensions, Perl, Python, Ruby)
Can i mining bitcoin in heroku or google app engine or amazon aws ?