Building a Serverless File Sharing Platform

DESCRIPTION:

I built a Serverless File Sharing Platform that enables users to securely upload and download files through a straightforward HTTP API. This platform uses AWS Lambda for serverless compute, API Gateway for managing RESTful APIs, and Amazo…


This content originally appeared on DEV Community and was authored by Lokeshwar Rajan

DESCRIPTION:

I built a Serverless File Sharing Platform that enables users to securely upload and download files through a straightforward HTTP API. This platform uses AWS Lambda for serverless compute, API Gateway for managing RESTful APIs, and Amazon S3 for scalable and durable object storage.

ARCHITECTURE:

Image description

Here's Step by Step Guide:

Step 1 : Create an S3 bucket to store uploaded files
Step 2 : Create Upload and Download Lambda Functions with required
execution role with necessary IAM Role for S3.
Step 3 : Create an API Gateway with POST and GET Methods and integrate
it with the lambda functions
Step 4 : Configure GET Method

{
  "queryStringParameters": {
      "fileName": "$input.params('fileName')"
  }
}

Step 5 : Configure POST Method

{
  "body" : "$input.body",
  "queryStringParameters" : {
      "fileName" : "$input.params('fileName')"
  }
}

Step 6 : Now Deploy the API and Test the application using a third party
client such as Postman etc.

Proof Of Concept:

Image description

Image description

Image description

Image description
Image description

Image description

Image description

As this is my first post here I'm very excited and curious to explore many more stuffs and grow together as a community.
Cheers Devs


This content originally appeared on DEV Community and was authored by Lokeshwar Rajan


Print Share Comment Cite Upload Translate Updates
APA

Lokeshwar Rajan | Sciencx (2024-07-23T19:17:54+00:00) Building a Serverless File Sharing Platform. Retrieved from https://www.scien.cx/2024/07/23/building-a-serverless-file-sharing-platform/

MLA
" » Building a Serverless File Sharing Platform." Lokeshwar Rajan | Sciencx - Tuesday July 23, 2024, https://www.scien.cx/2024/07/23/building-a-serverless-file-sharing-platform/
HARVARD
Lokeshwar Rajan | Sciencx Tuesday July 23, 2024 » Building a Serverless File Sharing Platform., viewed ,<https://www.scien.cx/2024/07/23/building-a-serverless-file-sharing-platform/>
VANCOUVER
Lokeshwar Rajan | Sciencx - » Building a Serverless File Sharing Platform. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/23/building-a-serverless-file-sharing-platform/
CHICAGO
" » Building a Serverless File Sharing Platform." Lokeshwar Rajan | Sciencx - Accessed . https://www.scien.cx/2024/07/23/building-a-serverless-file-sharing-platform/
IEEE
" » Building a Serverless File Sharing Platform." Lokeshwar Rajan | Sciencx [Online]. Available: https://www.scien.cx/2024/07/23/building-a-serverless-file-sharing-platform/. [Accessed: ]
rf:citation
» Building a Serverless File Sharing Platform | Lokeshwar Rajan | Sciencx | https://www.scien.cx/2024/07/23/building-a-serverless-file-sharing-platform/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.