You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -115,6 +119,8 @@ As a part of this deployment, you will create an AMI for the portal EC2 instance
115
119
- AWS ImageBuilder
116
120
- AWS EC2
117
121
- AWS IAM
122
+
- AWS service catalog
123
+
- Elastic container Registery
118
124
119
125
## Installing the required 3rd party software
120
126
@@ -142,6 +148,7 @@ You can create the AMI with pre-requisites yourself by following these steps:
142
148
export AWS_DEFAULT_REGION="Your_Region"
143
149
144
150
- Clone this repo on a machine.
151
+
- Target Account number must be added in Admin Account-ECR and give permission to access image builds
145
152
- Create a Role and attach a policy which permits ECR and EC2 actions and Replace the "iam-instance_profile" :"<your_rolename>" in builders section which is in the packer-rg.json.
146
153
- Run packer build packer-rg.json
147
154
@@ -152,7 +159,15 @@ You can create the AMI with pre-requisites yourself by following these steps:
152
159
### Installing Research Gateway
153
160
154
161
Clone this repo on a machine that has AWS CLI configured with Default output format as JSON.
155
-
Run deploy.sh with the following parameters
162
+
Run deploy.sh with the following parameters.
163
+
164
+
*Note* : Check aws configure before running script
@@ -177,6 +192,8 @@ runid.json is created in the rgdeploy folder when you first run deploy.sh with p
177
192
178
193
The deployment creates EC2 Image Builder pipelines for building the RStudio and Nextflow AMIs that are used within Research Gateway. By default, these pipelines are set up to be manually triggered. You can change that in the AWS console if you wish to trigger them on a schedule.
179
194
195
+
steps to run pipelines: AWS console - Ec2imagebuilder – select image pipelines (Rstudio, Nextflow)-click on Actions-Run pipeline
196
+
180
197
Once a build is completed, the AMIs are automatically distributed to the regions supported by Research Gateway in your account. The AMI Ids need to be updated into your database before creating any projects.
181
198
182
199
- Note down the names of the two pipelines created for RStudio and Nextflow_Advanced. They will be of the format:
@@ -186,6 +203,8 @@ The runid will be the random 4-character string generated for your instance duri
186
203
- In the rgdeploy folder, cd to products folder. You will find an img-builder-config.json file there. Edit it and set the pipeline names according to the ones deployed in your account. Save the file.
187
204
- Run the script make-amilist.sh. You may have to run chmod +x make-amilist.sh if execute permissions are not set on the file.
188
205
206
+
- Note: we need to wait untill ec2image builder pipeline distribution complete,without builds complete by running below command shows Error
207
+
189
208
./make-amilist.sh > new-ami-list.json
190
209
- Next run the following command to update your DB.
ConstraintDescription: Must be a valid EC2 instance type.
88
88
WorkerNodeInstanceType:
89
89
Description: Specify the instance types to be used to carry out the computation. You can specify one or more family or instance type. The option 'optimal' chooses the best fit of M4, C4, and R4 instance types available in the region.
@@ -932,4 +932,6 @@ Outputs:
932
932
EC2 Launch Template ID to use when creating AWS Batch compute environments
ConstraintDescription: must be a valid EC2 instance type.
29
29
KeyPair:
30
30
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance. If no key pairs exist, please create one from the button next to the dropdown. Please contact your Administrator if you are unable to create one.
ConstraintDescription: must be a valid EC2 instance type.
29
+
KeyPair:
30
+
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance. If no key pairs exist, please create one from the button next to the dropdown. Please contact your Administrator if you are unable to create one.
31
+
Type: AWS::EC2::KeyPair::KeyName
32
+
ConstraintDescription: must be the name of an existing EC2 KeyPair.
33
+
AllowedSSHLocation:
34
+
Description: The IP address range that can be used to SSH to the EC2 instances
0 commit comments