In continuation to the blog post, In the making of bhuvana.pro with S3 Route 53 ACM CloudFront, let's set up the continuous integration and continuous deployment using AWS CodePipeline to get the source from GitHub and deploy it to the static website (my personal site https://bhuvana.pro), hosted in the Amazon S3 bucket
AWS Services Used
- Amazon S3
- AWS CodePipeline
- Identity & Access Management
Identity and Access Management
Create & Configure Pipeline
Step 1: PipelineAWS CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates. CodePipeline automates the build, test, and deploy phases of your release process every time there is a code change, based on the release model you define. Click here to read more.
- Sign in to the AWS Management Console and open the CodePipeline console at http://console.aws.amazon.com/codesuite/codepipeline/home
- Create a new Pipeline with the following settings. Leaving the New Service Role as default will create a new service role and assign required permissions
Step 2: Source
Step 3: Build
Step 4: Deploy
Step 5: Review
Can I disable a Pipeline?
AWS Code Pipeline Pricing
- You pay only for what you use. AWS CodePipeline costs $1.00 per active pipeline* per month.
- An active pipeline is a pipeline that has existed for more than 30 days and has at least one code change that runs through it during the month. There is no charge for pipelines that have no new code changes running through them during the month. An active pipeline is not prorated for partial months.
- As part of the AWS Free Tier, AWS CodePipeline offers new and existing customers one free active pipeline each month.
- You may incur additional charges for storing and accessing your pipeline artifacts in Amazon S3 and for triggering actions from other AWS and third-party services that you connect to your pipeline.