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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,13 @@ If an AMI with the pre-requisites has been shared with you, you can skip this se
69
69
70
70
You can create the AMI with pre-requisites yourself by following these steps:
71
71
- Install packer
72
-
- Create a Role and attach a policy which permits ECR and EC2 actions and Replace it in builders section
73
72
- Export AWS Access Keys and Secret Keys
74
73
- export AWS_ACCESS_KEY_ID="your_Access_Key"
75
74
- export AWS_SECRET_ACCESS_KEY="your_Secret_Key"
76
75
- export AWS_DEFAULT_REGION="Your_Region"
77
-
- Download dump.tar.gz to your local rdeploy folder from s3://rg-deployment-docs
78
-
- Run packer build package-rg.json.
76
+
- Clone this repo on a machine.
77
+
- 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.
Copy file name to clipboardExpand all lines: cft-templates/Rstudio.yml
+63-10Lines changed: 63 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,22 @@
1
-
AWSTemplateFormatVersion: 2010-09-09
1
+
AWSTemplateFormatVersion: '2010-09-09'
2
2
3
3
Description: Sets up RStudio environment on AWS
4
4
5
5
Parameters:
6
+
Namespace:
7
+
Type: String
8
+
Description: An environment name that will be prefixed to resource names
9
+
S3Mounts:
10
+
Type: String
11
+
Description: A JSON array of objects with name, bucket, and prefix properties used to mount data
12
+
IamPolicyDocument:
13
+
Type: String
14
+
Description: The IAM policy to be associated with the launched workstation
15
+
EnvironmentInstanceFiles:
16
+
Type: String
17
+
Description: >-
18
+
An S3 URI (starting with "s3://") that specifies the location of files to be copied to
19
+
the environment instance, including any bootstrap scripts
6
20
InstanceType:
7
21
Type: String
8
22
Description: Instance type for RStudio. Default is t2.medium.
@@ -30,7 +44,39 @@ Parameters:
30
44
Type: "AWS::EC2::KeyPair::KeyName"
31
45
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