

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 安装策略
<a name="strategies"></a>

如果您在网络、安全和其他领域有特定的自定义要求，请参阅下表以获取指导。有关更多信息，请参阅 Red Hat OpenShift 文档 AWS中的在[上安装](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html/installing/installing-on-aws)。


****  

| 安装场景 | IPI | UPI | 备注 | 
| --- | --- | --- | --- | 
| 快速集群安装 | ✓ |  | 你可以在 OpenShift 上使用红帽 AWS。<br />[更多信息](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html-single/installing/index#prerequisites) | 
| 自定义集群 | ✓ | ✓ | 您可以使用安装程序提供的某些自定义选项进行安装（例如 `rosa-cli`）。此场景同时适用于 IPI 和 UPI。如果您需要进一步的自定义，请使用 UPI。<br />[更多信息](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html-single/installing/index#installing-aws-customizations) | 
| 使用网络自定义的集群 | ✓ | ✓ | 借助使用 IPI，您可以灵活地在 `install-config.yaml` 文件中指定现有 IP 范围。<br />[更多信息](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html-single/installing/index#installing-aws-network-customizations) | 
| 现有 VPC 中的集群 |  | ✓ | 您可以在现有 VPC 和网络基础设施中预置集群。要想获得更好的灵活性，请使用 UPI。<br />[更多信息](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html-single/installing/index#installing-aws-vpc) | 
| 现有 VPC 中的私有集群 |  | ✓ | 如果您有将集群托管在私有网络上的安全要求，且无法访问互联网，则可能需要设置私有托管区域并谨慎配置路由表。对于这种场景，UPI 提供了更好的灵活性。<br />[更多信息](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html-single/installing/index#installing-aws-private) | 
| AWS 您预置的基础架构 |  | ✓ | 使用 UPI 通过 CloudFormation 模板创建底层基础设施组件和资源。<br />[更多信息](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html-single/installing/index#installing-aws-user-infra) | 
| 使用内部镜像 |  | ✓ | 您可以镜像本地注册表的内容，并从那里进行安装。但是，您仍然需要互联网接入才能访问 AWS APIs。<br />[更多信息](https://docs.redhat.com/en/documentation/openshift_container_platform/4.7/html-single/installing/index#installing-restricted-networks-aws) | 