Documentation Tutorials Deploy the Configurations to Staging Environment for Validation

Deploy the Configurations to Staging Environment for Validation

Last update:2026-07-13 11:46:46

Atomile offers a pre-deployment feature that allows you to validate your CDN configurations in a dedicated test environment before deploying them to production. This helps ensure that your configurations work as expected without affecting your live CDN services. The test environment uses CDN edge servers that are completely isolated from the production environment. After you verify your configuration in the test environment, you can confidently deploy it to production.

Steps to Test Configurations with Pre-Deployment

  1. Initiate Pre-Deployment:
    After configuring your settings in the Atomile Console, continue through the configuration workflow and select the option for deployment to the test environment. Depending on the specific configuration process, this option may be labeled OK - Next - Pre-Deploy or something similar. This action deploys your configuration to Atomile’s isolated test environment.

  2. Modify Your Local HOSTS File for Testing:

    • Wait for Activation: Allow approximately 1 to 5 minutes for the configuration to take effect in the test environment. During this period, the IP addresses of the test edge servers will be provisioned.
    • Retrieve Test Server IPs: Once the test environment is active, the system will display the IP addresses of the test edge servers.
    • Update the HOSTS File: To direct your domain to these test servers for validation, modify your local HOSTS file. The file location depends on your operating system:
      • Windows: C:\Windows\System32\Drivers\etc\hosts
      • Linux/macOS: /etc/hosts
    • Copy and Paste the IP Addresses: Click Click to copy all to copy the provided IP addresses. Paste the content into your local HOSTS file and save the changes. This temporarily resolves your domain name to the IP addresses of the Atomile test environment.
  3. Validate the Configuration in the Test Environment:
    After the HOSTS file is updated, your domain will point to the Atomile test environment. You can then thoroughly test your configuration to ensure it meets your requirements and works as expected.

  4. Deploy to the Production Environment:
    If testing is successful and you are satisfied with the configuration in the test environment, you can deploy it to your live production environment. Click Deploy Now (or the equivalent option in the console) to apply the tested configuration to your production CDN service.

    After deployment and testing are complete, remember to revert the changes in your local HOSTS file so that your domain resolves normally to the production environment.