{"id":26104518,"url":"https://github.com/prayagraj22/static-website-cloud","last_synced_at":"2026-04-07T08:31:56.680Z","repository":{"id":281279255,"uuid":"944792879","full_name":"PrayagRaj22/Static-Website-Cloud","owner":"PrayagRaj22","description":"This project automates the deployment of a static website using Terraform, Docker, and cloud services (AWS \u0026 Azure). It enables learning Infrastructure as Code (IaC), cloud automation, and containerization with Next.js and TailwindCSS. 🚀💡","archived":false,"fork":false,"pushed_at":"2025-03-08T01:44:12.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T02:24:19.994Z","etag":null,"topics":["aws","aws-cloudfront","aws-s3","azure","azure-blob-storage","azure-cdn","cloud","docker","good-first-issue","open-source","project","terraform"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrayagRaj22.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":"2025-03-08T01:17:46.000Z","updated_at":"2025-03-08T01:37:44.000Z","dependencies_parsed_at":"2025-03-08T05:15:18.866Z","dependency_job_id":null,"html_url":"https://github.com/PrayagRaj22/Static-Website-Cloud","commit_stats":null,"previous_names":["prayagraj22/static-website-cloud"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrayagRaj22%2FStatic-Website-Cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrayagRaj22%2FStatic-Website-Cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrayagRaj22%2FStatic-Website-Cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrayagRaj22%2FStatic-Website-Cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrayagRaj22","download_url":"https://codeload.github.com/PrayagRaj22/Static-Website-Cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242750786,"owners_count":20179258,"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","aws-cloudfront","aws-s3","azure","azure-blob-storage","azure-cdn","cloud","docker","good-first-issue","open-source","project","terraform"],"created_at":"2025-03-09T21:01:38.848Z","updated_at":"2026-04-07T08:31:56.626Z","avatar_url":"https://github.com/PrayagRaj22.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Static Website Deployment with Terraform, Docker \u0026 Cloud 🌍🚀💡\n\nThis project demonstrates the deployment of a **static website** using **Terraform**, **Docker**, and Cloud services. It serves as a learning resource for **Infrastructure as Code (IaC)** principles and Cloud deployment strategies. 🌐📚✨\n\n## 📌 Project Overview 🔍⚡📊\n- **Infrastructure as Code (IaC)** using Terraform\n- **Containerized Deployment** with Docker\n- **Cloud Hosting**: Deploying a static website on AWS or Azure\n- **Automation**: Managing cloud infrastructure programmatically\n- **Scalability**: Learning how to scale static web hosting\n\n## 🚀 Features 🎯📈💾\n- Fully automated deployment using Terraform\n- Containerized website using **Docker**\n- Static website built with **Next.js** and **TailwindCSS**\n- Hosted on **AWS S3 + CloudFront** or **Azure Blob Storage + Azure CDN**\n- HTTPS support (if configured with CloudFront/Azure CDN)\n- Version-controlled infrastructure\n\n## 🛠️ Technologies Used 💻☁️🔧\n- **Next.js**: React-based framework for static site generation\n- **TailwindCSS**: Utility-first CSS framework for styling\n- **Terraform**: Infrastructure as Code (IaC) tool\n- **Docker**: Containerization for easy deployment\n- **AWS**: S3 (for storage) and CloudFront (for CDN)\n- **Azure**: Blob Storage (for storage) and Azure CDN (for CDN)\n- **GitHub Actions (Optional)**: CI/CD automation for infrastructure deployment\n\n## 🏗️ Deployment Steps 🏁🔄📤\n1. **Clone the Repository**\n   ```bash\n   git clone https://github.com/PrayagRaj22/Static-Website-Cloud.git\n   cd Static-Website-Cloud\n   ```\n2. **Initialize Terraform**\n   ```bash\n   terraform init\n   ```\n3. **Plan Deployment**\n   ```bash\n   terraform plan\n   ```\n4. **Apply Configuration**\n   ```bash\n   terraform apply -auto-approve\n   ```\n5. **Build \u0026 Deploy Next.js Website using Docker**\n   ```bash\n   cd website\n   docker build -t static-website .\n   docker run -d -p 3000:3000 static-website\n   ```\n6. **Access the Website**\n   - Get the website URL from Terraform output\n   - Open in your browser 🎉🎊🌐\n\n## 🧹 Cleanup 🗑️❌🔄\nTo destroy the infrastructure and remove resources:\n```bash\nterraform destroy -auto-approve\n```\nTo stop and remove the Docker container:\n```bash\ndocker stop static-website\n``` \n\n## 📖 Learning Outcomes 🎓📘💡\n- Understand how Terraform provisions Cloud infrastructure\n- Learn how to deploy a **Next.js + TailwindCSS** static website on AWS or Azure\n- Use **Docker** for containerized deployment\n- Automate infrastructure management with IaC\n- Implement best practices for infrastructure deployment\n\n## 📜 License 📝⚖️✅\nThis project is licensed under the **MIT License**.\n\n## 🙌 Contributing 🤝💡🔄\nFeel free to open issues or submit pull requests to improve this project.\n\n---\n_This project is for educational purposes only and is meant to help learners understand Terraform, Docker, Cloud, and modern web development. 📚🚀💡_\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprayagraj22%2Fstatic-website-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprayagraj22%2Fstatic-website-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprayagraj22%2Fstatic-website-cloud/lists"}