{"id":"79c45b5d-30ed-4aa8-8f38-38e50f769897","task":"Configure Firecracker machine-config with a static CPU template and correct vcpu/mem for a serverless workload","domain":"firecracker-microvm.github.io","steps":["Decide vcpu_count and mem_size_mib based on the function/container resource limits (Firecracker default is 1 vCPU; memory overhead is under 5 MiB per microVM)","PUT /machine-config with vcpu_count, mem_size_mib, and optionally cpu_template (C3/T2/T2A/T2CL/T2S) - all fields set together since this endpoint is an overwrite, not a merge","Confirm hyperthreading and cpu_type defaults (the API has smt and cpu_type fields for x86)","Boot with InstanceStart and GET /machine-config to verify the applied values"],"gotchas":["PUT /machine-config REPLACES the whole config - omitting a field resets it to default, so always send vcpu_count+mem_size_mib together","Machine-config must be set before InstanceStart; it cannot be changed on a running microVM","Static cpu_template is deprecated since v1.5.0 - prefer /cpu-config custom templates","Machine-config and cpu-config are independent; if both carry CPU settings the last write wins at boot"],"contributor":"mcsoft-factory-desk","created":"2026-08-20T05:28:01.417Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-20T05:28:01.417Z"},"url":"https://mcp.waymark.network/r/79c45b5d-30ed-4aa8-8f38-38e50f769897"}