{"id":21258651,"url":"https://github.com/praveen1664/github-bitcoin-pipeline","last_synced_at":"2026-04-09T12:01:06.992Z","repository":{"id":55463867,"uuid":"523076987","full_name":"praveen1664/Github-Bitcoin-Pipeline","owner":"praveen1664","description":"Automated Pipeline with Github actions + Terraform + Docker Containers to deploy the Bitcoin Image in AWs","archived":false,"fork":false,"pushed_at":"2023-05-29T14:25:14.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-21T21:45:21.266Z","etag":null,"topics":["aws","devops","docker","ecs-fargate","github-actions","shell","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/praveen1664.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-08-09T19:06:47.000Z","updated_at":"2023-07-29T13:25:32.000Z","dependencies_parsed_at":"2025-01-21T21:41:16.787Z","dependency_job_id":"78f9ab59-cf7d-4cff-ae39-d33b061b0747","html_url":"https://github.com/praveen1664/Github-Bitcoin-Pipeline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FGithub-Bitcoin-Pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FGithub-Bitcoin-Pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FGithub-Bitcoin-Pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FGithub-Bitcoin-Pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/praveen1664","download_url":"https://codeload.github.com/praveen1664/Github-Bitcoin-Pipeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695456,"owners_count":20332622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws","devops","docker","ecs-fargate","github-actions","shell","terraform"],"created_at":"2024-11-21T04:10:03.270Z","updated_at":"2025-12-31T00:21:56.968Z","avatar_url":"https://github.com/praveen1664.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Github Actions Integration with terraform to create VPC,SG, ECR , ECS, EFS \u0026 mounting of EFS\n==================================================================================================\n# What it contains\n1. ### This is a complete CI-CD pipeline through Github workflow actions present in .github folder along with Terraform code present in modules folder \u0026 environment/demo folder. It also contains the Dockerfile \u0026 other necessary source code for building \u0026 deploying Bitcoin core 0.21.0 in docker \u0026 deploying on ECs with EFS enable. It follow the below routein:\nAs soon as there is a checkin in main branch a github workflow will trigger the terrform scripts with workflow name tearrform_plan_apply which will create the followings on broader level with terraform:\n\n\n    A. VPC\n    B. CIDR\n    C. Subnets\n    D. Necessary Security Groups\n    E. Elastic Container Registry\n    F. Login to Registry\n    G. Do a docker build for BitCoin 0.21.0 with 442 Security checks embedded inside the docker file. Whereas checksum itslef is also verified inside the file.\n    H. Create Elastic File Systems\n    I. Mount the file syste.\n    J. Create Tasks Definitions\n    K. Mouting Point of EFS to data\n    L. Necessary Policies.\n    M. Policies to assume role.\n    N\n\n2. ### How it could be run?\n##### It contain 2 Github Actions Work Flow as part of CI CD\n   ###### 1. \"Terraform_Plan_Apply\"\n   ###### 2. Terraform destroy\n   \n   No of tests:\n   1. Tested once\n   2.Twice tested\n\n##### 1. Workflow \"Terraform_Plan_Apply\" will triggred automatically with a push in main branch with Github Actions to:\n\n##### 2. There is another GitHub Work which is provided to destroy the infra created in first step. Terraform Destroy Prsent in Gighub,Repo,Actions which could be triggered manually. No Automation is provided here. Please run this if you have run the first GitHub action workflow. It is used to \nb. To destroy all the infrastructure created in teraform.\n\nWhat You need\n===============\nA valid Github Repo \nA Valid AWS account with programatic access enabled with access_key \u0026 secret_key.\n\nWhat You need to do to test this code?\n======================================\n### (A) Test it in Same repo, same github account my aws account in same structure the please contact me.\n----------------------------------------\n1. Clone/checkout this repo \u0026 do some dummy checkin say add some comment in READMDEmd.\n2. Make some meaningful comments \u0026 do a push.\n3. The Github action \"Terraform_Plan_Apply\" will trigger automatically.\n4. You can Watch it to be completed in repo,Actions,Terraform_Plan_Apply workflow\n5. check all of the logs.\n6. You can contact me to see how the infra has been created in aws.\n7. Run anoher work flow to destroy the infra from \n   repo , Actions, terraform_destroy to destroy the infra. (You need toenter Destroy to proceed further)\n----------------------------------------------\n### (B) Test this from command line on your system\n------------------------------\n1. Take a system which have terraform \u0026 docker installed installed.\n2. Install aws-cli\n3. do aws configure from cli.\n4. Clone my repository.\n5. In providers section uncomment the profile block \u0026 region\n6. Also remove my remote backend\n7. First go to modules/ecr folder \u0026 run following. It will create the ECR repo\n           ``\n               a) terraform init\n               b) terraform plan\n               c) terraform apply\n            ``\n8. Now come back to root folder \u0026 do a docker build with docker file. Push the Images to you ECR build earlier after setting up your aws profile.\n9. Goto , environment\\demo folder \u0026 run following commands\n  ``sh \n   a) terraform init\n   b) terraform plan\n   c) terraform apply\n  ``sh\n   To destroy Please rund the following\n\n   d) terraform destroy\n-------------------------------------------------------\n### (C) Want to test it with your github account in your aws  then use the followings\n---------------------------------------------------\n1. Clone this repo from main branch\n2. Remove my backend from providers section.\n3. Add your backend.\n4. Create your repo \u0026 update secrets in your repo by creating 2 variables \n    a) AWS_ACCESS_KEY_ID for your user access Key\n    b) AWS_SECRET_ACCESS_KEY for your secret Key.\n    c) AWS_REGION for your favourite region.\n5. In .github\\workflowfolder\\terraform.yml update aws-region with your region of choice.\n6. Add this code to your repo.\n7. Do some dummy checkin to main.\n8. The Github action \"Terraform_Plan_Apply\" will trigger automatically.\n9. You can Watch it to be completed in repo,Actions,Terraform_Plan_Apply workflow\n10. Check all of the logs.\n11. You can cross check your aws account to verify the build.\n12. Run anoher work flow from repo , Actions, terraform_destroy to destroy the infra. (You need toenter Destroy to proceed further)\n#\n\n##test\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraveen1664%2Fgithub-bitcoin-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraveen1664%2Fgithub-bitcoin-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraveen1664%2Fgithub-bitcoin-pipeline/lists"}