gitwtfhub

wtf is ec2-metadata-endpoint-interceptor?

fieldju/ec2-metadata-endpoint-interceptor — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2022-12-12

TypeScriptAudience · developerComplexity · 2/5DormantSetup · moderate

TL;DR

A TypeScript tool that appears to intercept requests to AWS EC2's instance metadata service, likely for local testing outside AWS.

Mindmap

mindmap
  root((ec2-metadata-interceptor))
    What it does
      Intercept metadata requests
      Sit between app and EC2
    Tech stack
      TypeScript
      Node.js
      AWS EC2
    Use cases
      Local dev without AWS
      Mock instance metadata
    Audience
      Developers
    Notable approach
      No README available
      Name-based inference

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Test EC2 metadata-dependent code locally without deploying to AWS.

REASON 2

Mock or redirect requests to the EC2 instance metadata endpoint.

REASON 3

Develop applications that read instance ID, IAM role, or credentials outside of EC2.

What's in the stack?

TypeScriptNode.jsAWS EC2

How it stacks up

fieldju/ec2-metadata-endpoint-interceptor0xradioac7iv/tempfs7vignesh/pgpulse
Stars00
LanguageTypeScriptTypeScriptTypeScript
Last pushed2022-12-12
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity2/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

README is empty, exact usage is unclear without checking source code.

Yoink these prompts

Prompt 1
Explain what the AWS EC2 instance metadata service is and why an app might need to intercept it.
Prompt 2
Help me write a local mock server that mimics the EC2 metadata endpoint for testing.
Prompt 3
Show me how to redirect calls to 169.254.169.254 to a local mock in a Node.js app.

Frequently asked questions

wtf is ec2-metadata-endpoint-interceptor?

A TypeScript tool that appears to intercept requests to AWS EC2's instance metadata service, likely for local testing outside AWS.

What language is ec2-metadata-endpoint-interceptor written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, AWS EC2.

Is ec2-metadata-endpoint-interceptor actively maintained?

Dormant — no commits in 2+ years (last push 2022-12-12).

How hard is ec2-metadata-endpoint-interceptor to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ec2-metadata-endpoint-interceptor for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.