Create a new Pipeline
Table of Contents
Create a new Pipeline with CodePipeline
- Find and select CodePipeline.
- Select Pipelines > Create pipeline.
- For Pipeline name, enter
fcj-aws-pipeline.
- Pipeline type select V2.
- Execution mode select Superseded.
- For Service role select New service role, enter Role name then check Allow AWS CodePipeline to create a service role so it can be used with this new pipeline.
- In Advanced settings, select Custom location then select Bucket we have prepared.
- For Source provider select Github(Version 2).
- Select Connection we have created then choose the repository to deploy.
- Select the master branch and select Output artifact format as CodePipeline default.
- Select Trigger as No filter, then click Next.
- Select Build provider as AWS CodeBuild, then click Create project.
- Project name enter
fcj-aws-proj.
- Select New service role then enter Role name.
- Select Use a buildspec file.
- Check Cloud watch logs checkbox, enter Group name and Stream name prefix. Click Continue to CodePipeline.
- Select Build type as Single build. Select Next.
- Select Deploy provider as AWS Elastic Beanstalk. Select Application name and Environment name created in the previous steps.
- Review your choices and click Create pipeline.