Imagine a bacon-wrapped Ferrari. Still not better than our free technical reports.
See all our reports

LiveRebel Featurecast: Adding Applications and Their Versions

In the last featurecast we showed you how to add servers – application, web, database and file – to your LiveRebel installation. You also saw how you can drag and drop servers into groups to create environments.

Now that we have servers configured, let’s see how we can add applications to LiveRebel and deploy them to these servers.

Adding Applications

LiveRebel can deploy, rollback and manage applications from multiple platforms. Release artifacts can take the form of:

  • Java applications as WAR, EAR or JAR files
  • PHP, .NET, Ruby, Python and PERL applications as archives, namely, ZIP, TAR.GZ, TAR.BZ2 and so on

You can add release artifacts using:

  • the LiveRebel Command Center web console by simply uploading it
  • an Auto-Import Directory that LiveRebel will scan for new applications and versions
  • the Command Line Interface with a single command that can be used within your scripts
  • readily available plugins for continuous integration servers like Jenkins, Hudson and Bamboo

All these options are conveniently explained when you navigate to the “Applications” tab in the LiveRebel Command Center, and click on the “Add Application” button.

Tracking Application Names and Versions

Each time you upload an release artifact to LiveRebel, you will need to provide a “liverebel.xml” file. This file will track the application’s name and its version so that LiveRebel can easily associate applications and their versions together, within the LiveRebel Command Center.

If the release artifact does not contain this XML file, it can be automatically generated when:

Now LiveRebel will group your applications and their versions so that you can easily update, rollback or undeploy them. More on that in the next section.

Deploying Your Application

Once you have uploaded your application onto LiveRebel, head to the “Applications” tab. Then

  • look for your application in the list and click the “Add Deployment” button on its right
  • select the version you’d like to deploy, and the servers you’d like to deploy onto
  • hit “Deploy Now” and you’re done!

Next …

When you update or rollback an application, you can also choose how you’d like the operation to be performed – via rolling restarts or full restarts. We’ll discuss this in greater detail in a following feature cast.

In the meanwhile, if you have any questions or comments just tweet at @LiveRebel or post on our forums!

Try LiveRebel: Your first 2 servers are free :-)