Skip to content

Commit e96390e

Browse files
authored
Merge pull request #78 from ravigurram8/topic-release-3
products default instance type changes to t3 family ,Readme file updated
2 parents b26489e + 298ad47 commit e96390e

10 files changed

Lines changed: 37 additions & 33 deletions

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ Deploying an Application Load Balancer as part of Research Gateway deployment he
5555
1. Isolates your portal from being directly exposed over the internet. The ALB allows only https(s) traffic through.
5656
2. Helps to serve the application on a secure port using SSL certificates stored in AWS ACM.
5757

58-
create an ALB security Group with the following inbound and outbound rules
59-
Inbound Rules - HTTP 80 ,HTTPS-443,SSH-20 .
60-
outbound Rules - All Traffic.
58+
create an ALB security Group with the following inbound and outbound rules.
59+
- Inbound rules - HTTP 80 ,HTTPS 443,SSH 22 .
60+
- outbound Rules - All Traffic.
6161

6262
Use the AWS CLI to create an Application Load Balancer choosing all three public subnets created by the quickstart above.
6363

@@ -161,12 +161,12 @@ You can create the AMI with pre-requisites yourself by following these steps:
161161
Clone this repo on a machine that has AWS CLI configured with Default output format as JSON.
162162
Run deploy.sh with the following parameters.
163163

164-
- Check aws configure before running script
165-
aws configure
166-
AWS Access Key ID: <access Key ID>
167-
AWS Secret Access Key :<secret Key>
168-
Default region name: <region-name>
169-
Default output format : json
164+
*Note* : Check aws configure before running script
165+
- $aws configure
166+
- AWS Access Key ID:"your_Access_Key"
167+
- AWS Secret Access Key :"your_Secret_Key"
168+
- Default region name:"Your_Region"
169+
- Default output format : json
170170

171171

172172
| Parameter# | Purpose |
@@ -192,6 +192,8 @@ runid.json is created in the rgdeploy folder when you first run deploy.sh with p
192192

193193
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.
194194

195+
steps to run pipelines: AWS console - Ec2imagebuilder – select image pipelines (Rstudio, Nextflow)-click on Actions-Run pipeline
196+
195197
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.
196198

197199
- Note down the names of the two pipelines created for RStudio and Nextflow_Advanced. They will be of the format:
@@ -201,6 +203,8 @@ The runid will be the random 4-character string generated for your instance duri
201203
- 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.
202204
- 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.
203205

206+
- Note: we need to wait untill ec2image builder pipeline distribution complete,without builds complete by running below command shows Error
207+
204208
./make-amilist.sh > new-ami-list.json
205209
- Next run the following command to update your DB.
206210

cft-templates/Rstudio.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ Parameters:
1919
the environment instance, including any bootstrap scripts
2020
InstanceType:
2121
Type: String
22-
Description: Instance type for RStudio. Default is t2.medium.
22+
Description: Instance type for RStudio. Default is t3.medium.
2323
AllowedValues:
2424
- t2.medium
2525
- t2.large
2626
- t3.medium
2727
- t3.large
2828

29-
ConstraintDescription: Valid instance type in the t2 families
30-
Default: t2.medium
29+
ConstraintDescription: Valid instance type in the t3 families
30+
Default: t3.medium
3131
InitialUser:
3232
Type: String
3333
Description: User Name for RStudio. Do not use 'root' and 'ec2-user'

cft-templates/cromwell-advanced.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ Parameters:
8282
InstanceType:
8383
Description: Head Node EC2 instance type
8484
Type: String
85-
Default: t2.small
86-
AllowedValues: [t2.nano, t2.micro, t2.small, t2.medium]
85+
Default: t3.small
86+
AllowedValues: [t3.nano, t3.micro, t3.small, t3.medium]
8787
ConstraintDescription: Must be a valid EC2 instance type.
8888
WorkerNodeInstanceType:
8989
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.

cft-templates/ec2-EIP.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Parameters:
2121
An S3 URI (starting with "s3://") that specifies the location of files to be copied to
2222
the environment instance, including any bootstrap scripts
2323
InstanceType:
24-
Description: Choose the instance type for this instance. e.g. t2.small
24+
Description: Choose the instance type for this instance. e.g. t3.small
2525
Type: String
26-
Default: t2.small
27-
AllowedValues: [t2.nano, t2.micro, t2.small, t2.medium]
26+
Default: t3.small
27+
AllowedValues: [t3.nano, t3.micro, t3.small, t3.medium]
2828
ConstraintDescription: must be a valid EC2 instance type.
2929
KeyPair:
3030
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.

