Use sandboxes

Learn how Experience Platform sandboxes provide isolated environments to try out new or existing functionality and work with a “fail fast” approach. Learn how to reset and restart the development environments and use sandboxes with API calls. For more information, please visit the Sandboxes user guide.

Transcript
In this video, we’re going to talk about Sandboxes and Adobe Experience platform. A sandbox is a virtual partition of a platform instance using sandboxes, you can develop, test and experiment with platform features without affecting your production environment and run multiple platform enabled applications in parallel. When you create resources to ingest data and perform other data operations on the platform, all of that activity is contained within a sandbox. When you create additional sandboxes, you’re essentially creating different, separate versions of your platform instance. Each sandbox maintains its own resources, including schemas, data sets, profiles and more and actions taken at one sandbox do not affect any other sandboxes outside of the experience platform. Support for sandbox varies across the experience cloud ecosystem such as an Adobe Target or Adobe audience Manager. For details on how each product supports sandboxes, please refer to the product documentation. There are two kinds of sandboxes and platform production sandboxes and development sandboxes. A production sandbox is meant to be used for profiles in your production environment. When you purchase platform, you have one production sandbox, which is the default sandbox for your organization. If needed, you can create additional production sandboxes dedicated to distinct lines of business brands, projects or regions. However, only one of these production sandboxes can be set as the default. Unlike other sandboxes, the default production sandbox cannot be deleted or reset when using external systems to ingest data into platform. Some applications don’t have a way of deciding or specifying which platform sandbox to send data to, and therefore can only work with the default sandbox as a fallback. By contrast, development sandboxes are used exclusively for development and testing, with non-production profiles as new features and campaigns are built and approved. You can merge those changes into other sandboxes. For example, you can merge them with other development sandboxes for user acceptance, testing and staging. And once that’s complete, you can merge limit to the production sandbox. Using the sandbox tooling feature developers can easily select which sources schemas, datasets, identities, audiences and governance policies that they want to export and include them in a package. This package can then be imported to other sandboxes as needed. Okay, let’s jump into the interface and see how sandboxes are managed and platform starting with how to get access to them in the first place. In order to use a sandbox belonging to your organization, you must be granted access to that sandbox by the administrator. This is done through the permissions tab and platform, which is only available to system admins or product level admins for experience platform. Within this tab, administrators can create roles that grant access to specific feature permissions and platform along with one or multiple sandboxes. When the admin assigns a user to a role, that user gets access to those features across all sandbox is specified in that role. For more details on roles, please refer to the access control Guide on the platform documentation. Whenever you’re in the platform interface, you can see which sandbox you’re in via the top navigation up here, including its name and whether it’s a development or production sandbox. Clicking on it, we can easily switch the experience between any sandbox that we’ve been granted access to. The permissions, in our case, a production sandbox and a development sandbox. Notice that in production there are a number of schemas and datasets already defined and in use. Switching to the development sandbox, these are gone. Providing a clean slate for us to begin experimenting and testing. Let’s say that we’ve been running a ton of experiments in our development sandbox and over time it’s gotten bloated with test data and assets, whether it’s datasets, schema names, segments and so on. We have plenty of Hello worlds here that need to go. We could just methodically delete these unneeded assets one by one. But since we’re working in a development sandbox, we have the option to reset the entire sandbox and start from a clean slate instead. If we’ve been granted sandbox reset permissions through our assigned role, we can go to sandboxes in the left nav and select the sandbox that we want to reset for the list. After selecting Sandbox Reset, we’re warned that this will delete all user created resources in the sandbox and that this cannot be undone. To confirm our choice, we’ll need to manually type the name of the sandbox here. And once we hit reset our sandbox will be returned to its original pristine state. If we have sandbox administration permissions for platform, we can also use the Sandbox tab to edit the basic details for a sandbox. If a sandbox is not currently acting as our default production sandbox and we otherwise don’t need it, we can delete it from here. Finally, let’s take a quick look at how Sandbox is working Platform APIs To send a request to any platform API endpoint, you need to include the name of the sandbox you want the operation to take place in as a header. You can find this name by clicking into the sandbox in the interface and finding it listed in the right rail. Let’s make some calls to the data, set some point in the catalog API to show how this works. I’m using postman here, but you can use whatever method you’re comfortable with for making calls to rest APIs. When we include the name of our development sandbox in our request header, we can see that this returns a list of datasets that are stored in that sandbox, including this test dataset that we’ve made recently here. If we switch the sandbox name to prod and make the call again, we pull up our production data sets instead. No matter what actions you perform across the dozens of available platforms, API endpoints, every call is made in the context of a single individual sandbox, ensuring that all your sandboxes safely operate in isolation from each other. You should now have a better understanding of how to leverage sandboxes, to use, explore and experiment with platform features without the risk of adversely affecting your production environment. Thanks for watching.
recommendation-more-help
9051d869-e959-46c8-8c52-f0759cee3763