From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DAB517E0 for ; Sun, 7 Sep 2025 04:23:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757219008; cv=none; b=UsI+LCG2FaetzjZxyiaLJxWE4KJyYfolKz4kToPPAk/+PuG9Cm4KS35GTobqoBbeoKjtu0i1DOBzANEs0hImI3vVJxPU7kMVg/tyR06AIxXFC0dOrVJXmIA5NcKJ3s6xdNUqef4Bip2MlZniW7SJGSB69WlkxjNThhNArY0Cqc8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757219008; c=relaxed/simple; bh=tAy+ZENTltBuLrRqAgsSZPOdlJY1yLVc7Ynyc8rs5Eo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lbE5gZcYfiWnURWaRaH2x545UzY55e0ybtrtYOk6/GAKBtZCV25dLqs7jd9H7juQR/UFnOmMQxab9b0GKhmfcyMS4cZZyYY+jH0gnAROB9ZehAsLPUZ/SVJClOttImmf7w1KgfV+u+eaFmo9qNhLlYxSN1eQZheX+/R1C+npixQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=BwFNw6Q6; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="BwFNw6Q6" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=d1nkBPyzS9jkllXme5rAdatfcZGuzg5s9SUD1oYxBC0=; b=BwFNw6Q6M18ycj1l5esgrUbTnO 8Kr1FGfUM+fA0cPgoPzfb6ag2HmN/gifu67hcWYRGAxPobr+JkdTzl8gMePzUr6RlgB/eWmj5grJI vZ+EacFzB5+NlxUCn4CFCO5DN08R2FtJfsL9eKguHPFydX70D19nAspz1BHUDEIPoJOCxVwCJQ64s fckZTMh6ai8pm3GyPjqob51QNFSMT2Pom01sa8JkwZlNz2DfzRFPQ1KDSgqI+U0aj3HCDR20UoBjd JMcjhe8yek7x6WstyhTMPLdA/0b/UAK9nhHL5qRJRb6sIVj4PhRzUJdA8OTlnR6hnFxCsenlwkktS Jx5kHwEA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1uv6w2-00000009Lq1-1RGa; Sun, 07 Sep 2025 04:23:26 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 0/2] aws: add dynamic kconfig support Date: Sat, 6 Sep 2025 21:23:21 -0700 Message-ID: <20250907042325.2228868-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Changes on this v2: - adds the docs suggested by Chuck - splits GPU amis in a separate patch - drops the static files, as they are just noise and I can instead re-generate them on the fly when we decide this is ready to merge. I've also changed the default GPU AMI to use "Deep Learning OSS Nvidia Driver AMI GPU PyTorch*Ubuntu 22.04*" as that actually has pytorch. Luis Chamberlain (2): aws: add dynamic cloud configuration support using AWS CLI aws: enable GPU AMI support for GPU instances .gitignore | 3 + defconfigs/aws-gpu-g6e-ai | 42 + docs/cloud-configuration.md | 268 ++++ .../templates/aws/terraform.tfvars.j2 | 5 + scripts/aws-cli | 436 +++++++ scripts/aws_api.py | 1161 +++++++++++++++++ scripts/dynamic-cloud-kconfig.Makefile | 101 +- scripts/generate_cloud_configs.py | 198 ++- terraform/aws/kconfigs/Kconfig.compute | 109 +- 9 files changed, 2233 insertions(+), 90 deletions(-) create mode 100644 defconfigs/aws-gpu-g6e-ai create mode 100644 docs/cloud-configuration.md create mode 100755 scripts/aws-cli create mode 100755 scripts/aws_api.py -- 2.50.1