In order to use a blueprint in the catalog, you need to create a sandbox for that blueprint. A sandbox is a live instance of the selected blueprint and once created, it is isolated from the blueprint. It is possible to either reserve an existing blueprint from the catalog or, if the feature is enabled, to start a new blank sandbox and pull resources in dynamically.
You can also use the sandbox to carry out operations on the active blueprint such as resource provisioning, access control, connectivity etc. Some provisioning may occur automatically as a part of the blueprint's setup process. However, any changes you make to the sandbox are not applied to the blueprint it is based on.
Note: Blueprints of type ‘view’ cannot be reserved.
In this article:
To create an immediate or future sandbox:
In the Blueprint Catalog, on the required blueprint tile, click Reserve. Alternatively, in the blueprint workspace, click the Reserve button.
Note: The timezone for the sandbox is indicated in the title of the Reserve dialog box.
- In the Schedule field, you can set the required sandbox duration or specify the explicit start and/or end time. Use the Calendar button to set future dates.
To have this sandbox repeat in a series, click Add Recurrence. If this option is missing, the admin needs to enable it using the
The Recurrence page is displayed.
- To have the sandbox repeat on specific days, click the Pattern field and either select the days or select Daily to have the sandbox repeat on all days of the week.
- In the Range field, define the period in which the sandbox will repeat.
Optionally change the Name of the sandbox. By default, the new sandbox name is the blueprint name.
Note: The sandbox’s name has a limit of 60 characters.
- In the Blueprint field, you can see the blueprint on which the sandbox is based. Once reserved, it is not possible to change the blueprint for the active sandbox.
To specify additional options, click the Advanced Form button.
The advanced form enables you to configure the email notifications, permissions and other options.
- Optionally enter a Description. Otherwise, the description of the sandbox will default to the blueprint description.
To define an owner for the sandbox, click the Owner and select the required user. By default, the user who initiated the scheduling action is set as the sandbox owner.
Instead of changing the owner of the sandbox, you can permit additional users to use the sandbox. Click the Permitted Users section and select the users you wish to add.
You can configure CloudShell to send email notifications to the owner of the sandbox and permitted users.
Note: This capability requires the administrator to activate the email notifications feature using the
Click the Email Notifications field.
The Email Notifications area expands.
Configure the email notification settings.
- On start - Sends notification as the sandbox starts.
- Before end - Sends notification before the Teardown process begins. The exact time is decided by the user.
- On end - Sent when the sandbox ends.
- If the blueprint has inputs, you will be asked to provide them.
The sandbox is being reserved.If you are reserving a blueprint that has the Default Sandbox Setup script, the script runs, and an indication next to the sandbox state informs you of its progress. More...
Note that during the Setup process, the sandbox is locked in CloudShell Portal and cannot be modified - see Unlocking sandboxes for use during the Setup process.
The default setup process has 4 stages:
Preparation - Prepare network connections for the sandbox's Apps and any additional custom preparations.
Note: This stage is not used by default, but can be used for custom code executions that need to run before the setup process.
- Provisioning - This is the main stage of the setup process. In this stage, CloudShell locks unshared resources for the duration of the sandbox, deploys the sandbox's Apps and prepares App connectivity in the respective cloud providers.
- Connectivity - CloudShell creates the network connections for the sandbox's Apps, and powers on the App VMs.
- Configuration - If any of the sandbox's Apps have configuration management operations that need to be run, CloudShell runs them in this stage.
If any resource is unavailable for the scheduled time slot, the Conflicts dialog box is displayed, proposing an alternative time slot, as described in Dealing with conflicts.
The new sandbox is displayed in Diagram view with a blue Sandbox label at the top of the canvas and a green Active icon in the toolbar:
If you have a license for the Save and Restore paid add-on, you will see a Save Sandbox button. For more information, see the Sandbox Save and Restore Overview.
Note: If a maximum duration was set for the sandbox, the user will not be able to reserve for a duration beyond this setting.
You can reserve blueprints that require users to key-in parameter values for services.
To reserve a blueprint that has a published attribute:
- In CloudShell Portal, select Lab Management > Blueprints.
- Reserve the blueprint.
- In the Reserve dialog box, you can modify the reservation parameters and specify the required values for the published attributes.
- Click Reserve.
The sandbox is displayed in the Sandboxes dashboard.
It is possible to reserve a resource directly from the Inventory dashboard. This will create a sandbox containing only this resource (as well as its sub-resources if the resource is unshared by default). By default, this option is available for CloudShell admins only but can be exposed to regular users using the
AllowRegularUsersToReserveFromInventory configuration key.
For details, see Reserving Resources from the Inventory.
If some of the resources, abstract resources, or connections in the sandbox are currently unavailable (because they are unshared in another sandbox, for example), the Conflicts dialog box is displayed, suggesting alternative time slots you can use.
For conflicts that are not time related, like when a resource in the blueprint is not in the current domain or matches for abstract resource requirements don't exist, an available time slot cannot be suggested and the Conflicts dialog box lists the conflicted resources without any possible actions for the user. In this case, ask your system administrator to add the required resources to the domain or make them available in CloudShell.
To find an available time slot:
- Click Load more slots to query for additional scheduling options.
- Select a suitable time slot.
- Click the Reserve button to create the sandbox.
Reserving with conflicts
If the option to create sandboxes with conflicts is enabled, you will also see a Reserve with conflicts link. Click this link to create a sandbox using the specified times regardless of the conflicts. The resources in conflict will not be available to use in the sandbox and the sandbox will appear with an alert indication in the Sandboxes dashboard:
While conflicting resources cannot be used within the sandbox, they are still included in it and if the resources once again become available (if the conflicting sandboxes complete, for example), you can try to reserve them again. In the sandbox diagram or Sandboxes dashboard, open the More Info menu and click the Resolve button next to the conflicts indication to try to reserve them again.
Reserving when available
If the option to create sandboxes when available is enabled, you will also see a Reserve when available link. Click this link to add the sandbox to a queue. The sandbox will automatically be scheduled when all resources will be available.
Resolving reservation conflicts per resource
Click the Browse conflicts link to review a list of conflicted resources. Details on the conflicting sandbox are displayed under the Status column (subject to user permissions).
To see all the resources in the sandbox, change the Show filter to All.