so [Music] programmers uh we have already the users API which is running fine the thing is that now in this video we will see that how ECR works so ECR is nothing but uh Docker container registry whatever the images we are testing building locally we just need to save that image somewhere and that we will save in the repo so how e uh is maintaining that one is that ECR is responsible for creating repo inside that repo there will be multiple TXS and using those TXS we will be assigning task definitions and something like that in inside the ECS service so that's pretty much it so the thing is that as soon as we get um the docker Docker image uh running locally we will push that one to ECR and then that will be used to buy uh the task definition and that goes uh uh that is helpful for creation in the ECS tasks and that's how it works so keep it simple now the thing is that let's start uh trying building that one so uh if I go in the in the console let me quickly grab that um okay so this is one I have so here if I go and type users API just need to create a repo like this okay so you created that repo go inside VI push button and go here paste it it should be logged in first second I need to build this one now I'm using Mac OS and uh whoever using Mac OS or Linux you can follow this one if you have Intel based chip or Windows user you can use this one if you you are using Mac silicon base so you need to run a command like Docker build uh something like this so uh H iph platform Linux AMD 64 something like this once you done that one now you need to tag that image and go over here and just see this one I'm dealing a Docker push this repo uh push into this repo with this repo name and tag attach the tag is letters okay so if I'm going here pasting that now go back refresh this just need to check quickly yeah still being uploaded um yeah so should be there in minutes yep boom so that's how we can have our ECR image there that's pretty cool yeah so thanks for watching let's see in the next video