{"id":26213239,"url":"https://github.com/kartikk-26/secure-scalable-aws-vpc-network","last_synced_at":"2026-05-06T04:07:31.865Z","repository":{"id":281279851,"uuid":"944795791","full_name":"Kartikk-26/Secure-Scalable-AWS-VPC-Network","owner":"Kartikk-26","description":"This project builds a secure and scalable AWS VPC with custom subnets, NAT and Internet Gateways, VPC Peering, and private database hosting for controlled access and efficient networking.","archived":false,"fork":false,"pushed_at":"2025-03-08T01:40:38.000Z","size":3979,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T09:18:10.793Z","etag":null,"topics":["aws","database","internet-gateway","nat-gateways","subnet","subnetting","vpc","vpc-peering"],"latest_commit_sha":null,"homepage":"https://new.kartikk.site/","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/Kartikk-26.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":"2025-03-08T01:29:58.000Z","updated_at":"2025-03-09T10:55:13.000Z","dependencies_parsed_at":"2025-03-08T02:35:20.452Z","dependency_job_id":null,"html_url":"https://github.com/Kartikk-26/Secure-Scalable-AWS-VPC-Network","commit_stats":null,"previous_names":["kartikk-26/secure-scalable-aws-vpc-network-","kartikk-26/secure-scalable-aws-vpc-network"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kartikk-26%2FSecure-Scalable-AWS-VPC-Network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kartikk-26%2FSecure-Scalable-AWS-VPC-Network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kartikk-26%2FSecure-Scalable-AWS-VPC-Network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kartikk-26%2FSecure-Scalable-AWS-VPC-Network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kartikk-26","download_url":"https://codeload.github.com/Kartikk-26/Secure-Scalable-AWS-VPC-Network/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243188208,"owners_count":20250457,"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","database","internet-gateway","nat-gateways","subnet","subnetting","vpc","vpc-peering"],"created_at":"2025-03-12T09:18:13.173Z","updated_at":"2025-12-27T07:43:35.145Z","avatar_url":"https://github.com/Kartikk-26.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Successfully Built a Secure \u0026 Scalable AWS VPC Network! 🔥🌐\n\n## 📌 Project Overview\nThis project focuses on designing and deploying a fully functional **AWS Virtual Private Cloud (VPC)** to ensure **secure, scalable, and efficient cloud networking**. \n\nThrough hands-on implementation, I gained expertise in AWS networking, subnet segmentation, security configurations, private cloud infrastructure, database isolation, and inter-region connectivity.\n\n## 🔍 Key Features \u0026 Implementation\n\n### ✅ **Understanding VPC \u0026 Its Usage**\n- Explored how **VPCs provide network isolation, security, and controlled access** in AWS.\n\n### ✅ **Created a Custom VPC**\n- Defined my own VPC named **`my-vpc-1`** with a **custom IPv4 CIDR block**.\n\n### ✅ **Configured Subnets for Efficient Networking**\n- **Public subnet** for internet-facing resources.\n- **Private subnet** for internal workloads.\n\n### ✅ **Set Up an Internet Gateway**\n- Attached an **Internet Gateway** to allow instances in the **public subnet** to securely access the internet.\n\n### ✅ **Created Route Tables \u0026 Associations**\n- Configured a **custom route table** for the VPC.\n- Added a route to **connect the Internet Gateway** for external access.\n\n### ✅ **Launched an EC2 Instance in Public Subnet**\n- Instance **`test1`**, assigned a **public IP**, and verified **internet connectivity**.\n\n### ✅ **Built a Secure Private Subnet for Database**\n- Created **Subnet 2** to **restrict database access** to private IPs only.\n\n### ✅ **Deployed a NAT Gateway for Private Subnet**\n- Placed a **NAT Gateway** in Subnet 1, enabling **outbound internet access** for private instances while maintaining security.\n\n### ✅ **Launched a Private Instance in Subnet 2**\n- Created an **EC2 instance without a public IP**, making it accessible only within the **private network**.\n\n### ✅ **Installed a Database in the Private Subnet**\n- Set up a **database server** that is only reachable via the private IP of **Subnet 2**, ensuring **strong security practices**.\n\n### ✅ **Established SSH Connection via Bastion Host**\n- Logged into **Instance 1 (Public Subnet)**.\n- Generated a **key pair (`Key.pem`)**.\n- Set permissions and **used SSH to access the private instance** securely.\n\n### ✅ **Implemented VPC Peering for Cross-Region Connectivity**\n- Set up a **VPC Peering Connection** to enable **secure communication between two VPCs** in different AWS regions.\n- Configured **Requester and Accepter VPCs** and verified the **peering connection**.\n\n## 🚀 Why This Project Matters?\n- **Essential skill for Cloud Engineers \u0026 DevOps Professionals**.\n- Strengthens expertise in **AWS networking, infrastructure security, and cloud scalability**.\n- Demonstrates best practices for **secure VPC design \u0026 inter-region connectivity**.\n\n## 🛠️ Tech Stack\n- **AWS VPC**\n- **AWS EC2**\n- **AWS Subnets (Public \u0026 Private)**\n- **Internet \u0026 NAT Gateways**\n- **Route Tables \u0026 Peering**\n- **Bastion Host for Secure SSH Access**\n- **Private Database Hosting**\n\n## 📂 Folder Structure\n```\n├── aws-vpc-project/             # Main project folder\n│   ├── vpc/                     # Contains VPC setup-related images\n│   │   ├── Setting Up VPC Images\n│   ├── vpc-peering/             # Contains VPC Peering setup images\n│   │   ├── Setting Up VPC Peering Images\n│\n├── README.md                    # Project documentation\n├── assets/                      # Additional resources or shared file\n\n```\n\n## 📌 How to Use This Project?\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/Kartikk-26/Secure-Scalable-AWS-VPC-Network-.git\n   ```\n2. Navigate to the project directory:\n   ```sh\n   cd aws-vpc-project\n   ```\n3. Follow the **AWS setup guide** in the repository to deploy your own **secure \u0026 scalable VPC**.\n\n## 🎯 Expected Outcomes\n\n- ✅ Seamless cross-VPC communication via VPC Peering.\n- ✅ Well-structured AWS VPC architecture with public and private subnets.\n- ✅ Enhanced security with properly configured Security Groups and NACLs.\n- ✅ Hands-on experience in AWS networking and infrastructure management. \n- ✅ Successful Connection to Private DB![Image1](./Assests/Successful%20Connection%20to%20Private%20DB.png)\n- ✅ Internet Connectivity of Private Database![Image2](./Assests/Internet%20Connectivity%20of%20Private%20Database.png)\n\n## 📢 Let's Connect!\n- Stay updated on [LinkedIn](https://www.linkedin.com/in/-kartikjain/) for more DevOps projects and insights.\n- Follow along as I explore **Cloud Infrastructure, Ansible Automation, and DevOps practices**.\n- Let's collaborate and build scalable solutions together!\n\n---\n### 🌟 If you found this project helpful, don’t forget to **star⭐** this repo!\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartikk-26%2Fsecure-scalable-aws-vpc-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkartikk-26%2Fsecure-scalable-aws-vpc-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartikk-26%2Fsecure-scalable-aws-vpc-network/lists"}