{"id":26167433,"url":"https://github.com/suraj-kumar00/mindfulcloud","last_synced_at":"2026-02-14T12:03:05.013Z","repository":{"id":281493823,"uuid":"945449350","full_name":"Suraj-kumar00/MindfulCloud","owner":"Suraj-kumar00","description":"Mental Health Website for Cloud/DevOps practices","archived":false,"fork":false,"pushed_at":"2025-03-12T13:44:55.000Z","size":82949,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T17:43:27.283Z","etag":null,"topics":["aws","aws-acm","aws-iam","cloud-computing","cloudfront","cloudwatch","devops","docker","html","mental-health","nginx","route53","s3-bucket","waf"],"latest_commit_sha":null,"homepage":"https://mindfulcloud.devsuraj.me/","language":"HTML","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/Suraj-kumar00.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-09T13:01:59.000Z","updated_at":"2025-03-12T13:44:59.000Z","dependencies_parsed_at":"2025-03-10T18:31:32.095Z","dependency_job_id":"dc7b922e-0f60-46f8-b15f-f4cdf65b6dd1","html_url":"https://github.com/Suraj-kumar00/MindfulCloud","commit_stats":null,"previous_names":["suraj-kumar00/aws-static-mental-health-website","suraj-kumar00/mindfulcloud"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2FMindfulCloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2FMindfulCloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2FMindfulCloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2FMindfulCloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suraj-kumar00","download_url":"https://codeload.github.com/Suraj-kumar00/MindfulCloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248930086,"owners_count":21184949,"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-acm","aws-iam","cloud-computing","cloudfront","cloudwatch","devops","docker","html","mental-health","nginx","route53","s3-bucket","waf"],"created_at":"2025-03-11T17:36:25.591Z","updated_at":"2026-02-14T12:03:05.007Z","avatar_url":"https://github.com/Suraj-kumar00.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cstrong\u003eMindfulCloud\u003c/strong\u003e\n\u003c/h1\u003e\n\n![Image](./Assets/MindfulCloud-home-image.png)\n\n---\n\n## What problem it solves?\n\nEveryone can host a basic website on AWS that's old news what actually something `secure`,`fast` and `smart` with resource I have. You can't just dump an HTML file somewhere, becuase there are hacker that can come form anywhere, users who'll just bounce if your site takes more than a second load and budgets which needs to be managed that the real problem we're solving here.\n\nhttps://github.com/user-attachments/assets/0169109a-c176-454f-b360-c3a983957626\n\n## How I build it?\n\n**The AWS resources in that I'll deep dive:**\n\n1. `AWS S3`: That's the foundation for our starage.\n2. `CloudFront`: We're going to plug in cloudfront to blast the content worldwide very fast.\n3. `Certificate Manager`: Security wise AWS certificate manager will handle **https**.\n4. `WAF`: We're throwing **WAF(Web Application Firewall)**\n5. `CloudWatch`: Cloudwatch keeps an eye on everthing with custom dashboards and alerts.\n6. `AWS Route 53`: For custom domain.\n\n## The Business Impact It Will Create!!!\n\n1. **Speed \u0026 Performance** – CloudFront ensures fast content delivery with low latency.\n2. **Security** – AWS Certificate Manager enables HTTPS, and WAF protects against attacks.\n3. **Cost Efficiency** – Pay-as-you-go pricing with CloudFront reducing bandwidth costs.\n4. **Scalability \u0026 Reliability** – AWS auto-scales based on demand with high availability.\n5. **Monitoring** – CloudWatch provides `real-time` insights with alerts and logs.\n\n---\n\n## The whole picture in one frame!\n\n### AWS Architecture for Hosting a Static Website\n\n![AWS architecture](./Assets/aws-architecture-stattic-website3.png)\n\nThis architecture is designed to **host a secure, scalable, and high-performance static website** using AWS services. Let me walk you through it:\n\n## **1️⃣ User Request (Entry Point)**\n\n🔹 A **user** initiates a request by visiting [https://mindfulcloud.devsuraj.me](https://mindfulcloud.devsuraj.me/).  \n🔹 The request is sent to **Amazon Route 53**, which is the **DNS service** responsible for resolving domain names into IP addresses.\n\n## **2️⃣ Route 53 → CloudFront**\n\n🔹 Route 53 forwards the request to **Amazon CloudFront** (a CDN service).  \n🔹 CloudFront serves cached content if available, reducing latency.\n\n## **3️⃣ Security Layer**\n\n🔹 **AWS WAF (Web Application Firewall)** protects against threats like:\n\n- SQL Injection\n- Cross-site Scripting (XSS)\n- DDoS attacks  \n  🔹 **AWS ACM (AWS Certificate Manager)** provides **SSL/TLS encryption** for secure HTTPS communication.\n\n## **4️⃣ Fetching Content from S3**\n\n🔹 If the content **is not cached** in CloudFront, it fetches the latest version from **Amazon S3** (which stores the static website files like HTML, CSS, JavaScript, and images).  \n🔹 S3 acts as the **origin server** for CloudFront.\n\n## **5️⃣ Monitoring \u0026 Logging**\n\n🔹 **AWS CloudWatch** monitors:\n\n- **CloudFront:** Request logs, cache hit ratio, performance metrics\n- **S3:** Storage access patterns, request metrics  \n  🔹 This helps track website **performance, security incidents, and errors.**\n\n## **Key Benefits of This Architecture**\n\n✅ **Low Latency:** CloudFront caches content globally, reducing load times.  \n✅ **High Availability:** S3 ensures **durability (99.999999999%)** and **scalability.**  \n✅ **Security:** WAF blocks threats, and ACM ensures **HTTPS encryption.**  \n✅ **Cost Efficiency:** Pay only for what you use (CloudFront reduces S3 requests).  \n✅ **Real-time Monitoring:** CloudWatch provides insights into performance and security.\n\n## Licence\nCheck out the [lincence](https://github.com/Suraj-kumar00/MindfulCloud/blob/main/LICENSE)\n\n## Give the repo star 🤩\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuraj-kumar00%2Fmindfulcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuraj-kumar00%2Fmindfulcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuraj-kumar00%2Fmindfulcloud/lists"}