From the course: The Freelance Stack: Real Project with Next.js and Strapi

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Replace image paths in production db to use AWS S3 bucket images

Replace image paths in production db to use AWS S3 bucket images - Next.js Tutorial

From the course: The Freelance Stack: Real Project with Next.js and Strapi

Replace image paths in production db to use AWS S3 bucket images

Cool, so let's push what we have right now to the cloud. So here I'm just going to say S3 integration for media uploads. like that. And I've also tried something else on my on my github so I just have to force it there. Okay and now it's going to be building up. Now while that is doing it we're going to talk about what we actually still have to do. The very first thing is that right now these images here link to local uploads and we want to link them to cloud uploads. Right now in the cloud there's only two screenshots here and both of them are for the same image that we literally just put into our media library here locally. So for now I'm just actually going to delete that because we don't need it right there. By the way if I delete on one end it automatically deletes in the S3 bucket as well. So what I want to do is have all of these assets that we're using locally now also show up in the S3 bucket and then we need to link to the new images that have been created here. So what can…

Contents