AWS provides its users with web hosting services. You can host a static webpage or a website using services such as the Amazon S3 and the Amazon EC2. If you want to host using EC2 all you need to do is create an instance and then use an SSH server to connect to that instance. Once connected you can copy paste the HTML code for your webpage into the instance. Once that is done you need to create an elastic IP address so that the hosted webpage is accessible to the public. You can then create and register a domain for your website on AWS and redirect the elastic IP into your domain using the SSH. Make sure that you have Apache 2 installed if you use a ubuntu virtual machine.