Key terms for the AWS CI/CD pipeline?
What is the CodeBuild config file called? 4 main stages? 2 other things you can define?
buildspec.yml
- Has to be located in the root of the source
Stages:
1. install - installing packages from the build env (frameworks)
2. pre_build - sign in to things or install dependencies
3. build - commands run during the build process
4. post_build - package things up, push Docker image, do explicit notifications, etc.
Other things you can define:
1. Environment variables, which can integrate with the Parameter Store or Secrets Manager
2. Artifacts - what stuff to put where
What is the CodeDeploy config file called?
appspec.yml (or .json)
What are the 8 possible deployment targets of CodePipeline?
How do you set up authentication and authorization for CodeCommit, CodeDeploy, CodePipeline?
Authentication:
> Create one of the following in IAM:
- HTTPS Git Credentials (username / password)
- SSH Keys
Authorization:
> Configured using IAM Identity Policies. Very granular.
What two things can be generated from Code* events?
What are the main components used by CodePipeline?
Pipelines are the main components, which are built from:
- Stages, which are built from sequential or parallel:
- Actions, which can consume or generate:
- Artifacts
What system stores a record of CodePipeline events?
How to find events coming either from API calls or human interaction?
What service uses Appspec.yml? What 2 main components does it specify?
What 3 main components can the configs section define in the CodeDeploy Appspec.yml / json file?
How do Lifecycle Event Hooks work in the CodeDeploy Appspec.yml / json file?