The tutorial demonstrates how to set up an automated CI/CD pipeline on AWS. It covers creating ECR repositories, configuring the AWS CLI, writing a buildspec.yaml file, and implementing CodePipeline to build and push Docker images automatically upon GitHub commits.
Length 15:23
Captions English (Generated), Spanish (Auto-translated), French (Auto-translated), Korean (Auto-translated), Portuguese (Auto-translated), Vietnamese (Auto-translated) #aws #eks #ecr #ci/cd #codepipeline #codebuild #docker #kubernetes #automation #microservices
0:00 Let's look at how we can run our microservices on AWS. 0:05 We're gonna use Amazon EKS to run our Kubernetes cluster, 0:09 as well as exposing an external load balancer so we can access our 0:13 NestJS app. We're also gonna set up a build pipeline 0:17 so 0:17 that our Docker images will be rebuilt and pushed to an 0:20 AWS image repository whenever there is a new commit to 0:24 our GitHub repository. So to get started, head to 0:27 aws.amazon.com, and you can click on 0:31 Log back in. From here, you can sign in if you have an account, or if 0:35 you'd like to s- create a new account, 0:38 follow through with these steps. So signing up for AWS will be free. 0:42 However, r- actually running the EKS cluster will cost 0:45 up to ten 0:46 cents per hour to run the cluster, and we're also 0:50 gonna be charged for the underlying compute that we use, so the instances that 0:53 we're using. We're gonna use t2 micros in this 0:56 tutorial, which is a 0:57 free instance type, so we can set this cluster up really 1:00 cheaply and 1:01 explore with it. However, you will need to associate billing details 1:04 with your 1:04 account. All right. So after you finish signing up, 1:07 you should find that you're in 1:08 this AWS Management Console. We're gonna start off by 1:12 setting up an image repository so we have a place where we can push up 1:16 our built Docker images to. Let's go ahead and search for 1:20 ECR, which stands for Elastic Container 1:22 Registry, which, 1:24 as we can see, is a fully managed Docker container 1:26 registry. 1:32 Now that we're at ECR, let's click Get started to create our 1:35 repositories. So we're gonna go ahead and create private repository so 1:39 only we and our Kubernetes cluster can actually pull these 1:42 images. We're gonna create a repository for each
The rest of the transcript is for members.
Sign in