UPLOAD IMAGES TO S3 AND STORE METADATA WITH GRAPHQL TO DYNAMODB (using AWS Amplify and Appsync)

UPLOAD IMAGES TO S3 AND STORE METADATA WITH GRAPHQL TO DYNAMODB (using AWS Amplify and Appsync)

FooBar Serverless

4 года назад

15,096 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@thinq5339
@thinq5339 - 21.08.2022 11:35

can you tell me how to do the same in java for android ??

Ответить
@semiherdogan1032
@semiherdogan1032 - 14.03.2022 11:35

nice tutorial, thanks

Ответить
@iliketocode6986
@iliketocode6986 - 10.08.2021 03:18

Do you have a long project from basics to end

Ответить
@bobweee888
@bobweee888 - 04.07.2021 07:07

Hi am stuck when i try create account it asks for mobile and then doesnt send code

Ответить
@bobweee888
@bobweee888 - 03.07.2021 18:10

with the type for s3object can we call it anything?

Ответить
@bobweee888
@bobweee888 - 30.06.2021 10:31

What is your background? sounds south american?

Ответить
@The0posthuma
@The0posthuma - 06.06.2021 20:21

Hola hola Marcia! I was able to follow along perfectly and I can update my images with no problem at all. But when I want to use the Object URL I don't have permissions to display.
I get a classic:
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>...</RequestId>
<HostId>...</HostId>

</Error>

Error. This is I believe because the S3 policy dictates that this is not a fully public file. I've been playing with my s3-cloudformation-template.json file to update/add a policy but no luck. Could you point me to a resource? You mentioned at the end of this video that you have another video where you will display these uploaded images but I can't find it in your channel.

Saludos!

Ответить
@The0posthuma
@The0posthuma - 24.05.2021 15:36

Great vid, saludos desde mexico!

Ответить
@hansangjung6063
@hansangjung6063 - 31.03.2021 03:48

So helpful. Thank you.

Ответить
@tekimax697
@tekimax697 - 26.01.2021 09:45

I am having difficulty upload image to my s3 I am getting an error

Ответить
@ozankurucu6261
@ozankurucu6261 - 11.12.2020 15:37

Why we are adding bucket and region to file object ? We dont use them to get source url. Can you explain? Thanks

Ответить
@ObinnaAkahara
@ObinnaAkahara - 08.10.2020 05:59

Wonderful tutorial. Thanks

Ответить
@anasachouri1265
@anasachouri1265 - 04.10.2020 00:41

Thanks for the video! Does this work for uploading videos? I guess rendering won't work but maybe the rest should be ok...

Ответить
@vinayadhikari1682
@vinayadhikari1682 - 17.08.2020 11:25

Thanks Marcia,How we can add Pdf to S3 using amplify and how to add multiple files in s3....Please reply...

Ответить
@quangle5701
@quangle5701 - 28.07.2020 11:55

Hi Marcia, thank you very much for the nice instructional video. I would like to have some questions:
1. The two uploaded files in the videos are of the same name. There seems no overwriting each other, do you think they will have the same name and file.key stored in DynamoDB ?
2. The images were uploaded into public location. What will happen if two different users upload images of the same name? Especially if users want to retrieve image location from DynamoDB. There should be some user's info related to their images, like prefix if in public sub-bucket or using private sub-bucket with cognito identity.
3. Can you please make another video further detail about authorization with images like: owner can upload, delete his/her own images; guess users can view the image, but not be able to delete or update; and admin user can view and delete all images.
I have been enjoyed watching your tutorials. Your efforts to create excellent contents are appreciated.

Ответить
@syedzahid8891
@syedzahid8891 - 23.07.2020 09:39

css is missing

Ответить
@reejoycecombietevi1973
@reejoycecombietevi1973 - 08.07.2020 01:30

Tkx for this tutorial but how to get or include S3Object in the request ? Thank you

Ответить
@SumeetChawla
@SumeetChawla - 27.06.2020 21:43

Any idea why it might give the error InvalidAccessKeyId: >The AWS Access Key Id you provided does not exist in our records. I seem to have selected the correct aws profile.

Ответить
@stephanngaha8405
@stephanngaha8405 - 03.06.2020 10:36

Really nice. thanks

Ответить
@martenricksson2355
@martenricksson2355 - 25.05.2020 20:18

Loved it, you got my sub! Could you share your thoughts on how to apply the schema and the onChange for lets say a form that is going to take in multiple attachments (a picture and two pdfs)?

Would it be optimal have a schema of the form "type" ("name: String", "description: String!", "id: ID!") and add "files" that point to array of S3Object "type" ? (i.e. "files: [S3Object]" in form type) and then in front end make sure to populate array of files in the onChange of the input?

Hope my question makes sense or isn't too stupid!

Ответить
@muhammadsharif5526
@muhammadsharif5526 - 15.05.2020 21:27

Thank you looking forward to next episode

Ответить
@codenjourney6656
@codenjourney6656 - 15.05.2020 10:40

Brilliant! Anticipating next video. Thank you

Ответить
@focusotter
@focusotter - 15.05.2020 05:17

Awesome video Marcia! Looking forward to checking out the rest of the series!

Ответить