-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS-15031 Creating AWS specialized regions assembly #95131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bscott-rh
wants to merge
2
commits into
openshift:main
Choose a base branch
from
bscott-rh:OSDOCS-15031
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
161 changes: 161 additions & 0 deletions
161
installing/installing_aws/ipi/installing-aws-specialized-region.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
:_mod-docs-content-type: ASSEMBLY | ||
[id="installing-aws-specialized-region"] | ||
= Installing a cluster on AWS into a specialized region | ||
include::_attributes/common-attributes.adoc[] | ||
:context: installing-aws-specialized-region | ||
|
||
toc::[] | ||
|
||
In {product-title} version {product-version}, you can install a cluster on | ||
{aws-first} into specialized regions, including secret and top secret regions, | ||
government regions, and China regions. To configure the region, modify parameters in the `install-config.yaml` file before you install the cluster. | ||
|
||
The following specialized regions are supported: | ||
|
||
.Specialized regions | ||
|==== | ||
|Region type|Supported regions | ||
|
||
|China | ||
a| | ||
* `cn-north-1` (Beijing) | ||
* `cn-northwest-1` (Ningxia) | ||
|
||
|Secret and Top Secret | ||
a| | ||
* `us-isob-east-1` (SC2S) | ||
* `us-iso-east-1` (C2S) | ||
|
||
|Government | ||
a| | ||
* `us-gov-east-1` | ||
* `us-gov-west-1` | ||
|
||
|==== | ||
|
||
[WARNING] | ||
==== | ||
In {product-title} {product-version}, the installation program uses Cluster API instead of Terraform to provision cluster infrastructure during installations on AWS. Installing a cluster on AWS into a secret or top-secret region by using the Cluster API implementation has not been tested as of the release of {product-title} {product-version}. This document will be updated when installation into a secret region has been tested. | ||
|
||
There is a known issue with Network Load Balancers' support for security groups in secret or top secret regions that causes installations in these regions to fail. For more information, see link:https://issues.redhat.com/browse/OCPBUGS-33311[OCPBUGS-33311]. | ||
|
||
The maximum supported MTU in the AWS SC2S and C2S regions is not the same as | ||
the public regions. For more information about configuring MTU during installation, | ||
see the _Cluster Network Operator configuration object_ section in _Installing | ||
a cluster on AWS with network customizations_ | ||
==== | ||
|
||
== Prerequisites | ||
|
||
* If you install a cluster into a China region, you have an Internet Content Provider (ICP) license. | ||
* You reviewed details about the xref:../../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] processes. | ||
* You read the documentation on xref:../../../installing/overview/installing-preparing.adoc#installing-preparing[selecting a cluster installation method and preparing it for users]. | ||
* You xref:../../../installing/installing_aws/installing-aws-account.adoc#installing-aws-account[configured an AWS account] to host the cluster. | ||
* If you use a firewall, you xref:../../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configured it to allow the sites] that your cluster requires access to. | ||
|
||
[IMPORTANT] | ||
==== | ||
If you have an AWS profile stored on your computer, it must not use a temporary session token that you generated while using a multi-factor authentication device. The cluster continues to use your current AWS credentials to create AWS resources for the entire life of the cluster, so you must use long-term credentials. To generate appropriate keys, see link:https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html[Managing Access Keys for IAM Users] in the AWS documentation. You can supply the keys when you run the installation program. | ||
==== | ||
|
||
include::modules/installation-aws-about-government-region.adoc[leveloffset=+1] | ||
include::modules/installation-aws-marketplace-government.adoc[leveloffset=+1] | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
* xref:../../../installing/installing_aws/installation-config-parameters-aws.adoc#installation-config-parameters-aws[Installation configuration parameters for AWS] | ||
|
||
include::modules/installation-aws-regions-with-no-ami.adoc[leveloffset=+1] | ||
|
||
include::modules/private-clusters-default.adoc[leveloffset=+1] | ||
include::modules/private-clusters-about-aws.adoc[leveloffset=+2] | ||
|
||
include::modules/installation-custom-aws-vpc.adoc[leveloffset=+1] | ||
include::modules/installation-aws-security-groups.adoc[leveloffset=+2] | ||
|
||
include::modules/installation-aws-upload-custom-rhcos-ami.adoc[leveloffset=+1] | ||
|
||
include::modules/installation-initializing-manual.adoc[leveloffset=+1] | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
* xref:../../../installing/installing_aws/installation-config-parameters-aws.adoc#installation-config-parameters-aws[Installation configuration parameters for AWS] | ||
|
||
include::modules/installation-aws-config-yaml-customizations.adoc[leveloffset=+2] | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
|
||
* xref:../../../installing/installing_aws/installation-config-parameters-aws.adoc#installation-config-parameters-aws[Installation configuration parameters for AWS] | ||
|
||
include::modules/installation-minimum-resource-requirements.adoc[leveloffset=+2] | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
|
||
* xref:../../../scalability_and_performance/optimization/optimizing-storage.adoc#optimizing-storage[Optimizing storage] | ||
|
||
include::modules/installation-aws-tested-machine-types.adoc[leveloffset=+2] | ||
include::modules/installation-aws-arm-tested-machine-types.adoc[leveloffset=+2] | ||
|
||
include::modules/installation-configure-proxy.adoc[leveloffset=+2] | ||
|
||
include::modules/installation-applying-aws-security-groups.adoc[leveloffset=+2] | ||
|
||
[id="installing-aws-manual-modes_{context}"] | ||
== Alternatives to storing administrator-level secrets in the kube-system project | ||
|
||
By default, administrator secrets are stored in the `kube-system` project. If you configured the `credentialsMode` parameter in the `install-config.yaml` file to `Manual`, you must use one of the following alternatives: | ||
|
||
* To manage long-term cloud credentials manually, follow the procedure in xref:../../../installing/installing_aws/ipi/installing-aws-china.adoc#manually-create-iam_installing-aws-china-region[Manually creating long-term credentials]. | ||
|
||
* To implement short-term credentials that are managed outside the cluster for individual components, follow the procedures in xref:../../../installing/installing_aws/ipi/installing-aws-china.adoc#installing-aws-with-short-term-creds_installing-aws-china-region[Configuring an AWS cluster to use short-term credentials]. | ||
|
||
//Manually creating long-term credentials | ||
include::modules/manually-create-identity-access-management.adoc[leveloffset=+2] | ||
|
||
//Supertask: Configuring an AWS cluster to use short-term credentials | ||
[id="installing-aws-with-short-term-creds_{context}"] | ||
=== Configuring an AWS cluster to use short-term credentials | ||
|
||
To install a cluster that is configured to use the AWS Security Token Service (STS), you must configure the CCO utility and create the required AWS resources for your cluster. | ||
|
||
//Task part 1: Configuring the Cloud Credential Operator utility | ||
include::modules/cco-ccoctl-configuring.adoc[leveloffset=+3] | ||
|
||
//Task part 2: Creating the required AWS resources | ||
[id="sts-mode-create-aws-resources-ccoctl_{context}"] | ||
==== Creating AWS resources with the Cloud Credential Operator utility | ||
|
||
You have the following options when creating AWS resources: | ||
|
||
* You can use the `ccoctl aws create-all` command to create the AWS resources automatically. This is the quickest way to create the resources. See xref:../../../installing/installing_aws/ipi/installing-aws-china.adoc#cco-ccoctl-creating-at-once_installing-aws-china-region[Creating AWS resources with a single command]. | ||
|
||
* If you need to review the JSON files that the `ccoctl` tool creates before modifying AWS resources, or if the process the `ccoctl` tool uses to create AWS resources automatically does not meet the requirements of your organization, you can create the AWS resources individually. See xref:../../../installing/installing_aws/ipi/installing-aws-china.adoc#cco-ccoctl-creating-individually_installing-aws-china-region[Creating AWS resources individually]. | ||
|
||
//Task part 2a: Creating the required AWS resources all at once | ||
include::modules/cco-ccoctl-creating-at-once.adoc[leveloffset=+4] | ||
|
||
//Task part 2b: Creating the required AWS resources individually | ||
include::modules/cco-ccoctl-creating-individually.adoc[leveloffset=+4] | ||
|
||
//Task part 3: Incorporating the Cloud Credential Operator utility manifests | ||
include::modules/cco-ccoctl-install-creating-manifests.adoc[leveloffset=+3] | ||
|
||
include::modules/installation-launching-installer.adoc[leveloffset=+1] | ||
|
||
include::modules/cli-logging-in-kubeadmin.adoc[leveloffset=+1] | ||
|
||
include::modules/logging-in-by-using-the-web-console.adoc[leveloffset=+1] | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
|
||
* See xref:../../../web_console/web-console.adoc#web-console[Accessing the web console] for more details about accessing and understanding the {product-title} web console. | ||
|
||
== Next steps | ||
|
||
* xref:../../../installing/validation_and_troubleshooting/validating-an-installation.adoc#validating-an-installation[Validating an installation]. | ||
* xref:../../../post_installation_configuration/cluster-tasks.adoc#available_cluster_customizations[Customize your cluster]. | ||
* If necessary, you can xref:../../../support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc#opting-out-remote-health-reporting_opting-out-remote-health-reporting[opt out of remote health reporting]. | ||
* If necessary, you can xref:../../../post_installation_configuration/changing-cloud-credentials-configuration.adoc#manually-removing-cloud-creds_changing-cloud-credentials-configuration[remove cloud provider credentials]. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * installing/installing_aws/installing-aws-specialized-regions.adoc | ||
|
||
:_mod-docs-content-type: PROCEDURE | ||
[id="installation-aws-marketplace-government_{context}"] | ||
= Installation requirements for government regions | ||
If you are deploying an {product-title} cluster using an AWS Marketplace image in a government region, you must first subscribe through {aws-short}. Subscribing to the offer provides you with the AMI ID that the installation program uses to deploy compute nodes. | ||
|
||
:platform-abbreviation: an AWS | ||
:platform-abbreviation-short: AWS | ||
[NOTE] | ||
==== | ||
include::snippets/installation-marketplace-note.adoc[] | ||
==== | ||
|
||
.Prerequisites | ||
|
||
* You have an {aws-short} account to purchase the offer. This account does not have to be the same account that is used to install the cluster. | ||
|
||
.Procedure | ||
|
||
. Complete the {product-title} subscription from the link:https://aws.amazon.com/marketplace/fulfillment?productId=59ead7de-2540-4653-a8b0-fa7926d5c845[AWS Marketplace]. | ||
|
||
. Record the AMI ID for your specific AWS Region. As part of the installation process, you must update the `install-config.yaml` file with this value before deploying the cluster. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.