Skip to content

Commit 7ca0ff8

Browse files
authored
Merge pull request #23 from mhuguesaws/improvements/#22_cloud9_deployment
Add Cloudformation button to create Cloud9
2 parents bfb01c0 + 3e3d679 commit 7ca0ff8

File tree

4 files changed

+38
-97
lines changed

4 files changed

+38
-97
lines changed

apps/gromacs/README.md

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@ AWS Cloud9 contains a collection of tools that let you code, build, run, test, d
2727

2828
#### Create an AWS Cloud9 environment:
2929

30+
The link below will create an AWS Cloud9 environment from which you will be able to create your cluster.
31+
32+
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-1.svg>)](<https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
33+
34+
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-2.svg>)](<https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
35+
3036
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
31-
1. Choose **[Create Environment](<https://console.aws.amazon.com/cloud9/home/create>)** or open the [link](<https://console.aws.amazon.com/cloud9/home/create>).
32-
1. For **Name**, enter **myDevEnv**.
33-
1. Choose **Next step**
34-
1. For **Cost-saving setting**, choose **After four hours**.
35-
1. Select **Create a new no-ingress EC2 instance for environment (access via Systems Manager)**.
36-
1. Leave the remaining parameters to the default.
37-
1. Choose **Next Step**.
38-
1. Choose **Create Environment**.
39-
1. It will start the creation of the Cloud9 environment.
37+
1. Select **MyCloud9Env**.
38+
1. Choose **Open IDE**.
4039

4140
#### Disable AWS managed temporary credentials:
4241

@@ -46,23 +45,6 @@ AWS Cloud9 contains a collection of tools that let you code, build, run, test, d
4645
1. Turn off the **AWS managed temporary credentials**.
4746
1. Close the **Preferences** tab.
4847

49-
#### Create an IAM Role:
50-
51-
1. Open the IAM console [deep link](<https://console.aws.amazon.com/iam/home#/roles%24new?step=type&commonUseCase=EC2%2BEC2&selectedUseCase=EC2&policies=arn:aws:iam::aws:policy%2FAdministratorAccess>) to create an IAM role with Administrator access.
52-
1. Confirm that **AWS service** and **EC2** are selected, then choose **Next: permissions**.
53-
1. Confirm that **AdministratorAccess** is checked, then choose **Next: Tags** to assign tags.
54-
1. Keep the defaults, and choose **Next: Review** to review.
55-
1. For **Name**, enter **cloud9-admin**.
56-
1. Choose **Create role**.
57-
58-
#### Associate IAM role with Cloud9 Instance:
59-
60-
1. Open the Amazon EC2 [deep link](<https://console.aws.amazon.com/ec2/v2/home#Instances:tag:Name=aws-cloud9-myDevEnv>) to find your Cloud9 instance.
61-
1. Select the Cloud9 instance.
62-
1. For **Actions**, choose **Security**, select **Modify IAM Role**.
63-
1. For **IAM Role**, choose **cloud9-admin**.
64-
1. Choose **Save**.
65-
6648
### Prerequisites
6749

6850
Let start by downloading the Gromacs repository containing the Infrastructure as Code on your **Cloud9 instance**.
@@ -229,9 +211,7 @@ aws macie2 disable-macie
229211

230212
Delete the AWS Cloud9 environment:
231213

232-
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
233-
1. On the navigation pane, choose **Your environments**.
234-
1. Select **myDevEnv**.
235-
1. Choose **Delete**.
236-
1. Enter **Delete** to confirm deletion.
214+
1. Open the [AWS CloudFormation](<https://console.aws.amazon.com/cloudformation>).
215+
1. Select **hpcsolutions-cloud9**.
237216
1. Choose **Delete**.
217+
1. Choose **Delete** to confirm deletion.

apps/lammps/README.md

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@ AWS Cloud9 contains a collection of tools that let you code, build, run, test, d
2727

2828
#### Create an AWS Cloud9 environment:
2929

30+
The link below will create an AWS Cloud9 environment from which you will be able to create your cluster.
31+
32+
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-1.svg>)](<https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
33+
34+
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-2.svg>)](<https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
35+
3036
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
31-
1. Choose **[Create Environment](<https://console.aws.amazon.com/cloud9/home/create>)** or open the [link](<https://console.aws.amazon.com/cloud9/home/create>).
32-
1. For **Name**, enter **myDevEnv**.
33-
1. Choose **Next step**
34-
1. For **Cost-saving setting**, choose **After four hours**.
35-
1. Select **Create a new no-ingress EC2 instance for environment (access via Systems Manager)**.
36-
1. Leave the remaining parameters to the default.
37-
1. Choose **Next Step**.
38-
1. Choose **Create Environment**.
39-
1. It will start the creation of the Cloud9 environment.
37+
1. Select **MyCloud9Env**.
38+
1. Choose **Open IDE**.
4039

4140
#### Disable AWS managed temporary credentials:
4241

@@ -46,23 +45,6 @@ AWS Cloud9 contains a collection of tools that let you code, build, run, test, d
4645
1. Turn off the **AWS managed temporary credentials**.
4746
1. Close the **Preferences** tab.
4847

49-
#### Create an IAM Role:
50-
51-
1. Open the IAM console[deep link](<https://console.aws.amazon.com/iam/home#/roles%24new?step=type&commonUseCase=EC2%2BEC2&selectedUseCase=EC2&policies=arn:aws:iam::aws:policy%2FAdministratorAccess>) to create an IAM role with Administrator access.
52-
1. Confirm that **AWS service** and **EC2** are selected, then choose **Next: permissions**.
53-
1. Confirm that **AdministratorAccess** is checked, then choose **Next: Tags** to assign tags.
54-
1. Keep the defaults, and choose **Next: Review** to review.
55-
1. For **Name**, enter **cloud9-admin**.
56-
1. Choose **Create role**.
57-
58-
#### Associate IAM role with Cloud9 Instance:
59-
60-
1. Open the Amazon EC2 [deep link](<https://console.aws.amazon.com/ec2/v2/home#Instances:tag:Name=aws-cloud9-myDevEnv>) to find your Cloud9 instance.
61-
1. Select the Cloud9 instance.
62-
1. For **Actions**, choose **Security**, select **Modify IAM Role**.
63-
1. For **IAM Role**, choose **cloud9-admin**.
64-
1. Choose **Save**.
65-
6648
### Prerequisites
6749

6850
Let start by downloading the LAMMPS repository containing the Infrastructure as Code on your **Cloud9 instance**.
@@ -219,9 +201,7 @@ aws macie2 disable-macie
219201

220202
Delete the AWS Cloud9 environment:
221203

222-
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
223-
1. On the navigation pane, choose **Your environments**.
224-
1. Select **myDevEnv**.
225-
1. Choose **Delete**.
226-
1. Enter **Delete** to confirm deletion.
204+
1. Open the [AWS CloudFormation](<https://console.aws.amazon.com/cloudformation>).
205+
1. Select **hpcsolutions-cloud9**.
227206
1. Choose **Delete**.
207+
1. Choose **Delete** to confirm deletion.

apps/mpas/README.md

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ AWS Cloud9 contains a collection of tools that let you code, build, run, test, d
1717

1818
#### Create an AWS Cloud9 environment:
1919

20+
The link below will create an AWS Cloud9 environment from which you will be able to create your cluster.
21+
22+
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-1.svg>)](<https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
23+
24+
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-2.svg>)](<https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
25+
2026
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
21-
1. Choose **[Create Environment](<https://console.aws.amazon.com/cloud9/home/create>)** or open the [link](<https://console.aws.amazon.com/cloud9/home/create>).
22-
1. For **Name**, enter **myDevEnv**.
23-
1. Choose **Next step**
24-
1. For **Cost-saving setting**, choose **After four hours**.
25-
1. Leave the remaining parameters to the default.
26-
1. Choose **Next Step**.
27-
1. Choose **Create Environment**.
28-
1. It will start the creation of the Cloud9 environment.
27+
1. Select **MyCloud9Env**.
28+
1. Choose **Open IDE**.
2929

3030
#### Disable AWS managed temporary credentials:
3131

@@ -35,23 +35,6 @@ AWS Cloud9 contains a collection of tools that let you code, build, run, test, d
3535
1. Turn off the **AWS managed temporary credentials**.
3636
1. Close the **Preferences** tab.
3737

38-
#### Create an IAM Role:
39-
40-
1. Open the IAM console [deep link](<https://console.aws.amazon.com/iam/home#/roles%24new?step=type&commonUseCase=EC2%2BEC2&selectedUseCase=EC2&policies=arn:aws:iam::aws:policy%2FAdministratorAccess>) to create an IAM role with Administrator access.
41-
1. Confirm that **AWS service** and **EC2** are selected, then choose **Next: permissions**.
42-
1. Confirm that **AdministratorAccess** is checked, then choose **Next: Tags** to assign tags.
43-
1. Keep the defaults, and choose **Next: Review** to review.
44-
1. For **Name**, enter **cloud9-admin**.
45-
1. Choose **Create role**.
46-
47-
#### Assossicate IAM role with Cloud9 Instance:
48-
49-
1. Open the Amazon EC2 [deep link](<https://console.aws.amazon.com/ec2/v2/home#Instances:tag:Name=aws-cloud9-myDevEnv>) to find your Cloud9 instance.
50-
1. Select the Cloud9 instance.
51-
1. For **Actions**, choose **Security**, select **Modify IAM Role**.
52-
1. For **IAM Role**, choose **cloud9-admin**.
53-
1. Choose **Save**.
54-
5538
### Prerequisites
5639

5740
Let start by downloading the MPAS repository containing the Infrastructure as Code on your Cloud9 instance.
@@ -234,9 +217,7 @@ Delete remaining components of the WRF solution
234217

235218
### Delete the AWS Cloud9 environment:
236219

237-
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
238-
1. On the navigation pane, choose **Your environments**.
239-
1. Select **myDevEnv**.
240-
1. Choose **Delete**.
241-
1. Enter **Delete** to confirm deletion.
220+
1. Open the [AWS CloudFormation](<https://console.aws.amazon.com/cloudformation>).
221+
1. Select **hpcsolutions-cloud9**.
242222
1. Choose **Delete**.
223+
1. Choose **Delete** to confirm deletion.

apps/wrf/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ The link below will create an AWS Cloud9 environment from which you will be able
2323

2424
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-1.svg>)](<https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
2525

26+
[![Launch Stack](<https://samdengler.github.io/cloudformation-launch-stack-button-svg/images/us-east-2.svg>)](<https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?stackName=hpcsolutions-cloud9&templateURL=https://awsome-hpc.s3.amazonaws.com/cf_hpc_solutions_cloud9.yaml>)
27+
2628
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
2729
1. Select **MyCloud9Env**.
2830
1. Choose **Open IDE**.
@@ -241,9 +243,7 @@ Delete remaining components of the WRF solution
241243

242244
### Delete the AWS Cloud9 environment:
243245

244-
1. Open the [AWS Cloud9 console](<https://console.aws.amazon.com/cloud9>).
245-
1. On the navigation pane, choose **Your environments**.
246-
1. Select **myDevEnv**.
247-
1. Choose **Delete**.
248-
1. Enter **Delete** to confirm deletion.
246+
1. Open the [AWS CloudFormation](<https://console.aws.amazon.com/cloudformation>).
247+
1. Select **hpcsolutions-cloud9**.
249248
1. Choose **Delete**.
249+
1. Choose **Delete** to confirm deletion.

0 commit comments

Comments
 (0)