Create application packages to deploy on AWS
- Last Updated: October 30, 2025
- 5 minute read
- OpenEdge
- Version 13.0
- Documentation
- db.tar.gz—This is the archive file used with the database,
which is deployed when instantiating the database machines
DatabaseSource (db0),DatabaseReplica1 (db1), andDatabaseReplica2 (db2). - pas.tar.gz—This is the archive file used with the PAS for OpenEdge application code. This archive is deployed whenever the PAS for OpenEdge machines, named pasoe in the EC2 page, are instantiated in its Auto Scaling Group (ASG). This is configured when you create the infrastructure for the first time and when new machines instances are launched in the ASG.
- web.tar.gz—This is the archive file used with the Web UI application code. This archive is deployed whenever the Web Server machines, named webserver in the EC2 page, are instantiated in its ASG. This is configured when you create the infrastructure for the first time and when new machines instances are launched in the ASG.
The packages are specified as URLs pointing to an S3 bucket. Using an S3 protects the
packages and provides accessibility to the OpenEdge on AWS CloudFormation templates. For
automating the process, use the aws s3 command to upload the packages
to an S3 bucket. For more information, refer to the AWS documentation.
You can also use the application deployment packages on on-premise machines running Linux. The OpenEdge deployed with AWS CloudFormation Templates uses Amazon Linux 2 machines
Structure of an application deployment package
- Folders and files contained in an app/ folder.
- app/deploy.sh script to deploy the package on the machine.
- app/deploy.sh
- app/progress.cfg (optional)
- app/db (optional)
- app/pas (optional)
- app/web (optional)
The actual implementation of the app/deploy.sh script and package must be provided by your System Administrator. You can use the OpenEdge Archive functionality to deploy the PAS for OpenEdge components.
The OpenEdge installation in the database and PAS for OpenEdge machines do not include a license file. The deploy.sh script must include the code to install the license file. It is recommend to include a copy of the license file in app/progress.cfg and copy it to the OpenEdge installation on the corresponding machines. An alternate implementation can then download or copy the progress.cfg file from another location.
The package can include a rc.local file with the code to support a restart of the database machines and/or PAS for OpenEdge. Alternatively, you can have a code to create a service, which is the same as the code used to setup the machines on an on-premise environment.
Deploy the application deployment packages
|
The deploy.sh script is user-defined and its implementation is provided by your System Administrator. The System Administrator can also extend the app/deploy.sh script to accept other environment variables that are used to perform custom operations when running the deployment on an on-premise or on a CI/CD pipeline environment.
You can use a single script that is included on each application deployment package or separate one.
| Environment Variables |
The environment variables used as input by the deploy.sh script. These variables are used to determine the type of machine and tailor dynamic configuration. Variables:
|
| Description |
The deploy.sh script uses the OE_ENV variable environment to determine the application code to deploy from the package. The environment variables are set by the CloudFormation template
based on the machine being initialized.
|
Sample app/deploy.sh script
|