From the course: Deploying Your AWS Application to the Cloud with Docker
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Pulling external resources into CodeBuild - Amazon Web Services (AWS) Tutorial
From the course: Deploying Your AWS Application to the Cloud with Docker
Solution: Pulling external resources into CodeBuild
(upbeat music) - [Narrator] If you have the need to introduce external resources into your build process, let's say a third party java library if you're building a java application, my recommendation and my solution to this challenge is to store that file in a string. So you would type aws s3 copy from yourbucket and then of course file1.jar or whatever the filename maybe for the java library that you're trying to introduce into your build. Keep in mind it doesn't have to be java-specific or any language for that matter. Any file that you need during the build process you can install an s3 and pull it into your build. Keep in mind I'm introducing this command in the pre-build phase so that the files are ready to go by the time you enter the build phase. Now keep in mind we're using s3 here. What that means is code build is now going to require permissions into yourbucket and into s3. Let's take a look at…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Building your ECR Docker image repository59s
-
(Locked)
Reviewing your project's Dockerfile2m 29s
-
(Locked)
CodeBuild buildspec file1m 43s
-
(Locked)
Creating a CI/CD pipeline for your CodeBuild project5m 29s
-
(Locked)
Setting CodeBuild permissions2m 40s
-
(Locked)
Challenge: CodeBuild external resources37s
-
(Locked)
Solution: Pulling external resources into CodeBuild1m 59s
-
(Locked)
-
-
-