Preparation
Overview
In this module, we will prepare the necessary environment and resources for the CI/CD pipeline lab. This includes setting up the basic infrastructure, creating storage and repositories, configuring credentials, setting up permissions, and provisioning the target server.
Specifically, we will go through the following steps:
- Preparing the infrastructure: Set up the foundational network and infrastructure.
- Create S3 bucket: Create an Amazon S3 bucket to store pipeline artifacts.
- Create Git credential: Configure Git credentials to interact with repositories.
- Create Git Connection: Establish a connection to the Git provider.
- Create Service Role: Create IAM Service Roles required for AWS services (CodePipeline, CodeBuild, CodeDeploy).
- Provision an IAM user: Create an IAM user with necessary permissions.
- Create EC2 Instance Profile: Create an IAM role to allow the EC2 instance to access other AWS services.
- Create EC2 Instance: Launch the EC2 instance that will be used as the deployment target.