Creating an IoT Domain Group
Create an IoT domain group in the Internet of Things Platform. Creating a domain group is the first step in setting up your IoT.
You create a domain group to create a database and a data host URL with a domain group short ID. Use the data host URL to access your metadata and data associated with a specific IoT domain group that contains all the devices for the associated IoT domain.
data-host:<domain-group-short-id>.data.iot.<region>.oci.oraclecloud.com
You can create up to 2 IoT domains in each IoT domain group. The maximum number of IoT domain groups is 5 and maximum number IoT domains is 10 for each region in your tenancy. To create an IoT domain your user must read access for the associated IoT domain group.
Use the oci iot domain-group create command and the required parameter to create an IoT domain group in a specific compartment:
oci iot domain-group create --compartment-id <compartment-OCID>For a production domain group, use the
--typeparameter with thePRODUCTIONvalue to create a domain group that scales with high availability and automatic failover.If you do not specify a
--typethe default domain group type isDEVELOPER, a developer domain group costs less and uses fewer resources for development and testing.Note
If you previously created a domain group with aSTANDARDorLIGHTWEIGHTdomain group type then you must create the another domain group with aDEVELOPERorPRODUCTIONtype. Any domain group that was previously created with aSTANDARDorLIGHTWEIGHTdomain group type the domain group will continue to work until April 14, 2027.You cannot change the domain group type, instead create a new domain group and specify either Production or Developer.
For a complete list of parameters and values for CLI commands, see CLI Command Reference.
Run the CreateIotDomainGroup operation to create an IoT domain group in a compartment.