nais opensearch create
nais opensearch create NAME [flags]
This command creates an OpenSearch instance.
Options
-m,--memoryMEMORYof the OpenSearch instance. Defaults toGB_4.--storage-gb- Storage capacity in
GBfor the OpenSearch instance. Defaults vary for different combinations ofTIERandMEMORY. --tierTIERof the OpenSearch instance. Defaults toSINGLE_NODE.--version- Major
VERSIONof the OpenSearch instance. Defaults toV2.
Inherited options
--config- Specify the location for the configuration file.
-e,--environment- Filter by environment.
--no-colors- Disable colors in the output.
-t,--team- Specify the team to use for this command. Overrides the default team from configuration.
-v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.
Examples
# Create an OpenSearch instance named some-opensearch with default settings.
$ nais opensearch create some-opensearch
# Create an OpenSearch instance named some-opensearch with the specified |MEMORY|.
$ nais opensearch create some-opensearch --memory GB_4
# Create an OpenSearch instance named some-opensearch with the specified |TIER|.
$ nais opensearch create some-opensearch --tier SINGLE_NODE
# Create an OpenSearch instance named some-opensearch with the specified |VERSION|.
$ nais opensearch create some-opensearch --version V3_3
# Create an OpenSearch instance named some-opensearch with the specified |STORAGE-GB|.
$ nais opensearch create some-opensearch --storage-gb 100
# Create an OpenSearch instance named some-opensearch with all possible options specified.
$ nais opensearch create some-opensearch --memory GB_4 --tier SINGLE_NODE --version V2 --storage-gb 100