Add examples and bootstrap script for incoming AWS feature - #579
Open
ipetrov117 wants to merge 3 commits into
Open
Add examples and bootstrap script for incoming AWS feature#579ipetrov117 wants to merge 3 commits into
ipetrov117 wants to merge 3 commits into
Conversation
ipetrov117
commented
Sep 4, 2026
| corePlatform: | ||
| # Registry path to the release manifest OCI image of the Core Platform that this SUSE Solution extends | ||
| # Note: AWS feature is not yet available on registry.suse.com, hence the referral to registry.suse.de | ||
| image: "registry.suse.de/devel/unifiedcore/main/totest/containers/beta/uc/rke2/rke2-manifest:1.35.6" |
Contributor
Author
There was a problem hiding this comment.
I am not a fan of this, but at least it enables the example's functionality. We could also just refer registry.suse.com and say that the example will be broken until the AWS feature is released. Let me know what you think.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds configuration examples for the AWS feature introduced as part of #578 and is meant to shed some light in how a user can spin up the necessary test infrastructure and use a customized image to deploy either a single or multi node UC cluster on AWS.
The examples are spit in two groups:
examples/elemental/customize/aws- a configuration directory that can be used as a base to spin up a customized image.examples/elemental/runtime-configs- butane configurations that can be converted to ignition configs. Represent the runtime configurations that can be done over an EC2 instance depending on the desired cluster type (e.g. single/multi).In addition to the examples, a new
uc_aws_bootstrapper.shscript is introduced - this script works in 3 phases and is capable of setting up all the necessary AWS resources automatically, so that the user never has to go and manually touch AWS, or know AWS semantics. The script is intended mainly for development purposes, so that we can have a unified way of testing the AWS feature. That said, it can also be used to demo the UC on AWS feature, as well. Also it can further be extended to offer a full "blackbox" deployment approach in the future.How would a development workflow look like with this approach:
/uc_aws_bootstrapper.sh bootstrap-infra --allow-ssh- this will spin up:rancher.<public_NLB_IP>.sslip.io- usingsslip.iohere mainly so that we do not have to setup a Route53 hosted zone../uc_aws_bootstrapper.sh bootstrap-ami --customized-img <customized.raw>- this will:examples/elemental/runtime-configs/single-nodeorexamples/elemental/runtime-configs/multi-nodeand run:./uc_aws_bootstrapper.sh bootstrap-cluster --ignition-config-dir <ignition_dir>- This will:./uc_aws_bootstrapper.sh bootstrap-cluster teardown- This will remove all created infrastructure, ensuring minimal cost.As the setup is complex, and we are not yet aligned, I feel this script will be useful, both to iterate over and use as-is. However, if you disagree, I am happy to not include it upstream as well.
Also, real documentation, showcasing all of the above examples will come only after we align about the approach.