Amazon.com Inc (NASDAQ:AMZN) has committed to buying electricity from 210 MW of solar projects in Indonesia to power its local operations in the Southeast Asian country.