crc-cloud icon indicating copy to clipboard operation
crc-cloud copied to clipboard

Add support different providers

Open praveenkumar opened this issue 2 years ago • 8 comments

As of now we are only supporting the AWS provider but we do need to add support for other cloud providers

  • [x] GCP
  • [x] OpenStack
  • [ ] IBM
  • [ ] Azure ...etc.

we are going to create different issue for each cloud provide for tracking purpose.

praveenkumar avatar Mar 03 '23 11:03 praveenkumar

Hi, adding OpenStack provider might be used a lot. Would be very nice to add it.

danpawlik avatar Jul 14 '23 09:07 danpawlik

Any progress?

danpawlik avatar Dec 15 '23 07:12 danpawlik

@danpawlik we recently added the GCP one, may be next developer week we should have openstack one also.

praveenkumar avatar Jan 15 '24 07:01 praveenkumar

Hey, and how it's going?

danpawlik avatar Jan 26 '24 07:01 danpawlik

Hey, and how it's going?

next week is the developer week so I will try then.

praveenkumar avatar Feb 21 '24 06:02 praveenkumar

@danpawlik FYI #183

praveenkumar avatar Mar 04 '24 05:03 praveenkumar

I am not familiar with plumi, but I tried this and it failed on my single node openstack cloud because my volume storage is very small. (I generally don't use volumes, so storage is allocated for other things ...) Would it be possible to make this use image/local ephemeral instead of volume? (Even better add an option, so that the user can choose ...)

I think if we skip creating the volume blockstorage.NewVolume and replace BlockDevices: compute.InstanceBlockDeviceArray{... with ImageId: pulumi.String(imageRef.Id) it would work?

[1] https://github.com/crc-org/crc-cloud/blob/main/pkg/provider/openstack/create-instance.go#L130 [2] https://www.pulumi.com/registry/packages/openstack/api-docs/compute/instance/#instanceblockdevice

hjensas avatar Mar 20 '24 18:03 hjensas

@hjensas Please open a separate issue, I am not sure how much time I can spend on this at this moment but if you can, please put a PR with changes. Most of the logic is in https://github.com/crc-org/crc-cloud/blob/main/pkg/provider/openstack/create-instance.go here.

praveenkumar avatar Mar 21 '24 04:03 praveenkumar