Hello, Ahmed
You can, during the offering creation, specify for which domain the
offering will be available. For *User* accounts, they'll only be able to
use offerings that are available for the domain they are in, or
offerings that are available for their parent domains. *Domain Admin*
accounts are able to use the same offerings as user accounts, plus the
offerings from their subdomains. Beware that *Root Admin* accounts are
still able to see/use offerings from any domains;
For your use case, you can create a new domain where your accounts A,B,
etc. will be, and create offerings that are specific to those domains.
You can check my last email to see how to create a offering dedicated to
a domain.
Best regards,
João Jandre.
On 12/12/24 09:19, Ahmed Awlaqi wrote:
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