The Production Environment

Introduction

The production environment will now be available for your Catalyst application, and in your project in the console. A banner alerting you that you are using the Production environment will constantly be displayed on top.

catalyst_environments_production_banner

You can switch between the development and production environments in the console by clicking the environment in the dropdown box on top. Clicking Manage Environments will redirect you to the Environment settings.

catalyst_environments_drop_down_dashboard

As mentioned earlier, the actions that you can perform in the production environment are restricted to avoid accidental modifications or deletions of data and features that could affect your live application.

In general, you will not be able to create a new resource or add new data in the production environment. For example, you cannot create a function or configure an Event Listener. However, certain actions can be performed.

The following features and actions are available in the production environment for each component:

  • User Management: Inviting a new user

  • Cache: Renaming, deleting, and creating a new Cache Item in the Default segment

  • Push Notifications: Configuring iOS push notifications, testing Web and iOS push notifications from the console

  • Zia: Testing Object Character Recognition and Object Recognition in the console

  • ZCQL: Executing ZCQL test queries in the console

  • Domain Mapping: Adding a new domain

  • Device Management: Uploading an Android, iOS, or Flutter app

  • Collaborators: Creating a collaborator, editing collaborator details

  • Billing: Creating a budget, modifying payment details

The features and actions that are not available in the production environment will be disabled in the Catalyst console.

catalyst_environments_production_creation_disabled

However, you can still view the features and data that were made available in Production during the last migration.

catalyst_environments_production_creation_disabled_2

You can also view statistics and reports from Logs, Metrics, Audit, and other components, and access code templates for Search integration, Zia, and Sign-In Method.

Note: Only the features and data that were migrated to production in the last deployment will be displayed. Any changes made in the development environment after the last deployment will not be available in production until they are deployed again.

Function URL and Web App URL in the Production Environment

After you deploy your application to the production environment, the web app URL for the production environment will be created in the format:https://project_domain_name.catalystserverless.com.

The invocation URL of Basic I/O functions will be of the format:https://project_domain_name.catalystserverless.com/baas/v1/project/project_ID/function/function_name/execute

Similarly, the invocation URL of Advanced I/O functions will be of the format:https://project_domain_name.catalystserverless.com/server/function_name/

You can view the web app URL in the Environments settings page or from Web Client Hosting, and the function URLs from the respective function’s page.

Note: The value of ZAID is different in the development and production environments for a project. The value of API Key is common for the development environment of all your projects, but different for the production environments of each project.

Disabling and Re-enabling the Production Environment

You can disable the production environment any time, and instead only use the development environment of your Catalyst application. You can disable it if you no longer need to provide access to your live application.

Note: Disabling the production environment will remove the live application. The production URL endpoints generated for accessing the web client or any of the functions will not work. Therefore, ensure that your application users will not be accessing the live application any longer, before disabling the production.

To disable the production environment for your Catalyst application:

  1. Navigate to Settings and then Environments.

  2. Click Disable in the Production Environment box.
    catalyst_environments_general_production_url

  3. Type “DISABLE” in the confirmation pop-up window and click Confirm.
    catalyst_environments_production_disable_confirmation

The production environment will be disabled, and a confirmation will be displayed.

catalyst_environments_production_disabled

You can open the development environment to continue working on your project.

You can click Enable Again in this confirmation or from the Environments settings to enable production again. The last instance of the production environment will be available when you enable it again.

Last Updated 2024-04-04 18:50:44 +0530 +0530