Production environment setting in serverless cloud

I have questions regarding the Production environment setting.

  • What exactly does this setting do, is it only adjusting robots-setting or is anything else adjusted?
  • Is it ok to also run dev/test environments with this setting so that they behave exactly like production?
  • How do i check what the current production-setting value is for an environment?

Litium version: 8

1 Like

You can see it by running litium-cloud environment show --env your-environment
It will be presented like:
Name: …
Subscription: …
Envrionment: …
Production: No/Yes

1 Like
  1. It adjust
    • app plan with resource allocations.
    • if the x-robots-header should be sent out.
    • if metrics should be calculated for the subscription invoice.
  2. I can’t recommend to always have it as production because that all the products, orders and other information is collected and added into the subscription invoice for the customer.
  3. litium-cloud environment show --env <env-namn> will include information if the environment is in production mode.

Thank you both for fast answers!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.