Share this article on

To create upload service Api through Amazon API Gateway to upload files into Amazon Simple Storage Service (Amazon S3) . Steps to create an Api.

  1. Create an IAM role for API Gateway
  2. Create and attach an IAM policy to the API Gateway role
  3. Create an API Gateway REST API
    1. Create an API to serve your requests
    2. Create resources for your API
    3. Create a PUT method for your API
  4. Configure parameter mappings for the PUT method
  5. Set up Binary Media Types for the API
  6. Deploy your API
  7. Upload an image file to S3 by invoking your API

Reference: https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-upload-image-s3/

Share this article on