cft-templates/ec2-linux-docker-mysql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Parameters:
2121
An S3 URI (starting with "s3://") that specifies the location of files to be copied to
2222
the environment instance, including any bootstrap scripts
2323
InstanceType:
24-
Description: Choose the instance type for this instance. e.g. t2.small
24+
Description: Choose the instance type for this instance. e.g. t3.small
2525
Type: String
26-
Default: t2.small
27-
AllowedValues: [t2.nano, t2.micro, t2.small, t2.medium]
26+
Default: t3.small
27+
AllowedValues: [t3.nano, t3.micro, t3.small, t3.medium]
2828
ConstraintDescription: must be a valid EC2 instance type.
2929
KeyPair:
3030
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.

cft-templates/ec2-linux-docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Parameters:
2121
An S3 URI (starting with "s3://") that specifies the location of files to be copied to
2222
the environment instance, including any bootstrap scripts
2323
InstanceType:
24-
Description: Choose the instance type for this instance. e.g. t2.small
24+
Description: Choose the instance type for this instance. e.g. t3.small
2525
Type: String
26-
Default: t2.small
27-
AllowedValues: [t2.nano, t2.micro, t2.small, t2.medium]
26+
Default: t3.small
27+
AllowedValues: [t3.nano, t3.micro, t3.small, t3.medium]
2828
ConstraintDescription: must be a valid EC2 instance type.
2929
KeyPair:
3030
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.

cft-templates/ec2-ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Parameters:
2121
An S3 URI (starting with "s3://") that specifies the location of files to be copied to
2222
the environment instance, including any bootstrap scripts
2323
InstanceType:
24-
Description: Choose the instance type for this instance. e.g. t2.small
24+
Description: Choose the instance type for this instance. e.g. t3.small
2525
Type: String
26-
Default: t2.small
27-
AllowedValues: [t2.nano, t2.micro, t2.small, t2.medium]
26+
Default: t3.small
27+
AllowedValues: [t3.nano, t3.micro, t3.small, t3.medium]
2828
ConstraintDescription: must be a valid EC2 instance type.
2929
KeyPair:
3030
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.

cft-templates/nextflow-advanced.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ Parameters:
8787
InstanceType:
8888
Description: Head Node EC2 instance type
8989
Type: String
90-
Default: t2.small
91-
AllowedValues: [t2.nano, t2.micro, t2.small, t2.medium]
90+
Default: t3.small
91+
AllowedValues: [t3.nano, t3.micro, t3.small, t3.medium]
9292
ConstraintDescription: Must be a valid EC2 instance type.
9393
KeyPair:
9494
Description: Name of an existing EC2 KeyPair to enable SSH access to the Head Node. 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.

cft-templates/sagemaker-template-with-url.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Parameters:
1010
- ml.t2.medium
1111
- ml.t3.medium
1212
ConstraintDescription: Must select a valid notebook instance type.
13-
Default: ml.t2.medium
14-
Description: Select Instance type for the SageMaker Notebook. e.g.ml.t2.medium
13+
Default: ml.t3.medium
14+
Description: Select Instance type for the SageMaker Notebook. e.g.ml.t3.medium
1515
Type: String
1616
Resources:
1717
SageMakerRole:

cft-templates/windows-ec2.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Description: 'AWS CloudFormation Sample Template Sample template EIP_With_Associ
1010
You will be billed for the AWS resources used if you create a stack from this template.'
1111
Parameters:
1212
InstanceType:
13-
Description: Choose the instance type for this instance. e.g. t2.small
13+
Description: Choose the instance type for this instance. e.g. t3.small
1414
Type: String
15-
Default: t2.small
16-
AllowedValues: [t2.nano, t2.micro, t2.small, t2.medium]
15+
Default: t3.small
16+
AllowedValues: [t3.nano, t3.micro, t3.small, t3.medium]
1717
ConstraintDescription: must be a valid EC2 instance type.
1818
KeyPair:
1919
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.

0 commit comments

Comments
 (0)