Creating service packages
Before you can register an application instance, you must create the required package(s) that contain all of the third-party binaries, ASC scripts, the deployment.xml file, Docker image if applicable, and any extra files for the services.
About this task
Note: The package can only be up to 4 GB in
size.
If you are creating Dockerized services, you can use the package to
deploy the Docker image to your Docker hosts when you deploy the application instance, rather than
when you start it. You can either put the Docker image into a package, which depending on the Docker
operation you use, loads or imports the image from a .tar file; or you can use
a package install script to pull the image from a source, for example the Docker registry. For more
information, see Docker overview. Important: Verify that all dependencies are either preinstalled or
deployed with the service. For example, if your application is .NET, ensure that the .NET Framework
is installed and that it is the correct version for your application.
You can use any of the
following supported formats for the package: - .zip
- .tar
- .taz
- .tar.zip
- .tar.Z
- .tar.gz
- .tgz
- .jar
- .gz
- .exe
Note: If using a utility other than gzip, ensure that the compression and uncompression utility
is in your Path environment variable when you use
egodeploy.
Procedure
Results
You have created the package for an application instance.
What to do next
- When creating a new application instance (see Registering application instances).
- By modifying an existing application instance (see Modifying application instances).
If you want the service package to be available for use by multiple application instances, you can upload it directly to the repository (see Adding service packages to the repository for an application instance). Then, select it for use with the application instance