Deploying and Upgrading Your Production Application
Last updated 22/05/2024
In this documentation you will learn the complete process on how to get an instance of your application deployed into the production environment for it to become live for your targeted users, and how to upgrade your application for future enhancements.
When getting your application ready for production deployment you must deploy it to the development environment, then to the testing environment, and lastly to the production environment.
First Deployment to the Production Environment
When you are developing your application, you deploy your application to the development environment and then continually run the application through your development to see your changes. When you are ready for your development to be tested, you need to then deploy it to the testing environment. From the testing environment you have two options, if you deem your application has passed the testing phase, you would then deploy to the production environment to make your application live. If your application does not pass the testing phase, you can remove the testing deployment and return to your development environment.
Once you have made all your changes in the development environment, ensure you deploy or run your application before deploying to the testing environment, this will ensure all your development is applied to the testing deployment.
Do you need to take down the development environment before deploying to the testing environment?No, the development environment can stay deployed and you can continue developing the next version of your application without it interferring with the testing deployment.
If your application passes the testing phase, you would then deploy to production environment for your application to be live for your targeted users.
Do you need to take down the testing environment before deploying to the production environment?No, the testing and development environments can stay deployed and you can continue developing and further testing without it interferring with the production deployment. All three environments can be deployed at once.
Upgrading Your Application in the Production Environment
Ensure you deploy or run your application after making all the changes in the development environment for your next release. You need to remove your current version from the testing environment and then redeploy your application to the testing environment again for the changes in development to be applied to the testing environment.
Successfully passing the testing phase and you are ready to upgrade your current production version, you would need to remove the current production version from the production environment and redeploy your application to the production environment again for the changes in development to be applied to the production environment.
There is minimal downtime for your live application, however, it is best to upgrade your application when least in use.