Eoghan
TTCTheo's Typesafe Cult
•Created by Eoghan on 4/22/2023 in #questions
Having trouble starting with AWS S3
I’ve been going all in on the t3 stack and serverless solutions for my latest hobby project. So far:
* I’m more excited to learn a new stack than I’ve been in years.
* The services have been simple to set up and easy to use.
* My productivity is through the roof.
Here’s what I wanted to do with S3:
* Set up a single bucket
* Use pre signed uploads to let the client upload an mp4 to the bucket
* Receive a token back
* Store the token in the DB
* Later, the server can resolve the token to a URL and serve that URL to the client for fetching the file.
This seemed simple, but in reality, doing this with AWS has involved 4 separate tutorials, installing 3 command line utilities, creating 2 separate Amazon accounts (one for root, one IAM), and has still led to hours of troubleshooting permissions errors.
Admittedly, I don’t know what I’m doing, but I really wanna get back to feature work. Are there any simpler services I can use for this? Ideally I’d be able to set up an account in under 10 minutes, throw some keys in my .env file, maybe install a library, and I’d be good to go. If I was running my own server, this would be a dead simple feature and I just wanna move on.
7 replies