The setup process for an AWS CodePipeline to automate the build and deployment of a NestJS backend application. This involves configuring GitHub integration, defining build specifications via YAML, and deploying to AWS Elastic Beanstalk, followed by verifying the live production environment and API functionality.
Length 15:46
Captions English (Generated), Spanish (Auto-translated), French (Auto-translated), Korean (Auto-translated), Portuguese (Auto-translated), Vietnamese (Auto-translated) #aws #codepipeline #deployment #nestjs #github #codebuild #elasticbeanstalk #automation #ci/cd #yaml
0:00 All right. Next up, we're ready to start creating a 0:02 CodePipeline for our 0:04 NestJS backend. So CodePipeline is 0:08 continuous delivery offered on AWS, where we can 0:12 actually build and automatically deploy the latest 0:15 commits f- to our GitHub repository. 0:18 These will get picked up by CodePipeline, automatically built 0:22 and deployed all for us automatically, which makes getting new 0:26 changes into our production application super easy and all 0:29 automated. 0:31 This is super easy to get up and running on AWS. 0:34 Let's go and see how we can do this by looking for CodePipeline, 0:38 which is allowing us to release software using continuous delivery. 0:44 And in here, we can see the pipelines we have right 0:46 now. 0:47 We don't have any, so let's go ahead and create a new pipeline. 0:51 I'll go ahead and call this Shoppy Backend. 0:55 And pipeline type, I'll just keep on the default for V2, 0:59 keep the default execution mode. 1:02 For service role, we select the default here to create a new 1:05 service role, 1:07 and we'll go ahead and click on Next. 1:10 Now for source provider, this is where we provide CodePipeline from 1:14 where to actually get the code that we're going to go ahead and build and 1:17 deploy. In our case, we know, of course, this is hosted in GitHub, 1:21 so I'll click on GitHub version 2. 1:25 So now we need to configure our AWS connection to our GitHub 1:29 repository. We do that by creating a connection here. 1:33 So go ahead and click on Connect to GitHub to create a new connection 1:37 to GitHub. 1:38 I'll call this 1:40 connection name Shoppy Backend, and I'll click on 1:44 Connect to GitHub. So we then should be brought to this page 1:47 where we have the 1:48 option to install a new app. Go ahead and click on 1:52 this to log into your GitHub repository to set
The rest of the transcript is for members.
Sign in