Managing your S3 bucket can be done from the product via the script prompt or use the script commands as part of a script (.lsf) file.
- Install and configure AWS CLI to use these scripts.
- The following script commands can be executed from any computer that has access to AWS S3.
- Ideally, this is done on an EC2 instance (compute node) to run simulation jobs in AWS.
S3 script commands
Change directory from within S3.
Copy files between the local machine and S3 and/or within S3.
cp('c:\folder_name\filename.fsp, s3://bucketname/folder_name/filename.fsp ');
List the specified S3 directory.
Remove or delete the specified file from S3.
Load simulation file from S3 as current project.
Save current project or simulation into S3.
Run the currently loaded project.
Run all parameter sweeps or all optimization tasks from the current project.
Loads previously generated sweep results to all the sweep objects in the current project.
The S3 notification icon, located at the lower right corner in the design window (CAD), provides the connection state to your S3 bucket.
If you are not using S3 you can ignore this notification icon. Otherwise, to be able to access your S3 bucket please refer to the troubleshooting steps below.
There are 3 notification status for your S3 bucket. Showing either 1 of the following:
- GREEN: Everything is working. AWS CLI is installed, configured and the S3 bucket for the current user account is connected.
- RED Exclamation !: AWS CLI is installed but no AWS user is configured.
- Make sure that your AWS CLI is configured for your user account.
- See: AWS CLI configuration for details.
- RED Diagonal Line /: AWS CLI is not installed or the installation cannot be found.
- Install AWS CLI
- Add the AWS CLI directory to your system PATH.