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
To make the Research Gateway application available securely over SSL, you need a certificate issued by a public Certificate Authority (CA).
36
+
If you already have a certificate for your domain issued by a third-party CA, you can import it into ACM. [See how](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html).
37
+
38
+
If you already have a certificate for your domain issued by AWS in ACM, you can pass CertificateArn with launch stack ( #7 - #9) and skip the following step.
The output of the command above will include the ARN of the loadbalancer. e.g. arn:aws:elasticloadbalancing:region:aws_account_id:loadbalancer/app/research-gw-alb/e5ba62739c16e642
The output of the command will include the ARN of the target group. e.g. arn:aws:elasticloadbalancing:region:aws_account_id:targetgroup/tg-research-gw/209a844cd01825a4
71
67
68
+
<!-- trunk-ignore(markdownlint/MD036) -->
69
+
*Create #7 - #9 above using the following quick-start*
72
70
73
-
*Create a certificate for your domain*
74
-
75
-
To make the Research Gateway application available securely over SSL, you need a certificate issued by a public Certificate Authority (CA).
76
-
If you already have a certificate for your domain issued by a third-party CA, you can import it into ACM. [See how](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html).
77
-
If you already have a certificate for your domain issued by AWS in ACM, you can skip the following step.
*Note* - Create #7 - #9 above using AWS CLI commands also .For that you refer to the rg_alb-tg-creation.md file from repo
94
78
95
-
<!-- trunk-ignore(markdownlint/MD036) -->
96
-
*Set up Route 53 for your domain/sub-domain*
79
+
*10.Set up Route 53 for your domain/sub-domain*
97
80
98
81
From the AWS Console, select Route 53 service. Create a hosted zone for your domain. If you are using an existing domain you can add a CNAME record and select the public DNS name of the ALB as the value. It is also possible to create a separate hosted zone for the sub-domain used for Research Gateway.
99
82
100
83
*Note* - It is possible to use Research Gateway without a domain-name but we do not recommend that for product workloads. To do so, use the public DNS name of the ALB as the URL of the Research Gateway in the setup scripts.
The application software for Research Gateway will be made available to you as a docker image shared from Relevance Lab's Elastic Container Registry instance to your AWS account.
111
94
As a part of this deployment, you will create an AMI for the portal EC2 instance which will have these softwares pre-deployed. Alternately, you can request the AMI to be shared with you by Relevance Lab and the software above will be available pre-deployed on the AMI shared with you.
112
95
113
-
#### 4. AWS Services required
96
+
#### 5. AWS Services required
114
97
115
98
- AWS Cognito
116
99
- Amazon S3
@@ -133,28 +116,9 @@ The following sofware needs to be installed on the Portal EC2 instance
133
116
| jq | latest |
134
117
| zip | latest |
135
118
136
-
For your convenience we have created packer scripts which allow you to create the AMI in your account.
137
-
If an AMI with the pre-requisites has been shared with you, you can skip this section.
119
+
For your convenience we have created packer scripts which allow you to create the AMI in your account For that you refer to the rg_AMI-creation.md file from repo
138
120
139
-
### Creating the AMI with pre-requisites
140
-
141
-
You can create the AMI with pre-requisites yourself by following these steps:
- Target Account number must be added in Admin Account-ECR and give permission to access image builds
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.
- At Run time pass VPCID, SubnetID, AWSRegion as variables declared in packer-rg.json
157
-
- Note that AMI id from the output
121
+
If an AMI with the pre-requisites has been shared with you, you can skip this section
158
122
159
123
### Installing Research Gateway
160
124
@@ -192,7 +156,7 @@ runid.json is created in the rgdeploy folder when you first run deploy.sh with p
192
156
193
157
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.
194
158
195
-
steps to run pipelines: AWS console - Ec2imagebuilder – select image pipelines (Rstudio, Nextflow)-click on Actions-Run pipeline
159
+
steps to run pipelines: AWS Console - EC2Imagebuilder – select image pipelines (Rstudio, Nextflow)-click on Actions-Run pipeline
196
160
197
161
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.
Description: 'Subnet you want your Head Node to launch in. You must select a public subnet.'
89
-
WorkerNodeSubnetId:
93
+
ComputeNodeSubnetId:
90
94
Type: AWS::EC2::Subnet::Id
91
95
Description: 'Subnet you want your Batch or slurm Worker Node to launch in. We recommend public subnets.'
92
96
ComputeEnvDesiredvCpus:
@@ -112,7 +116,28 @@ Parameters:
112
116
FileSystemId:
113
117
Type: String
114
118
Description: Enter the File System Id of the FSx for Lustre file system which you want to use. e.g. fs-12345678. Leave this field to default if you do not want to use FSx for Lustre
115
-
Default: default
119
+
Default: default
120
+
QueueCapacityType:
121
+
Description: The type of the compute resources used in the queue. Supported values are ONDEMAND or SPOT
122
+
Type: String
123
+
Default: SPOT
124
+
AllowedValues: [SPOT, ONDEMAND]
125
+
DisableSimultaneousMultithreading:
126
+
Description: Disables hyperthreading on the compute nodes.Works with slurm Scheduler
127
+
Type: String
128
+
Default: "true"
129
+
AllowedValues: ["true", "false"]
130
+
EnableEFA:
131
+
Description: Enables better network performances. Only available for certain instance types, If user select unsupported instance, EFA assigned to false.Works with slurm Scheduler
132
+
Type: String
133
+
Default: "false"
134
+
AllowedValues: ["true", "false"]
135
+
PlacementGroup:
136
+
Description: Enables a PlacementGroup. Use with EnableEFA.Works with slurm Scheduler
0 commit comments