{"id":19383031,"url":"https://github.com/hectorta1989/awscodepipeline","last_synced_at":"2026-02-11T01:33:51.112Z","repository":{"id":147993015,"uuid":"453547013","full_name":"HectorTa1989/AWSCodePipeline","owner":"HectorTa1989","description":"Creating a CI/CD Pipeline with AWS CodePipeline","archived":false,"fork":false,"pushed_at":"2022-01-30T00:00:23.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-11T06:54:01.821Z","etag":null,"topics":["awscodepipeline","cicd-pipeline","devops"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HectorTa1989.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-29T23:51:51.000Z","updated_at":"2022-01-29T23:56:56.000Z","dependencies_parsed_at":"2023-04-12T10:46:08.593Z","dependency_job_id":null,"html_url":"https://github.com/HectorTa1989/AWSCodePipeline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HectorTa1989/AWSCodePipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorTa1989%2FAWSCodePipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorTa1989%2FAWSCodePipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorTa1989%2FAWSCodePipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorTa1989%2FAWSCodePipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HectorTa1989","download_url":"https://codeload.github.com/HectorTa1989/AWSCodePipeline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorTa1989%2FAWSCodePipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29324244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T00:34:26.354Z","status":"ssl_error","status_checked_at":"2026-02-11T00:34:09.494Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awscodepipeline","cicd-pipeline","devops"],"created_at":"2024-11-10T09:24:15.277Z","updated_at":"2026-02-11T01:33:51.092Z","avatar_url":"https://github.com/HectorTa1989.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWSCodePipeline\nCreating a CI/CD Pipeline with AWS CodePipeline\n\nPreface:\nCI/CD= Continuous Integration and Continuous Delivery are a set of operating principles in application development that allow software development teams to deliver frequent and reliable code changes more easily. This is through a “pipeline”.\nCI/CD is a practice of DevOps and automates the deployment process for software.\nObjective:\nTo create a CI/CD pipeline using AWS CodePipeline. I am going to use an angular application in Github to perform this simple project.\nDisclaimer: This project is for demonstrating AWS CodePipeline only. The application/code part of this project was already prepared.\nStep 1: Create an S3 bucket\nThe application will need to be hosted in S3. If you go to S3 in the AWS console and click “create bucket” you will be able to set up your bucket. You will need to create a globally unique name for it and se the correct region. You will also need to uncheck “block all public access”. After you create the bucket, you will need to make some configuration changes.\nGo to the properties tab of the bucket and click on the static webhosting box and select “use this bucket to host a website”.\nNow go to the permissions tab and click on bucket policy, you will need to change the policy of the bucket to make the S3 bucket public. Use this code below:\n\n```\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"PublicReadGetObject\",\n      \"Effect\": \"Allow\",\n      \"Principal\": \"*\",\n      \"Action\": [\n        \"s3:GetObject\"\n      ],\n      \"Resource\": \"arn:aws:s3:::YOUR-BUCKET-NAME/*\"\n    }\n  ]\n}\n```\n\nStep 2: Create AWS CodePipeline\nGo to CodePipeline in the AWS console and clicke on “Create a pipeline”\nCreate a Pipeline name\nSelect New service role. This creates an IAM role specifically to access the pipeline.\nClick Next\nStep 3: Select a source provider\nYou will need to provide a source provider. This just means where is the source code currently hosted. In this case we will be selecting Github and then clicking on “Connect to Github” and insert our credentials to authorize it. You will also need to specific your repository and branch.\nSelect GitHub webhooks as the change detection option. What this does is that every time a change is recorded in the repository, the pipeline will automatically detect the change and update the web application accordingly.\nStep 4: Create CodeBuild\nWe are going to use AWS CodeBuild as the build provider.\nUse the following configurations:\n\n![image](https://user-images.githubusercontent.com/31132150/151681483-eabad7f4-6d56-4860-a8c3-23b7c65165f1.png)\n\n\nStep 5: Deploy the application\nSelect AWS S3 as your deploy provider and select the appropriate region and bucket name. Make sure to select “extract file before deploy”. You will be able to launch the pipeline afterwards and should receive a screen like this:\n\n![image](https://user-images.githubusercontent.com/31132150/151681494-bfed7a8a-9c01-4f88-b1e9-a825c0fce53e.png)\n\n\nStep 6: Test your Pipeline\nTo test to ensure the pipeline is working correctly, I am going to make some changes to the GitHub code for our web page. Before that, we will look at what the code was before we changed it and then what it looks like afterwards. Open up your webpage using the link from the S3 bucket.\nBefore the change:\n\n![image](https://user-images.githubusercontent.com/31132150/151681504-935984e7-cd0f-4e9b-ba37-083ac7f7cc90.png)\n\n\nGo ahead and make the changes in the Github repository:\n\n![image](https://user-images.githubusercontent.com/31132150/151681515-2a1f9b54-9e0a-420f-ab4c-d307a48b9e3d.png)\n\n\nIn this case I changed line 4 from “Stay Hungry” to “Stay Positive”\nOnce the change was completed, re-deploy the application in AWS CodePipeline. After several minutes, it will detect the change and your code will reflect the update made in GitHub:\n\n![image](https://user-images.githubusercontent.com/31132150/151681519-1f3ccb6d-b097-4675-bbeb-8f4f3baee0dc.png)\n\nOnce the change was completed, re-deploy the application in AWS CodePipeline. After several minutes, it will detect the change and your code will reflect the update made in GitHub:\n\nProject completed!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorta1989%2Fawscodepipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhectorta1989%2Fawscodepipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorta1989%2Fawscodepipeline/lists"}