Hi João,

If I go with option 2 where I set tags on the compute offerings and hosts,
is there any way to make sure that these compute offerings can only be used
by specific accounts in a domain or once you create it all accounts in a
domain can use it?

On Thu, 12 Dec 2024 at 13:12, João Jandre Paraquetti <j...@scclouds.com.br>
wrote:

> Hello, Ahmed
>
>   There are two ways to achieve what you want:
>    1. Create a domain for the accounts you want the cluster dedicated
> to. Dedicate the cluster to that domain.
>    2. Create compute/disk offerings with tags that are going to be used
> exclusively for those accounts. I think that creating a domain specific
> for those accounts is a good idea anyway, so you can dedicate the
> offerings to that domain (when creating the offerings unset the "Public"
> toggle, and select a domain to dedicate the offering).
>
>   One important thing to note for this is that the hosts/storages must
> be tagged using flexible tags (tags as JS rule, in the UI), normal tags
> are not going to make your hosts/storage exclusive, as VMs/disks without
> tags can still be deployed to hosts/storages with normal tags.
>
>   If you are going the tag way, I highly suggest reading the
> documentation on tags[1]. However, I would go with the cluster
> dedication route.
>
>   Best regards,
>
>   João Jandre
>
>   [1]:
> https://docs.cloudstack.apache.org/en/4.20.0.0/adminguide/host_and_storage_tags.html
>
> On 12/12/24 08:53, Ahmed Awlaqi wrote:
> > I don't see any option to dedicate a compute offering. Can you share
> please
> > how can I dedicate the offerings?
> >
> > On Thu, 12 Dec 2024 at 12:43, Alex Mattioli <alex.matti...@shapeblue.com
> >
> > wrote:
> >
> >> You could use tags.
> >> Tag the hosts as "accountsAB", create 2  offerings with that same tag
> and
> >> dedicate those offerings to accounts A and B
> >>
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: Ahmed Awlaqi <aawlaq...@gmail.com>
> >> Sent: 12 December 2024 03:16
> >> To: users@cloudstack.apache.org
> >> Subject: Dedicated cluster to multiple accounts
> >>
> >> Hi all,
> >>
> >> I have a situation where we have cluster A and accounts A,B,C I want to
> >> make sure only accounts A,B are able to deploy to cluster A I know you
> can
> >> dedicate a cluster to a specific account but in this situation I want
> to be
> >> dedicated to multiple accounts is that possible in any way?
> >>
> >> Thanks
> >>
>

Reply via email to