Step 1: Login to your cmpute Console Application (your-domain.cmpute.io) using registered Email Id and Password
Step 2: You will be redirected to cmpute Dashboard. Next, click on the App Store located in the header.
Step 3: You will be redirected to the App store which has the apps supported on cmpute. To run OpsWork app, click the Run A Job button.
Step 4: To run OpsWorks, fill all the required text fields. Following details are mandatory to create an OpsWorks job:
Account: Select an AWS Account to run the job
Cloud Region: The Cloud region will be selected automatically
Job Name: Provide a Job Name
Stack Name: Stack List will be populated based on the selected Cloud Region. Select a stack from the list
Layer Name: List of layers will be populated based on the selected Stack. Select a layer from the list
VPC Information: The field is non-editable and is updated by cmpute based on the selected stack
Subnet Information: Subnet list is populated based on the selected AWS Account, Cloud Region and VPC ID (Virtual Private Cloud).Select one or more Subnet from the list.
Operating System: This list will be displayed only when there are no instances attached to the layer in AWS.
Instance Type: The Instance types are listed based on the AMI . Select an instance type from the list.
Restrict to Selected Instance Type: It always launches the selected instance type.
Min On-demand Instance Count: Specify the minimum number of on-demand instances that should run as part of the OpsWorks job.
Min Instance Count: Specify the minimum number of instances that should run as part of the OpsWorks job.
Desired Count: Specify the desired number of instances. OpsWorks will ensure that this many instances are available for job execution.
Max Instance Count: Specify the maximum number of instances that should run as part of the OpsWorks job.
Instance Profile: Select the required Instance Profile.
Replace Unhealthy Instance: By default this is not selected. User can select this to specify that if an instance becomes unhealthy then it must be replaced with another healthy instance.
In addition to the above details the following Advance Settings can be provided which includes:
Volume Type: Specify a storage type
Volume Size: Specify the required storage size
Tag Name- Specify a Tag Name to identify am Instance uniquely
Tag Value- Specify a Tag Name to identify am Instance uniquely
Scaling Metrics: The scaling metrics helps to set a rule.
Step 5: Click on the Save button to create the Job. This action will save the job details. The newly created job can be viewed in the Jobs page.
Step 6: On successful job creation, a ‘Review’ popup is displayed from where the Job can be started immediately (by clicking Run Now).