Is there a way to backup Liberty server deployment on Bluemix?

I am deploying the freedom packet server on Bluemix, which contains my application.

I want to update my application, but before doing this, I wonder what is the best way to backup what I currently have? If my update is bad, I would like to restore the previous version of my application.

In other words, what is the best practice or recommended way to update a web application running on a Liberty server in Bluemix. I just keep a zip backup that I clicked on Bluemix and restore it if something goes wrong? Or are there management options provided by Bluemix for backup and recovery?

+4
source share
3 answers

It is understood that manually backing up a zipped postcode is an acceptable strategy. In addition, I found the Bluemix blue-green deployment documentation a smart solution, as it is a deployment method that uses continuous delivery and allows customers to roll back their application in case of any problems.

Cloud foundry article Using a blue-green deployment to reduce downtime and risk briefly describes the deployment steps (since Bluemix is ​​based on Cloud Foundry, the steps are similar to the example: Using the map-route cf command steps in the previously cited Bluemix documentation).

+7

"/", . , BlueGreenDeployment:

, , , , . , . - , , . , , , , . , . , , - .

PaaS.

, , blue/green . "" :

, -, , myexample.com. IP- ( "" ) DNS "@" CNAME; ( "" ) . , , /etc/hosts, IP- . :

129.42.208.183 www.myexample.com myexample.com

DNS , . , , DNS (myexample.com ). , DNS TTL, 300 , A, IP CNAME , , DNS . DNS, /etc/hosts, DNS, traceroute. , , , - DNS (, whatsmydns.net).

, (, Apache, ); , . , , . - , , .. , , , , - . .

, Bluemix , , DNS .

, "" ( "" ), , ( "" ). , DNS , (cf push Green ), URL (Green.ng.mybluemix.net), , , (cf map-route Green ng.mybluemix.net -n Blue), "" "" . , (cf unmap-route Blue ng.mybluemix.net -n Blue).

, "" , , () , , DNS , , t, (b) , .

+5

, Git SVN. Bluemix IBM DevOps Services (IDS), Git Github repo . , , "ADD GIT". Git IDS.

SCM, . IDS Bluemix .

, , , / .., .

0
source

All Articles