-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Alibaba Cloud #276
Comments
Just going to dump some info from perusing the documentation.
Looks like qcow2 is supported and recommended, so this should be more or less the same thing as
Looks like a vanilla user-data endpoint. From the docs:
Seems to follow the AWS model of uploading the image into their storage service, then calling to the compute service to import from there (docs).
SSH keys are supported. The docs don't say at what endpoint they're available, but cloud-init has: class DataSourceAliYun(EC2.DataSourceEc2):
...
metadata_urls = ['http://100.100.100.200']
...
def get_hostname(self, fqdn=False, resolve_ip=False, metadata_only=False):
return self.metadata.get('hostname', 'localhost.localdomain')
def get_public_ssh_keys(self):
return parse_public_keys(self.metadata.get('public-keys', {})) |
Do we need to discuss this in a community meeting re. whether we want to support it in FCOS? RHCOS definitely will; it would be good for FCOS to lead. |
I don't think so. Maybe we can FYI everyone on it but IMO the more platforms the better. |
That's my thought as well. Unless there is a reason to not support it I think supporting it in FCOS would be great! |
For Afterburn purposes, the metadata endpoint and content is documented at https://www.alibabacloud.com/help/doc-detail/49122.htm. |
For reference, terraform supports this cloud platform under the provider name |
@lucab: We normally avoid having noise like "cloud" in our platform names, and we don't actually need to align with Terraform. |
@bgilbert Would |
Maybe. I guess the thing that seems odd is abbreviating Alibaba but also adding in It's not as simple as just naming the platform after the vendor, since we're not fully consistent here; we have |
@bgilbert Got it. I did some searching to see if I could find a proper short name for Alibaba's Cloud but nothing came up. Most seem to call it "Alibaba Cloud". |
FWIW, cloud-init uses |
FWIW their go sdk is |
From Wikipedia and from poking around a bit on their website, I think the situation is: Ālǐyún is the pinyin for the Chinese name, Ali Cloud is the literal translation, and Alibaba Cloud is the English branding. The official CLI is named |
|
|
Is there a current location we keep track of the |
@ashcrow I have this currently in flight coreos/fedora-coreos-docs#11. |
Perfect!! |
See: coreos/fedora-coreos-tracker#276 Signed-off-by: Steve Milner <smilner@redhat.com>
Doc PR: coreos/fedora-coreos-docs#12 |
See: coreos/fedora-coreos-tracker#276 Signed-off-by: Steve Milner <smilner@redhat.com>
Misc self-notes from my exploration of the API so far:
|
OK, we got all the prereqs in place. If we want to get FCOS there, we need to work out the legal stuff to get a Fedora account there. |
We could also just publish the artifacts for now so at least folks can upload to their own accounts. |
We don't upload anything yet: coreos/fedora-coreos-tracker#276 (comment) But at least the artifacts are available.
That would be a good starting point for FCOS artifacts. |
We don't upload anything yet: coreos/fedora-coreos-tracker#276 (comment) But at least the artifacts are available.
Just to recap, is the final goal of this ticket to "upload artifacts to FCOS bucket" or to "upload artifacts to Alibaba cloud"? (Is that decided yet?) In both cases, should we add one last task in here to write a "Booting on Alibaba Cloud" doc? |
This card is for the tools in place for the OS teams to utilize. In terms of uploading to |
In order to properly support this, we should:
/cc @imcleod
The text was updated successfully, but these errors were encountered: