The Startup
Published in

The Startup

Upload to AWS S3 Using a Node.js Script or AWS Lambda

I’ve been working through the AWS SDK for S3 trying to make sense of it. It’s definitely not straight forward and lacking some decent complete examples. Anyway, I’ve figured out how to upload an object to S3 using Lambda and also using a Node.js script and thought I would share it with all of you. Now that I can upload objects with Lambda as per my other article React.js API calls to AWS Lambda, API Gateway and dealing with CORS this also means I’m able to initiate this from React.js via API Gateway.

--

--

--

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

API Design 101: API Product Management (2/2)

Changing UI Dynamically : BreakpointObserver

A Practical Intro to Test-Driven Development

Creating A Github Action to Tag Commits

Learning by Doing: Porting “Free Stock Search” from CEP to UXP in Adobe XD

On the left, the CEP panel version of Free Stock Search in Photoshop. On the right, the UXP panel in Adobe XD.

Enabling Kubeflow with Enterprise-Grade Auth for On-Premise Deployments

9 Soft Skills That Made Me a Successful Developer (so Far) That You Can Steal

Man lit by green light looking down

Access your CloudSQL Database remotely through an SSH tunnel

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Michael Whittle

Michael Whittle

CCIE R&S #24223 | Network Architect | Security Specialist | Software Developer | Blockchain Developer | Data Scientist

More from Medium

Provisioning AWS SSO Permissions with CDK

Get HTTPS 🔐! How to Get SSL\TLS Certificate in AWS for EC2 Hosted Application.

Integrating AWS CDK Pipelines and sam local testing

Bitbucket pipeline for deploying Lambda using serverless