Skip to content

Commit bef3356

Browse files
committed
add readme
1 parent ba7c057 commit bef3356

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ module "aws_anyscale_v2" {
104104
}
105105
```
106106

107+
### Cloud Registration Command
108+
109+
Each example includes an example `anyscale cloud register` command for creating the Cloud.
110+
107111
Example Anyscale Cloud registration command for AWS:
108112
```bash
109113
anyscale cloud register --provider aws \
@@ -122,6 +126,38 @@ anyscale cloud register --provider aws \
122126
--functional-verify workspace,service
123127
```
124128

129+
### Cloud Resource Creation Command
130+
131+
All example modules now include an `anyscale_cloud_resource_yaml` output that generates a YAML configuration file compatible with the `anyscale cloud resource create` command to enable multi-resource Clouds.
132+
133+
Once a Cloud is initialized using `anyscale cloud register`, additional resources can be added using the following command:
134+
135+
```bash
136+
anyscale cloud resource create --cloud <existing-cloud-name> --file cloud-resource.yaml
137+
```
138+
139+
Example Anyscale Cloud resource YAML for AWS:
140+
```yaml
141+
name: vm-aws-us-west-2
142+
provider: AWS
143+
compute_stack: VM
144+
region: us-west-2
145+
networking_mode: PUBLIC
146+
object_storage:
147+
bucket_name: s3://anyscale-bucket-name
148+
file_storage:
149+
file_storage_id: fs-12345678
150+
aws_config:
151+
vpc_id: vpc-12345678
152+
subnet_ids:
153+
- subnet-12345678
154+
- subnet-87654321
155+
security_group_ids:
156+
- sg-12345678
157+
anyscale_iam_role_id: arn:aws:iam::123456789012:role/anyscale-role
158+
cluster_iam_role_id: arn:aws:iam::123456789012:role/cluster-role
159+
```
160+
125161
## Reporting Issues
126162
127163
We use GitHub [Issues] to track community reported issues and missing features.

0 commit comments

Comments
 (0)