{"id":19769370,"url":"https://github.com/abiydv/aws-cf-vpc","last_synced_at":"2026-06-14T05:31:58.823Z","repository":{"id":177337859,"uuid":"168807725","full_name":"abiydv/aws-cf-vpc","owner":"abiydv","description":"Cloudformation template to create VPC network stack","archived":false,"fork":false,"pushed_at":"2019-02-05T11:44:59.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-28T11:04:16.498Z","etag":null,"topics":["aws","aws-cloudformation","aws-vpc","cloudformation","vpc","vpc-creation","vpc-resources"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abiydv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-02-02T07:42:14.000Z","updated_at":"2019-02-22T21:51:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"4afa431e-933d-44da-89c7-9a6b4dcea541","html_url":"https://github.com/abiydv/aws-cf-vpc","commit_stats":null,"previous_names":["abiydv/aws-cf-vpc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abiydv/aws-cf-vpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiydv%2Faws-cf-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiydv%2Faws-cf-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiydv%2Faws-cf-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiydv%2Faws-cf-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abiydv","download_url":"https://codeload.github.com/abiydv/aws-cf-vpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiydv%2Faws-cf-vpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34310801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","aws-cloudformation","aws-vpc","cloudformation","vpc","vpc-creation","vpc-resources"],"created_at":"2024-11-12T04:42:49.657Z","updated_at":"2026-06-14T05:31:58.818Z","avatar_url":"https://github.com/abiydv.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS VPC\n[![CodeFactor](https://www.codefactor.io/repository/github/abiydv/aws-cf-vpc/badge)](https://www.codefactor.io/repository/github/abiydv/aws-cf-vpc)\n\n![cli](https://github.com/abiydv/ref-docs/blob/master/images/logos/aws-cli_small.png)\n![cf](https://github.com/abiydv/ref-docs/blob/master/images/logos/aws-cf_small.png)\n![vpc](https://github.com/abiydv/ref-docs/blob/master/images/logos/aws-vpc_small.png)\n\nUse this template to create a VPC with 2 public and 2 private subnets. \n\nSpecify VPC Cidr and Subnet Cidr bit to get desired number of IPs distributed in the 4 subnets. \nSome reference values below \n\u003e - VPCcidr 10.0.0.0/26 and Cidrbit 4 - will generate 4 /28 subnets with 14 usable hosts in each\n\u003e - VPCcidr 10.0.0.0/24 and Cidrbit 6 - will generate 4 /26 subnets with 62 usable hosts in each\n\u003e - VPCcidr 10.0.0.0/22 and Cidrbit 8 - will generate 4 /24 subnets with 254 usable hosts in each\n\n## Prerequisites\n(Optional) Configure AWS Cli access for the AWS account you want to create the VPC in. You can skip this if you want to create the stack from the Cloudformation console\n```\n$ aws configure --profile aws-dev-account\nAWS Access Key ID [None]: ACCESS_KEY\nAWS Secret Access Key [None]: SECRET_KEY\nDefault region name [None]: us-east-1\nDefault output format [None]:\n```\n\n## How to use\nCheckout the repository and execute from cli\n```\ncd cloudformation/vpc/\naws cloudformation validate-template --template-body file://vpc-stack.yaml \\\n  --profile aws-dev-account --region us-east-1 \n```\nThis should display the parameters - validating the template syntax is fine. Next, create the stack\n\n```\naws cloudformation create-stack --stack-name vpc-stack --template-body file://vpc-stack.yaml \\\n  --parameters ParameterKey=VPCcidr,ParameterValue=\"10.0.0.0/26\" \\\n               ParameterKey=CidrBit,ParameterValue=\"4\" \\\n               ParameterKey=EnvironmentName,ParameterValue=\"dev\" \\\n  --profile  aws-dev-account --region us-east-1\n```\nAlternatively, copy the template and create the stack from Cloudformation console.\n\n## Contact\nDrop me a note or open an issue if something doesn't work out.\n\nCheers! :thumbsup:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiydv%2Faws-cf-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabiydv%2Faws-cf-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiydv%2Faws-cf-vpc/lists"}