mdc init[ialize] [options]
initialize command will initialize the current working directory as an DSim Cloud workspace origin on the local machine. An
.mdc folder will be created within the current working directory which will contain metadata, identifying this directory as the local workspace origin.
The initialize command will also provision a remote compute in the cloud for use by this workspace. The configuration of the remote compute (memory, CPUs) is fixed and details can be found in DSim Cloud CLI remote cloud compute configuration. The process of initializing a remote compute in the cloud can take up to 4 minutes to complete. During initialization you will see informative messages printed to the local terminal indicating the steps being undertaken during initialization.
initialize in a directory without write permission will fail with an error printed to the screen.
If a previous
.mdc directory exists in your origin directory (because of a previous destroy command) it is used to determine defaults for the newly created workspace.
When initializing a new workspace, all files within the local origin directory (other than those specified in the
sync_ignore file) will be automatically synchronized to the remote workspace. For more information on the file synchronization process see the DSim Cloud File Synchronization article.
For more information on workspaces, see the Understanding Workspaces article.
--size s4 | -s s4 Initialize an s4 remote cloud compute with 4GB RAM.
--size s8 | -s s8 Initialize an s8 remote cloud compute with 8GB RAM.
If no options are given, initialize an s4 remote cloud compute.
Your cost varies depending on the remote cloud compute machine chosen. See DSim Cloud Pricing for current pricing. All prices and dollar values are in USD.
mdc init -s s8