All Projects → SystangoTechnologies → Serverless Node Simple Image Resize

SystangoTechnologies / Serverless Node Simple Image Resize

Simple image resize AWS lambda function

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Serverless Node Simple Image Resize

Aws Auto Cleanup
Open-source application to programmatically clean your AWS resources based on a whitelist and time to live (TTL) settings
Stars: ✭ 276 (+272.97%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (-31.08%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Webiny Js
Enterprise open-source serverless CMS. Includes a headless CMS, page builder, form builder and file manager. Easy to customize and expand. Deploys to AWS.
Stars: ✭ 4,869 (+6479.73%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Serverless Sam
Serverless framework plugin to export AWS SAM templates for a service
Stars: ✭ 143 (+93.24%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Components
The Serverless Framework's new infrastructure provisioning technology — Build, compose, & deploy serverless apps in seconds...
Stars: ✭ 2,259 (+2952.7%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Serverless Next.js
⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
Stars: ✭ 2,977 (+3922.97%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Serverless Node Simple Messaging
Simple email AWS lambda function
Stars: ✭ 75 (+1.35%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Serverless Chrome
🌐 Run headless Chrome/Chromium on AWS Lambda
Stars: ✭ 2,625 (+3447.3%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Chalice
Python Serverless Microframework for AWS
Stars: ✭ 8,513 (+11404.05%)
Mutual labels:  aws, serverless, aws-lambda, lambda, serverless-framework
Up
Up focuses on deploying "vanilla" HTTP servers so there's nothing new to learn, just develop with your favorite existing frameworks such as Express, Koa, Django, Golang net/http or others.
Stars: ✭ 8,439 (+11304.05%)
Mutual labels:  aws, serverless, aws-lambda, lambda
Archive aws Lambda Go
A fast and clean way to execute Go on AWS Lambda.
Stars: ✭ 710 (+859.46%)
Mutual labels:  aws, serverless, aws-lambda, lambda
Lambda Packages
Various popular python libraries, pre-compiled to be compatible with AWS Lambda
Stars: ✭ 713 (+863.51%)
Mutual labels:  aws, serverless, aws-lambda, lambda
Puppeteer Lambda Starter Kit
Starter Kit for running Headless-Chrome by Puppeteer on AWS Lambda.
Stars: ✭ 563 (+660.81%)
Mutual labels:  serverless, aws-lambda, lambda, serverless-framework
Apex
Old apex/apex
Stars: ✭ 20 (-72.97%)
Mutual labels:  aws, serverless, aws-lambda, lambda
Mangum
AWS Lambda & API Gateway support for ASGI
Stars: ✭ 475 (+541.89%)
Mutual labels:  aws, serverless, aws-lambda, lambda
Serverless Express
Run Node.js web applications and APIs using existing application frameworks on AWS #serverless technologies such as Lambda, API Gateway, Lambda@Edge, and ALB.
Stars: ✭ 4,265 (+5663.51%)
Mutual labels:  serverless, aws-lambda, lambda, serverless-framework
Archive aws Lambda Go Shim
Author your AWS Lambda functions in Go, effectively.
Stars: ✭ 799 (+979.73%)
Mutual labels:  aws, serverless, aws-lambda, lambda
Serverless Plugin Warmup
Keep your lambdas warm during winter. ♨
Stars: ✭ 814 (+1000%)
Mutual labels:  aws, serverless, aws-lambda, lambda
Ng Toolkit
⭐️ Angular tool-box! Start your PWA in two steps! Add Serverless support for existing projects and much more
Stars: ✭ 1,116 (+1408.11%)
Mutual labels:  aws, serverless, aws-lambda, serverless-framework
Aws Lambda Workshop
Some incremental examples suitable to host an AWS Lambda Functions workshop
Stars: ✭ 18 (-75.68%)
Mutual labels:  aws, serverless, aws-lambda, lambda

serverless-node-simple-image-resize

Simple AWS lambda serverless function for resizing images. The function resizes the image based on input parameters for size and upload the image on AWS S3.

Setup

Run the following commands

$ npm install -g serverless # Install serverless globally
$ serverless config credentials --provider aws --key <AWS Access Key ID> --secret <AWS Secret Access Key> # Setting up default aws credentials
$ cd aws-serverless-image-resize
$ npm install # Installing dependency

Deployment

$ serverless deploy # Deploying serverless function to aws

By this command serverless deploy you should be able to see the lambda function in your aws lambda dashboard and it should have returned an endpoint and api_key in your terminal keep these for now.

Setup the following variables into your aws lambda function

  • ACCESS_KEY_ID (AWS account access key)
  • SECRET_ACCESS_KEY (AWS account secret key)
  • BUCKET (S3 bucket name where resized images will get uploaded)

Running

Run export MY_API_KEY=<any random key value for your lambda function>

Make a GET API call with to the endpoint and send x-api-key into headers with the api_key value returned after deploy command. The API supports the following query parameters

  • imageUrl (A public URL of the image you want to resize)
  • width or height (One of the following parameter for desired image size)

<API_URL>?imageUrl=https://s3.amazonaws.com/towlot-portal-images/1551975541895.jpeg&height=200

The API call will return the image URL that has been added to your S3 account.

Running by postman collection

  • Import the postman collection and set the endpoint and x-api-key and make a hit.

Contributors

Sparsh Pipley

License

Built under MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].