- Lab
- Cloud

Building a CI/CD Pipeline with AWS CodePipeline to Deploy a Static Website on S3
AWS CodePipeline provides a native AWS continuous deployment pipeline to manage web application deployments from the source code repository to the deployment of our web application. In this lab, we will walk through setting up AWS CodePipeline to continuously deploy our web application to S3. We will walk through the prerequisites to set up our pipeline by setting up our source code repository with AWS CodeCommit and creating an S3 bucket to host static web applications. Finally, we will set up our continuous code pipeline with AWS CodePipeline and deploy our web application to S3.

Path Info
Table of Contents
-
Challenge
Create a CodeCommit Repository from the Management Console
(For text instructions, go to the Project Guide tab beside the videos.)
- Create a CodeCommit repository
- Add an
index.html
file and ajpg
file to that repository.
-
Challenge
Create an S3 Bucket and Configure it to Host a Static Website
- Create an S3 bucket, and enable static website hosting.
- Create a policy for the bucket which allows access to its files.
-
Challenge
Create a Pipeline in AWS CodePipeline that Deploys a Static Website
- Create a CodePipeline whose source is the CodeCommit repository you created earlier.
- Then deploy the simple website to the S3 bucket you previously created.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.