Amazon-web-services – the difference between Amazon S3 and Amazon EC2 instance

amazon-web-services

I need to create a web application using php mysql and html. The no.of requests and data will be very high. I need Amazon server space.

I read the Amazon documentation and found that S3 is a storage that provides a simple web services interface. EC2 is a web service that provides resizable compute capacity in the cloud.

Can I purchase S3 and run php and query my database?

Please tell me the difference between Amazon S3 and Amazon Ec2 instance.

Best Answer

An EC2 instance is like a remote computer running Windows or Linux and on which you can install whatever software you want, including a Web server running PHP code and a database server.

Amazon S3 is just a storage service, typically used to store large binary files. Amazon also has other storage and database services, like RDS for relational databases and DynamoDB for NoSQL.