A ServiceNow instance is a separate deployment of the ServiceNow platform, with its own web address, users and roles, configuration and data. Many organizations run more than one, for example a development copy, a testing copy and a production copy, so that changes can be checked before people rely on them.
How an instance is addressed and reached
Each instance has a unique, secure web address. The base address starts with the instance name and sits on the ServiceNow domain, so a user reaches the instance by entering that address in a browser. The login page asks for a username and password. An organization that enables single sign-on can set redirect properties so that users see an SSO login page instead of the default one, and the default login page stays available to users with a local password.
An optional Remember Me checkbox keeps a user signed in until they log out or the cookie expires. Administrators decide whether that option is offered.
Custom URLs
An administrator can attach a custom URL to an instance, such as a hostname on the company’s own domain. Technically, the custom URL is an alias of the instance’s initial domain. It is set up with a CNAME record at the DNS provider that points to the ServiceNow instance address.
Setup has several conditions. The person configuring the URL must own the top-level domain or the subdomain. The organization must own the URL or buy it through a domain provider. The URL must be publicly reachable, and the instance’s dedicated VIP status has to be confirmed before setup.
An instance can carry up to 100 domains. Several custom URLs can point at the same service portal, and one custom URL can be tied to a specific portal, such as a customer service or HR portal. From the Tokyo release, users can be automatically redirected to a chosen identity provider based on the custom URL.
Custom URLs are not available for on-premise customers or developer instances. When one is removed, its custom URL record must be deleted inside ServiceNow first. Deleting the DNS entries early can block the removal of other custom URL records.
What an instance contains
An instance holds application data, the tables and fields that store it, the configuration that controls platform behavior, and the users and roles that decide who can see and change what.
Each instance runs one specific release of the platform, and the Admin Home page reports the current version and any scheduled upgrade. Check the versions on both sides before scheduling a clone.
Update sets are one packaging mechanism for carrying changes between instances.
The usual environment ladder
Teams commonly split their work into four stages, usually named by these short forms.
| Environment | Short name | What happens there |
|---|---|---|
| Development | DEV | Applications are built and first tested by their creators |
| Testing and quality assurance | TEST | Changes are checked for function and regressions |
| Staging and user acceptance testing | STAGE | Stakeholders check the change under conditions close to production |
| Production | PROD | Live users work on the instance, and the data is real |
Changes move from development through testing and staging to production, packaged with update sets or the Application Repository. In most teams, developers do not build in production. Changes are validated in the non-production stages first, and they commonly reach production only after testing and stakeholder approval.
In practice, the number of stages depends on team size and the risk of each change. A small team with a low-risk application may run fewer copies. Teams that drop a stage usually write down why rather than assume it.
Sub-production and production
Sub-production instances are the non-production copies. Tests run there, upgrades are tried there, and new applications are proven there. Over time a sub-production instance drifts from production, because changes land in one place and not the other. Cloning closes that gap.
A clone copies data and configuration from a source instance to a target instance, replacing the target’s contents. Afterwards the target closely resembles the source, which is why teams clone to validate upgrades, test new applications and try new capabilities against realistic data.
Production is protected by the system property glide.db.clone.allow_clone_target. Production instances default to FALSE, which stops a system clone from being pointed at them. Sub-production instances such as dev or QA default to TRUE. Once a production instance has served as a clone target, set the property back to FALSE, so a later clone cannot overwrite it by mistake.
What a clone takes and replaces
A clone uses the latest daily backup of the source, which can be up to 36 hours old.
On the target, existing data is replaced by the restored source data. Data on the target is kept when a preserver defined on the source instance copies it across. Work that exists solely on the target is lost unless a preserver keeps it, so check the preservers before a clone is requested.
Admin access and who needs what
What a person can do after signing in depends on the roles on their account. For the wider picture, see the plain-language guide to instance security and access control.
The Admin Home page is the administrator’s dashboard. It gives a single-page view of the delta changes on the instance and keeps administrators updated on problems and changes. It shows the current version, violations and any scheduled upgrade, and it notifies administrators of critical and high priority incidents. Those incidents are the ones that might need immediate attention. For a separate explainer on instance scans, see that page.
The shared admin dashboard’s cards cannot be added or removed. An administrator who wants a different set creates a new dashboard, modifies it and shares it with other administrators using the Share option.
Clone roles
Requesting a clone needs the clone_admin role. Setting up or resetting OAuth authentication for a clone target needs clone_admin on the source, and clone_admin plus oauth_admin on the target.
Developers and production
In most teams, developers do not hold admin access in production. Teams commonly run deployments under dedicated service accounts that hold only the roles needed to install applications, and they avoid carrying integration credentials, API keys and OAuth tokens from development into production.
Personal developer instances
A personal developer instance, or PDI, is an instance for members of the ServiceNow Developer Program. It comes with admin-level access to all platform features, and the user role can be changed to App Engine Studio Creator or Admin. Demo data is included and can be removed.
A PDI is for learning and testing. PDIs also carry restrictions a production instance does not have. They cannot be clone sources or targets for customer or partner instances, and they cannot be team-linked to them, because they belong to ServiceNow. They cannot publish to the Application Repository or the Store. Machine Learning, Instance Data Replication and MetricBase are not supported.
Idle PDIs hibernate. When a PDI hibernates, the database and application server shut down, and the data is kept. Signing in to the Developer Site wakes a hibernating instance and resets the ten-day inactivity countdown. After ten days of inactivity on the Developer Site, a PDI is reclaimed: it is unassigned, reset and can be reassigned, and work that is not saved may be lost when that happens. This duration may change with availability. Back up work regularly by committing it to source control or creating update sets.
To get one, a person needs a developer account.
Frequently asked questions
Does each environment need its own instance?
Many programs commonly run development, testing, staging and production as separate stages, each on its own instance. Changes move along that path with update sets or the Application Repository. How many stages an organization keeps is a judgment based on team size and change risk.
Can a developer instance host live company work?
Developer instances are meant for learning and testing. A PDI cannot be team-linked to a customer or partner instance, because it belongs to ServiceNow, and it cannot publish to the Store.
Can an organization use its own domain name for an instance?
Yes, through a custom URL. It is set up with a CNAME record pointing to the instance address. The organization must own or buy the domain, the domain must be publicly reachable, and an instance can carry up to 100 domains. Custom URLs are not available for developer instances.
What happens to data when one instance is cloned onto another?
The target’s contents are replaced with restored data from the source’s latest daily backup, which can be up to 36 hours old. Target data is kept only when a preserver defined on the source instance copies it across.