The difference is that shinyapps.io is a service that allows you to simply "publish" your app without worrying about software installation, server configuration, networking, etc. While AWS provides you with a virtual machine where you would have to handle all this stuff by your self, it is much more flexible, but it requires more knowledge and work from your part.