0:00 All right, so in this lecture, we're gonna start setting up our CI/CD 0:03 pipeline 0:04 for our application so that whenever we push new commits to our 0:08 GitHub repository, our code is automatically going to be 0:12 built and deployed using AWS 0:16 CodePipeline. So CodePipeline, which is a separate 0:19 AWS service that we can search for here, so CodePipeline 0:23 is a continuous delivery service that essentially allows us 0:27 to define a way to build our application, detect 0:31 commits from a source, in this case, a Git repository, 0:35 and whenever there's changes pushed, we'll build the code and then deploy it to 0:39 our 0:41 service of choice, in this case, our Elastic Beanstalk 0:44 that we set up earlier. 0:46 So now that we're in CodePipeline, let's go ahead and get started by clicking 0:50 on 0:50 the Create pipeline button. 0:53 Here, we wanna go ahead and click on Build custom pipeline 0:56 and click on 0:56 Next. So this will walk us through all the 0:59 options for our 1:00 CI/CD pipeline. 1:02 We can go ahead and call it whatever we want. 1:04 I'll call this Photo Snap, the name of our app, and then we can click 1:08 on Execution mode. In our case, let's just keep this on 1:12 Queued, so we only allow one build at a time, 1:14 and they'll queue up. 1:16 And then for service role, we can use New service role here 1:20 to have a new service role created for this p- CodePipeline 1:25 so that it has all the permissions that it needs. 1:27 You can then click on Next, and then for source provider, we're 1:31 gonna go ahead and enable 1:34 GitHub via GitHub App, and this is gonna set up a 1:38 connection to GitHub so that whenever we push commits to the 1:41 GitHub 1:41 repository, our pipeline will automatically trigger a 1:45 new build and deployment to our production environment. 1:49 So this is continuous integration at its finest, and to set this up, it's
The rest of the transcript is for members.
Sign in