13.3.2.4. Deploying from a Snapshot


The following instructions describe how to deploy an application from a snapshot. Note that an application can be deployed from a binary artifact.

Procedure 13.2. To Deploy From a Snapshot:

  1. Save an application snapshot to build a deployable .tar.gz artifact:
    $ rhc save-snapshot App_Name --deployment
    Copy to Clipboard Toggle word wrap
  2. Configure the application for binary artifact deployments:
    $ rhc configure-app App_Name --deployment-type binary
    Copy to Clipboard Toggle word wrap
    Note that this command changes the application's deployment process and disables the git push command.
  3. Deploy the application using the binary artifact that was created:
    $ rhc deploy ./app.tar.gz -a App_Name
    Copy to Clipboard Toggle word wrap
    Alternatively, use the following command to deploy from a URL:
    $ rhc deploy http://foo.com/path/to/file.tar.gz -a App_Name
    Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat