Amazon EC2 (Elastic Compute Cloud) provides virtual servers, known as instances, in the cloud.AWS offers various instance types optimized for different use cases.EC2 eliminates the need for upfront hardware investments and simplifies the deployment of virtual servers.In this tutorial, you’ve learned how to create an EC2 instance using Ubuntu, connect to it, and set up a custom web server with NGINX.