{"id":29291694,"url":"https://github.com/ashmit-kumar/ip_hosting_using_ec2","last_synced_at":"2026-02-06T17:03:27.319Z","repository":{"id":266723607,"uuid":"899149448","full_name":"Ashmit-Kumar/IP_Hosting_Using_EC2","owner":"Ashmit-Kumar","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-05T18:51:22.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T08:09:10.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/Ashmit-Kumar.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":"2024-12-05T17:58:40.000Z","updated_at":"2024-12-05T18:51:26.000Z","dependencies_parsed_at":"2024-12-05T19:40:29.022Z","dependency_job_id":null,"html_url":"https://github.com/Ashmit-Kumar/IP_Hosting_Using_EC2","commit_stats":null,"previous_names":["ashmit-kumar/ip_hosting_using_ec2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ashmit-Kumar/IP_Hosting_Using_EC2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashmit-Kumar%2FIP_Hosting_Using_EC2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashmit-Kumar%2FIP_Hosting_Using_EC2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashmit-Kumar%2FIP_Hosting_Using_EC2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashmit-Kumar%2FIP_Hosting_Using_EC2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ashmit-Kumar","download_url":"https://codeload.github.com/Ashmit-Kumar/IP_Hosting_Using_EC2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ashmit-Kumar%2FIP_Hosting_Using_EC2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29169384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-07-06T08:09:09.537Z","updated_at":"2026-02-06T17:03:27.303Z","avatar_url":"https://github.com/Ashmit-Kumar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EC2 S3 Hosting with IAM Role\n\nThis project documents how to host a static website using an **EC2 instance** with an **IAM role** for S3 access and an **S3 bucket** for storing static files.\n\n## Overview\n\nIn this guide, you'll learn how to:\n1. Create an IAM role for your EC2 instance with access to your S3 bucket.\n2. Launch an EC2 instance (Amazon Linux 2).\n3. Install a web server (Apache or Nginx) on the EC2 instance.\n4. Set up the EC2 instance to download static files from your S3 bucket.\n5. Serve these files using the web server.\n6. Test and ensure the website is publicly accessible.\n\nThis project assumes basic knowledge of AWS services like EC2, IAM, and S3. You should also have a static website stored in an S3 bucket.\n\n## Documentation\n\nDetailed steps for each part of the process are available in the `docs/` folder.\n\n- **[Step 1: Set Up IAM Role for S3 Access](docs/1-setup-iam-role.md)**\n- **[Step 2: Launch EC2 Instance](docs/2-launch-ec2-instance.md)**\n- **[Step 3: Install Apache/Nginx Web Server](docs/3-install-web-server.md)**\n- **[Step 4: Download Files from S3](docs/4-download-files-from-s3.md)**\n- **[Step 5: Configure Web Server to Serve Files](docs/5-configure-web-server.md)**\n- **[Step 6: Test the Website](docs/6-test-website.md)**\n\n## Conclusion\n\nBy following these steps, you'll have a fully functional static website hosted from an EC2 instance with content pulled from an S3 bucket using IAM roles for secure access.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashmit-kumar%2Fip_hosting_using_ec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashmit-kumar%2Fip_hosting_using_ec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashmit-kumar%2Fip_hosting_using_ec2/lists"}