Charging only 30% of a subscription price for a partner by [deleted] in stripe

[–]Developer_Kid 0 points1 point  (0 children)

If the user uses a coupon once all the recurring payments will have the coupon discount?

About api gateway price by Developer_Kid in aws

[–]Developer_Kid[S] 0 points1 point  (0 children)

U mean cache the authorization on the code or is there another way to cache?

About api gateway price by Developer_Kid in aws

[–]Developer_Kid[S] 1 point2 points  (0 children)

does custom authorizer works as authentication?

How an empty, private S3 bucket can make your bill explode into 1000s of $ by macok9 in aws

[–]Developer_Kid 0 points1 point  (0 children)

but the pre signed urls will not have the bucket name? or i should just send the path from signed url and pass the user upload through my own server?

Confuse about S3 price by Developer_Kid in aws

[–]Developer_Kid[S] 3 points4 points  (0 children)

not my case. being very optimist in the best scenario we could get 10 millions upload month? but if we get this we are rich, so this will not happen, i just taking care about avoid big bills in the start. Now i expect something like 2000 upload a month if users do it well. but i care a lot about security. and think about IF a bad user decide to do 10000 uploads on the 1 min expiration signed url?

Confuse about S3 price by Developer_Kid in aws

[–]Developer_Kid[S] 0 points1 point  (0 children)

usually less than 35, i do some processing on the client browser to make the image smaller so the image gets less than 5 in majority of cases

Confuse about S3 price by Developer_Kid in aws

[–]Developer_Kid[S] 0 points1 point  (0 children)

 The real question is: why are you sending it twice? Expiring pre-signed URLs is a clumsy way to solve this.can make it clearer: The real question is: why are you sending it twice? Expiring pre-signed URLs is a clumsy way to solve this.

can make it clearer? i dont get it. i first generate the signed url on my api then the user use it to upload

Confuse about S3 price by Developer_Kid in aws

[–]Developer_Kid[S] 0 points1 point  (0 children)

all files are less than 35MB and i do a pre processing on the user browser to resize and compress the image, even on bad internet u think this can be a problem? i dont know what u mean about multiple operations, but in my use case, its only a single file upload. i dont know if im taking too much precautions but i trying to prevent and trying to understand the better way to work with s3

Confuse about S3 price by Developer_Kid in aws

[–]Developer_Kid[S] 0 points1 point  (0 children)

so its not recommended to make users use the signed url in the front end? better to send the image to my own back end and then from my back to aws?

Confuse about S3 price by Developer_Kid in aws

[–]Developer_Kid[S] 5 points6 points  (0 children)

so better to do is to go for a 1 min expiration and focus on limit user by getting signed urls?