Skip to content

Commit

Permalink
Merge pull request #19 from ibm-client-engineering/joe-updates
Browse files Browse the repository at this point in the history
Adding existing network required parameters
  • Loading branch information
kramerro-ibm authored Mar 12, 2024
2 parents 005b51f + bc3ac1b commit fb90fc3
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 3 deletions.
54 changes: 53 additions & 1 deletion docs/1-GettingStarted/2-Prequisites.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -663,4 +663,56 @@ You need `AWS::EC2::Instance` objects for the following machines:
:::note
For more information on OCP on AWS, see https://docs.openshift.com/container-platform/4.15/installing/installing_aws/installing-aws-user-infra.html
The "Minimum requirements" section does not consider the watsonx.ai and related services, and is accounted for in this documentation
:::
:::

### Installing on Existing Networks

To use an existing network and VPC, you must collect the following parameters from your AWS environment for the CloudFormation script.

#### Parameters

- BootNodeAccessCIDR:
- vpc_id:
- aws_region:
- Example: `us-east-2`
- machine_cidr:
- Example: `10.2.1.0/24`
- openshift_cluster_network_cidr:
- Example: `10.128.0.0/14`
- subnet_ids:
:::note
For subnets, at least one set of 3 (Public or Private) subnets must be used.
:::
- Public
- Public subnet1
- Public subnet2
- Public subnet3
- Private
- Private subnet1
- Private subnet2
- Private subnet3
- hosted_zone_id:
- Example: `Hosted_Zone_Id`
- image_registry:
- name: Registy
- registry_host_name:
- Example: `registry.example.com`
- registry_port:
- Example: `5000`
- registry_insecure:
- Example: `false`
- registry_trusted_ca_secret:
- Example: `cpd463-ca-bundle`
- http_proxy:
- https_proxy:
- no_proxy:
- KeyPairName:
:::note
Key Pair generation instructions [here](https://ibm-client-engineering.github.io/solution-wxai-aws/GettingStarted/installation#create-aws-keypair)
:::
- RedhatPullSecret:
:::note
RedHat Pull Secret instructions [here](https://ibm-client-engineering.github.io/solution-wxai-aws/GettingStarted/installation/#redhat-pull-secret)
:::
- DomainName:
- ClusterName:
4 changes: 2 additions & 2 deletions docs/1-GettingStarted/3-Installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ Review ***"parameters-override.yaml"***, the following changes will need to be m
### Deployment
#### Create OCPInstall Role
[Download the OCPInstall_Role.yaml](https://github.com/ibm-client-engineering/solution-wxai-aws/assets/Cloudformation/OCPInstall_Role.yaml)
[Download the OCPInstall_Role.yaml](../../assets/Cloudformation/OCPInstall_Role.yaml)
Create the role by running the following command:
```
aws cloudformation deploy --stack-name OCPInstall-role-1 -template-file OCPInstall_Role.yaml --capabilities CAPABILITY_NAMED_IAM --tags *add Key=Value tag here*
```
#### Create LambdaExecution Role
[Download the LambdaExecutionRole.yaml](https://github.com/ibm-client-engineering/solution-wxai-aws/assets/Cloudformation/LambdaExecutionRole.yaml)
[Download the LambdaExecutionRole.yaml](../../assets/Cloudformation/LambdaExecutionRole.yml)
Create the role by running the following command:
```
Expand Down

0 comments on commit fb90fc3

Please sign in to comment.