can we use XAMPP for AWS-EC2 as a database : Can we use  localhost for Amazon Web Service (Elastic cloud computing) as a database? Because i cannot able to buy a database service from amazon so i need a alternative way 

I hosted a website in Amazon Web Service (Elastic cloud computing) now i'm going to try out some features which using the  database can i make localhost as a database and connect it with my website it will work?

The data that are all enter in the remote user side can store in the database  