AWS EC2 is a compute service provided by Amazon that provides remote server computing that is secure with a scalable capacity in the AWS cloud. It provides raw, dedicated and resizable virtual computing resources that have remote access. EC2 stand for Elastic Cloud Compute. It is one of the most used services of Amazon that lets users launch and manage server instances as and when required.
In the initial stage of development, it is difficult to speculate the amount of hardware resources required. Then, it may take weeks to purchase and provision server hardware when the demand increases, and the servers may sit idle when the demand reduces. In such cases Amazon EC2 comes into existence, it provides scalable computing capacity in the AWS (Amazon Web services) cloud and enables to increase or decrease the server capacity within minutes with full administrative control.