Step 5: Upload apps
The build script packaged your apps as zip files. You must upload these zip files
to specific buckets in Amazon Simple Storage Service in order to run your SimSpace Weaver simulation in the cloud.
The SimSpace Weaver app SDK provides a helper script to handle the upload.
- Docker
-
To upload your apps
-
If you aren't there already,
go to the tools folder for your project and platform. Your project-folder
is path
\project-name
using
the values that you provided when you created the project.
At a Windows command prompt, enter:
cd project-folder
\tools\windows
-
Use the helper script to upload your apps.
.\upload-app-project-name
.bat
If you use AWS IAM Identity Center (successor to AWS Single Sign-On) or named profiles for the AWS Command Line Interface (AWS CLI), you must use SimSpace Weaver app SDK version 1.12.1 or higher.
The latest version is 1.12.3. For information about SimSpace Weaver versions, see SimSpace Weaver versions.
The SimSpace Weaver app SDK scripts use the AWS CLI. If you use IAM Identity Center, you can either copy your IAM Identity Center profile for the AWS CLI to your default
profile or provide the name
of your IAM Identity Center profile to SimSpace Weaver app SDK scripts with the --profile cli-profile-name
parameter. For more information, see
Configuring the AWS CLI to use AWS IAM Identity Center (successor to AWS Single Sign-On) in the
AWS Command Line Interface User Guide and Named
profiles for the AWS CLI in the AWS Command Line Interface User Guide.
- WSL
-
To upload your apps
-
If you aren't there already,
go to the tools folder for your project and platform.Your project-folder
is path
/project-name
using
the values that you provided when you created the project.
At a Linux shell prompt, enter:
cd project-folder
/tools/linux
-
Use the helper script to upload your apps.
./upload-app-project-name
.sh
If you use AWS IAM Identity Center (successor to AWS Single Sign-On) or named profiles for the AWS Command Line Interface (AWS CLI), you must use SimSpace Weaver app SDK version 1.12.1 or higher.
The latest version is 1.12.3. For information about SimSpace Weaver versions, see SimSpace Weaver versions.
The SimSpace Weaver app SDK scripts use the AWS CLI. If you use IAM Identity Center, you can either copy your IAM Identity Center profile for the AWS CLI to your default
profile or provide the name
of your IAM Identity Center profile to SimSpace Weaver app SDK scripts with the --profile cli-profile-name
parameter. For more information, see
Configuring the AWS CLI to use AWS IAM Identity Center (successor to AWS Single Sign-On) in the
AWS Command Line Interface User Guide and Named
profiles for the AWS CLI in the AWS Command Line Interface User Guide.
Check your Amazon S3 resources
You can check your Amazon S3 buckets to make sure that all of the uploads succeeded.
For more information on using Amazon S3, see Creating, configuring, and
working with Amazon S3 buckets in the Amazon Simple Storage Service User Guide.
For the sample application, your schema (that you uploaded in a previous step)
and app resources use the following name formats:
For example, given the following project properties:
The schema and app resources would have the following names: