Release Application

This topic describes how to release your application package and image to ZStack Cloud Application Market.
  • Private Release: Upload your application package and image to your local cloud. Only you can use this application.
  • Specified Shared Release: Upload your application package and image to your CDN. You and your partners can use this application.
  • Shared Release: Upload your application package and image to the official CDN of ZStack Cloud. All ZStack Cloud users can use this application.

Private Release

  1. Execute the python package_repo.py script to generate the directory images.
  2. Rename your application image to image.qcow2 and upload it to the directory images.
  3. Run the following command to generate a .bin package:
    python package_bin --${AppId} --${Version} --${Arch} --include_images
  4. Check the .bin package in the following path: target/application_bins/${AppID}/${Arch}/${Version}/${PackageName}.bin
  5. Upload the .bin package to the management node of ZStack Cloud and run the following command:
    [root@localhost~] bash ${PackageName}.bin
    Note: If you use dual-management node. Upload the .bin package to and run the bash command on the two management nodes respectively.
  6. On the main menu of ZStack Cloud, choose Operational Management > Application Market > Default Application. On the Default Application page, click Sync Application. Then, you can view the application you release.

Specified Shared Release

  1. Execute the python package_repo.py script to generate application.tar.gz and the new index.json
  2. Check application.tar.gz in the following path: target/application_bins/${app_id}/${arch}/${version}/xxx.bin
  3. Rename your application image as image.qcow2
  4. Upload application.tar.gz and image.qcow2 to your CDN according to the following directory structure:
    ├── index.json ├── ${AppId} │   └── ${Arch} │       └── ${Version} │           └── application.tar.gz │           └── image.qcow2    
  5. Log in to the management node of ZStack Cloud and run the following command to write your CDN into repositories:
    [root@localhost~]zstack-cli    # Enter CLI command line. - >>>LogInByAccount accountName=admin password=${AdminPassword}    # Log the admin account. admin >>>UpdateGlobalConfig name=repositories category=marketplace value="file:///opt/zstack-marketplace-repo;${CustomCDNAddress}"    # Write your CDN into repositories. admin >>>exit    # Exit the CLI command line.
  6. Run the following command to restart the management node:
    [root@localhost~] zstack-ctl restart_node
  7. Check whether the repositories in the marketplace-server/config/config.yaml is consistent with the sample shown below:
    repositories: - file:///opt/zstack-marketplace-repo - ${CustomCDNAddress}
  8. On the main menu of ZStack Cloud, choose Operational Management > Application Market > Default Application. On the Default Application page, click Sync Application. Then, you can view the application you release.

Shared Release

  1. Execute the python package_repo.py script to generate application.tar.gz and the new index.json
  2. Check application.tar.gz in the following path: target/application_bins/${app_id}/${arch}/${version}/xxx.bin
  3. Rename your application image as image.qcow2
  4. Send application.tar.gz and image.qcow2 to ZStack Cloud technical support. The technical support will upload the files to the official CND.
  5. On the main menu of ZStack Cloud, choose Operational Management > Application Market > Default Application. On the Default Application page, click Sync Application. Then, you can view the application you release.

Archives

Download Document Archives

Back to Top

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.
同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.