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: lib/allora/README.md
+56-52Lines changed: 56 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,16 +80,20 @@ This is the Well-Architected checklist for the Allora worker nodes implementatio
80
80
81
81
## Setup Instructions
82
82
83
-
### Setup Cloud9
83
+
### Open AWS CloudShell
84
84
85
-
We will use AWS Cloud9 to execute the subsequent commands. Follow the instructions in [Cloud9 Setup](../../docs/setup-cloud9.md).
85
+
To begin, ensure you login to your AWS account with permissions to create and modify resources in IAM, EC2, EBS, VPC, S3, KMS, and Secrets Manager.
86
+
87
+
From the AWS Management Console, open the [AWS CloudShell](https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html), a web-based shell environment. If unfamiliar, review the [2-minute YouTube video](https://youtu.be/fz4rbjRaiQM) for an overview and check out [CloudShell with VPC environment](https://docs.aws.amazon.com/cloudshell/latest/userguide/creating-vpc-environment.html) that we'll use to test nodes API from internal IP address space.
88
+
89
+
Once ready, you can run the commands to deploy and test blueprints in the CloudShell.
86
90
87
91
### Clone this repository and install dependencies
@@ -99,67 +103,67 @@ We will use AWS Cloud9 to execute the subsequent commands. Follow the instructio
99
103
2. Configure your setup
100
104
101
105
Create your own copy of `.env` file and edit it to update with your AWS Account ID and Region:
102
-
```bash
103
-
# Make sure you are in aws-blockchain-node-runners/lib/allora
104
-
cd lib/allora
105
-
npm install
106
-
pwd
107
-
cp ./sample-configs/.env-sample-full .env
108
-
nano .env
109
-
```
110
-
> NOTE:
111
-
> Example configuration parameters are setin the local`.env-sample` file. You can find more examples inside `sample-configs` directory.
112
-
113
-
> IMPORTANT:
114
-
> All AWS CDK v2 deployments use dedicated AWS resources to hold data during deployment. Therefore, your AWS account and Region must be [bootstrapped](https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html) to create these resources before you can deploy. If you haven't already bootstrapped, issue the following command:
115
-
> ```bash
116
-
> cdk bootstrap aws://ACCOUNT-NUMBER/REGION
117
-
> ```
106
+
```bash
107
+
# Make sure you are in aws-blockchain-node-runners/lib/allora
108
+
cd lib/allora
109
+
npm install
110
+
pwd
111
+
cp ./sample-configs/.env-sample-full .env
112
+
nano .env
113
+
```
114
+
> NOTE:
115
+
> Example configuration parameters are set in the local `.env-sample` file. You can find more examples inside `sample-configs` directory.
118
116
119
-
3. Deploy Common Stack
117
+
> IMPORTANT:
118
+
> All AWS CDK v2 deployments use dedicated AWS resources to hold data during deployment. Therefore, your AWS account and Region must be [bootstrapped](https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html) to create these resources before you can deploy. If you haven't already bootstrapped, issue the following command:
119
+
> ```bash
120
+
> cdk bootstrap aws://ACCOUNT-NUMBER/REGION
121
+
>```
120
122
121
-
```bash
122
-
pwd
123
-
# Make sure you are in aws-blockchain-node-runners/lib/allora
Navigate to the AWS Cloud9 service in your Management Console, then select the environment you have created. On the top right, click **Delete** button and follow the instructions.
159
+
pwd
160
+
# Make sure you are in aws-blockchain-node-runners/lib/allora
157
161
158
-
3. Delete the instance profile and IAM role
162
+
# Undeploy Single Node
163
+
npx cdk destroy allora-single-node
159
164
160
-
```bash
161
-
aws iam delete-instance-profile --instance-profile-name Cloud9-Developer-Access
162
-
aws iam delete-role --role-name Cloud9-Developer-Access
0 commit comments