Search code examples
amazon-web-servicesamazon-s3cloud

Developing a custom SPA for browsing and uploading to S3


Is it possible to deploy an SPA on AWS that calls Amazon S3 APIs? The SPA will act as a custom S3 browser app, where I want to be able to deploy, delete, etc documents that are stored in a S3 instance.

Thanks


Solution

  • You can certainly deploy a Single Page app written in the language of your choice and then use the corresponding AWS SDK to invoke S3 operations. For example, you can write a SPA in JS that uses the Amazon S3 JavaScript API to perform S3 CRUD operations on Amazon S3 content. Likewise, you can develop a SPA in Java and then use the Java S3 API.

    Once you develop your app, you can deploy it to the cloud by deploying it to an EC2 instance. Using Elastic Beanstalk makes it easy to deploy an App to the cloud.