{"id":38959722,"url":"https://github.com/dump247/ec2metaproxy","last_synced_at":"2026-01-17T16:23:37.147Z","repository":{"id":23251614,"uuid":"26609615","full_name":"dump247/ec2metaproxy","owner":"dump247","description":"EC2 instance metadata proxy for linux containers","archived":false,"fork":false,"pushed_at":"2022-04-07T15:09:11.000Z","size":1406,"stargazers_count":138,"open_issues_count":2,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-15T13:42:38.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/dump247.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}},"created_at":"2014-11-13T21:47:29.000Z","updated_at":"2025-03-20T12:25:21.000Z","dependencies_parsed_at":"2022-08-05T21:15:10.380Z","dependency_job_id":null,"html_url":"https://github.com/dump247/ec2metaproxy","commit_stats":null,"previous_names":["dump247/docker-ec2-metadata"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dump247/ec2metaproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dump247%2Fec2metaproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dump247%2Fec2metaproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dump247%2Fec2metaproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dump247%2Fec2metaproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dump247","download_url":"https://codeload.github.com/dump247/ec2metaproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dump247%2Fec2metaproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":"2026-01-17T16:23:37.080Z","updated_at":"2026-01-17T16:23:37.138Z","avatar_url":"https://github.com/dump247.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"A service that runs on an EC2 instance that proxies the EC2 instance metadata service\nfor linux containers. The proxy overrides metadata endpoints for individual\ncontainers.\n\nThe following container platforms are supported:\n\n* [docker](https://www.docker.com)\n* [flynn](https://flynn.io)\n\nAt this point, the only endpoint overridden is the security credentials. This allows\nfor different containers to have different IAM permissions and not just use the permissions\nprovided by the instance profile. However, this same technique could be used to override\nany other endpoints where appropriate.\n\nThe proxy works by mapping the metadata source request IP to the container using the container\nplatform specific API. The container's metadata contains information about what IAM permissions\nto use. Therefore, the proxy does not work for containers that do not use the container\nnetwork bridge (for example, containers using \"host\" networking).\n\n# Setup\n\n## Host\n\nThe host EC2 instance must have firewall settings that redirect any EC2 metadata connections\nfrom containers to the metadata proxy. The proxy will then process the request and\nmay forward the request to the real metadata service.\n\nThe instance profile of the host EC2 instance must also have permission to assume the IAM roles\nfor the containers.\n\nSee:\n\n* [Host Setup](docs/host-setup.md)\n\n## Containers\n\nContainers do not require any changes or modifications to utilize the metadata proxy. By\ndefault, they will receive the default permissions configured by the proxy. Alternatively,\na container can be configured to use a separate IAM role or provide an IAM policy.\n\nSee:\n\n* [Docker Container Setup](docs/docker-container-setup.md)\n* [Flynn Container Setup](docs/flynn-container-setup.md)\n\n# License\n\nThe MIT License (MIT)\nCopyright (c) 2014 Cory Thomas\n\nSee [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdump247%2Fec2metaproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdump247%2Fec2metaproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdump247%2Fec2metaproxy/lists"}