-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* From the terraform folder, can use ./login to log in the head node. * CORA ADCIRC added * New EFS software has bugs, using older version * adcirc-cora README * squash merged some updates: hindcast testing, debugged patch for adcirc, saving liveocean * Minor fixes * LiveOcean tests and fixes * LO hindcast workflow updates and testing * LO and CORA ADCIRC work on NOS Sandbox * tested deployment * cora and liveocean work from user chosen directories * Removed NAME tag from cluster/config files
- Loading branch information
1 parent
3153da3
commit 1871055
Showing
67 changed files
with
9,335 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"platform" : "AWS", | ||
"region" : "us-east-2", | ||
"nodeType" : "hpc6a.48xlarge", | ||
"nodeCount" : 1, | ||
"tags" : [ | ||
{ "Key": "Name", "Value": "CORA-node" }, | ||
{ "Key": "Project", "Value": "NOS-cloud-sandbox" } | ||
], | ||
"image_id" : "ami-082e2e4e7ef1c6d77", | ||
"key_name" : "rsa_sandbox_key", | ||
"sg_ids" : ["sg-05c044182398b2a27", "sg-0e5148638d9196f69", "sg-06ca6bc5d4b377dad"], | ||
"subnet_id" : "subnet-00075cfbfcbc8f2cf", | ||
"placement_group" : "ioos_cloud_sandbox_Terraform_Placement_Group" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"platform" : "AWS", | ||
"region" : "us-east-2", | ||
"nodeType" : "r7iz.32xlarge", | ||
"nodeCount" : 4, | ||
"tags" : [ | ||
{ "Key": "Name", "Value": "LiveOcean-node" }, | ||
{ "Key": "Project", "Value": "NOS-cloud-sandbox" } | ||
], | ||
"image_id" : "ami-082e2e4e7ef1c6d77", | ||
"key_name" : "rsa_sandbox_key", | ||
"sg_ids" : ["sg-05c044182398b2a27", "sg-0e5148638d9196f69", "sg-06ca6bc5d4b377dad"], | ||
"subnet_id" : "subnet-00075cfbfcbc8f2cf", | ||
"placement_group" : "ioos_cloud_sandbox_Terraform_Placement_Group" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"platform" : "AWS", | ||
"region" : "us-east-2", | ||
"nodeType" : "hpc6a.48xlarge", | ||
"nodeCount" : 1, | ||
"tags" : [ | ||
{ "Key": "Name", "Value": "CORA-Cloud-Sandbox-node" }, | ||
{ "Key": "Project", "Value": "IOOS-Cloud-Sandbox" } | ||
], | ||
"image_id" : "ami-0d97c0e5cea6aa80b", | ||
"key_name" : "ioos-sandbox", | ||
"sg_ids" : [ | ||
"sg-070faae1c63b4b0a2", | ||
"sg-0804c2befa81516aa", | ||
"sg-0f6684b52d2e9e107" | ||
], | ||
"subnet_id" : "subnet-05764d14e38acec51", | ||
"placement_group" : "cora-cloud-sandbox-us-east-2b_Terraform_Placement_Group" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"platform" : "AWS", | ||
"region" : "us-east-2", | ||
"nodeType" : "hpc6a.48xlarge", | ||
"nodeCount" : 8, | ||
"tags" : [ | ||
{ "Key": "Name", "Value": "IOOS-cloud-sandbox" }, | ||
{ "Key": "Project", "Value": "IOOS-cloud-sandbox" } | ||
], | ||
"image_id" : "ami-07d0aa6a6ac23d33a", | ||
"key_name" : "ioos-sandbox", | ||
"sg_ids" : [ "sg-054f4248a8fc54750", "sg-0c9bb98732e936e66", "sg-0ce1abfe87363d80b" ], | ||
"subnet_id" : "subnet-04b0eef9cb8015d31", | ||
"placement_group" : "ioos_cloud_sandbox-us-east-2b_Terraform_Placement_Group" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"platform" : "AWS", | ||
"region" : "us-east-2", | ||
"nodeType" : "hpc6a.48xlarge", | ||
"nodeCount" : 1, | ||
"tags" : [ | ||
{ "Key": "Name", "Value": "CORA-Cloud-Sandbox-node" }, | ||
{ "Key": "Project", "Value": "IOOS-Cloud-Sandbox" } | ||
], | ||
"image_id" : "ami-049a762c1343a9d98", | ||
"key_name" : "ioos-sandbox", | ||
"sg_ids" : [ "sg-0feaeb0d419b7ddda", | ||
"sg-046f683021585a25f", | ||
"sg-0416cbb8c060a1779" | ||
], | ||
"subnet_id" : "subnet-0be869ddbf3096968", | ||
"placement_group" : "forPR-cloud-sandbox-us-east-2b_Terraform_Placement_Group" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"platform" : "AWS", | ||
"region" : "us-east-2", | ||
"nodeType" : "hpc6a.48xlarge", | ||
"nodeCount" : 8, | ||
"tags" : [ | ||
{ "Key": "Name", "Value": "forPR-Cloud-Sandbox-node" }, | ||
{ "Key": "Project", "Value": "IOOS-cloud-sandbox" } | ||
], | ||
"image_id" : "ami-049a762c1343a9d98", | ||
"key_name" : "ioos-sandbox", | ||
"sg_ids" : [ "sg-0feaeb0d419b7ddda", | ||
"sg-046f683021585a25f", | ||
"sg-0416cbb8c060a1779" | ||
], | ||
"subnet_id" : "subnet-0be869ddbf3096968", | ||
"placement_group" : "forPR-cloud-sandbox-us-east-2b_Terraform_Placement_Group" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
#set -x | ||
|
||
TOKEN=`curl -s -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"` | ||
META="http://169.254.169.254/latest/meta-data" | ||
|
||
INSTANCEID=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" $META/instance-id) | ||
IFACE=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" $META/network/interfaces/macs) | ||
SUBNET_ID=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" $META/network/interfaces/macs/${IFACE}/subnet-id) | ||
VPC_ID=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" $META/network/interfaces/macs/${IFACE}/vpc-id) | ||
REGION=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" $META/placement/availability-zone | sed 's/[a-z]$//') | ||
MAC=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" $META/network/interfaces/macs | head -1) | ||
SGIDS=$(curl -s -H "X-aws-ec2-metadata-token: $TOKEN" $META/network/interfaces/macs/${MAC}/security-group-ids) | ||
|
||
#AMIID=`tail /tmp/setup.log | grep ImageId` | ||
|
||
#PLACEMENT_GROUP=`aws ec2 describe-placement-groups | grep GroupId | awk -F\" '{print $4}'` | ||
#PLACEMENT_GROUP=`aws ec2 describe-placement-groups | grep GroupId` | ||
|
||
echo "instanceid: $INSTANCEID" | ||
#echo "iface: $IFACE" | ||
echo "region: $REGION" | ||
echo "vpc_id: $VPC_ID" | ||
echo "image_id: $AMIID" | ||
echo "sg_ids: " | ||
echo "$SGIDS" | ||
echo "subnet_id: $SUBNET_ID" | ||
echo "placement_group: $PLACEMENT_GROUP" | ||
|
||
#tail /tmp/setup.log | grep ImageId | ||
|
||
# Can manually create an AMI here | ||
# ami_name="IOOS Cloud Sandbox AMI" | ||
# project="IOOS-cloud-sandbox" | ||
|
||
# /usr/local/bin/aws --region ${REGION} ec2 create-image --instance-id $INSTANCEID --name "${ami_name}" \ | ||
# --tag-specification "ResourceType=image,Tags=[{Key=\"Name\",Value=\"${ami_name}\"},{Key=\"Project\",Value=\"${project}\"}]" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NOS/nos.liveocean.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NOS/nos.cora.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.