This page explains what “instances” are, what they are made of and how they are used.
- What Are “instances”
- Instance Types
- Instance Components
- What Can I Do With An Instance
- Common Questions
What Are Instances
Instance is the term Mdoq uses to describe replica’s of your site, these replicas have different lifecycles and functionality (as described below).
Each instance can be thought of as a complete copy of your production site, apart from any “Live” instances (see here for more info), these are a special kind of instance that connect to a live site.
The purpose of an instance can be wide reaching, such as installing a module. But so long as you don’t want to keep any work carried out on them, they can be deleted at any time.
There are 3 main types of instances that can be created.
This instance type is used to connect to your production site, and provide configuration for any instances created under this instance.
Live instances will be highlighted with orange in the instance list.
This instance type is used when a lot of changes are need to be staged for a release at the same time. For example where performing an upgrade many developers may need to work on differing tasks that will need to be completed before the upgrade can go live.
By creating development instances, and then merging them into a staging instance, they can be tested in unison.
Staging instances will be highlighted with light orange in the instance list.
All other instance sub-types e.g (Training, Sandbox, Explore) are all development instances. Each may have subtle modifications, such as the installation of demo productions for Explore instances.
However their lifecycles are all the same, and they provide the same functionality.
Development instances will not have any highlighting in the instance list.
Because of their differing roles, each instance type has different actions and automations that can be performed against it. Where this is the case, the “Availability Table” will be displayed to show which instance types the functionality described can be performed on.
Instances are made up of many components, each component takes responsibility of it’s own set of tasks needed to provide the full Mdoq functionality.
Each component has its own configuration, the configuration of all instances inherited from the live instance it is created from. Though this configuration can be modified as needed.
To read more about instance components see here.
What Can I Do With An Instance
The are many things you can do with an instance, once you have selected if from the left hand side of the Mdoq UI (it will be highlighted blue in the list), instance specific information and actions will be
shown across the rest of the page.
Towards the top of the instance information will be the actions available for the selected instance. The actions available are:
This is where the instance can be configured as needed, each component of an instance has it’s own sub section of settings to read more about these see here
This dialog shows the urls available to for the selected instance, if a live instance is selected, it will show the urls for the live instance.
This dialog shows the components that can be recreated for the instance, these components have a wide array of functionality, see here for more information.
- Tool Belt
This dialog show the actions that can be carried out on an instance, see here for more information.
This dialog enables automation of common git actions need when developing on an instance see here for more information.
This dialog show the status of (if enabled) the Mdoq monitoring for the instance, see here for more information.
This dialog give access to useful set of tools, commonly required by a developer, see here for more information.
Clicking this will allow you to delete the instance. When opening the dialog a couple of checks will start to run:
- Check if this branch is ahead of master. (if this is the case, you may wish to keep your git branch, see below)
- Check if there are any uncommitted changes.
You don’t have to wait for these checks to complete, if you are sure you know what you are doing.
In addition to the checks, you will also get the option to “Skip Git branch deletion”. This allows you to delete the instance but keep the work done, useful if you are at your instance limit. If you want to get your instance back you can simply create a new instance with the same ticket number, and the original git branch will be used. It is worth noting that any unscripted database changes will be lost if you do this.
Deleting an instance cannot be undone.
Underneath the actions are the logs for the instance, this is a history of all Mdoq activity carried out on the instance.
Why are the links for my live site wrong?:
This can happen when the links your live site is available on have changed, this could be down to the addition of a store, or changing the
base_urlin the magento configuration page. Mdoq will automatic update these links on a regular basis, however you can update them immediately by sync’ing the “Environmental Changes” component.
I have an integration I need to disable on development instances:
This can be done by configuring post sql actions see here