Skip to content

Commit 3bbe6d2

Browse files
committed
updated ai-pods workshop to create network with tags
1 parent 78723b5 commit 3bbe6d2

File tree

3 files changed

+804
-2
lines changed

3 files changed

+804
-2
lines changed

content/en/ninja-workshops/14-cisco-ai-pods/10-cleanup.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@ Delete the OIDC provider:
5353
rosa delete oidc-provider --oidc-config-id $OIDC_ID
5454
```
5555

56+
Delete the network:
57+
58+
> Note: add the name of the CloudFormation stack used to create the network before
59+
> running the following command
60+
61+
``` bash
62+
aws cloudformation delete-stack --region $AWS_REGION --stack-name <stack name i.e. rosa-network-stack-nnnnnnnnnnn>
63+
```
64+
5665
Refer to [OpenShift documentation](https://docs.redhat.com/en/documentation/red_hat_openshift_service_on_aws/4/html/install_clusters/rosa-hcp-deleting-cluster)
5766
if you'd like to completely remove the Red Hat OpenShift Service from your AWS account.
5867

content/en/ninja-workshops/14-cisco-ai-pods/2-openshift-prereqs.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,12 @@ create a new VPC in our AWS account using the following command:
133133
> Note: update the region as appropriate for your environment.
134134
135135
``` bash
136-
rosa create network --param Region=us-east-2
136+
rosa create network network-template --param Region=us-east-2 --template-dir='.'
137137
```
138138

139139
> Important: make note of the subnet ids created as a result of this command
140-
> as you'll need them when creating the cluster.
140+
> as you'll need them when creating the cluster. Make a note of the CloudFormation
141+
> stack name as well, which will be needed later if you want to delete the network.
141142
142143
> Note: by default, each AWS region is limited to 5 elastic IP addresses.
143144
> If you receive the following error:

0 commit comments

Comments
 (0)