title: Install openshift 4.5 on existing VPC in AWS
body: <p>Very new to openshift and I am trying to install openshift 4.5 in our AWS environment in exiting VPC without creating new VPC. I have tried quick installation without custom &quot;install-config.yaml&quot; but it creates new VPC, new Route53, new subnets, new routes etc but that is not my goal. I followed this link <a href="https://docs.openshift.com/container-platform/4.5/installing/installing_aws/installing-aws-vpc.html" rel="nofollow noreferrer">https://docs.openshift.com/container-platform/4.5/installing/installing_aws/installing-aws-vpc.html</a> provided by Redhat changed &quot;install-config.yaml&quot; to input all necessary information but still no luck. The errors I am getting varies for example i get &quot;FATAL failed to fetch Metadata: failed to load asset &quot;Install Config&quot;: invalid &quot;install-config.yaml&quot; file: [platform: Invalid value:&quot;</p>
  <p>In addition to that we are also trying to encrypt EBS volume with KMS according to this page <a href="https://docs.openshift.com/container-platform/4.5/release_notes/ocp-4-5-release-notes.html#ocp-4-5-encrypt-ebs-instance-volumes-with-kms-key" rel="nofollow noreferrer">https://docs.openshift.com/container-platform/4.5/release_notes/ocp-4-5-release-notes.html#ocp-4-5-encrypt-ebs-instance-volumes-with-kms-key</a></p>
  <p>My question is it possible to install openshift version 4.5 on existing AWS VPC inside existing subnet? If so where do I put the values to point to existing VPC and existing subnet.</p>
  <p>Second question is the base install image has to be redhat core os for OCP 4.5  and fedora core os for OKD 4.5 can it be centos ?</p>
  <p>I am using following &quot;install-config.yaml&quot; file to run the install and please note some values are changed.</p>
  <pre><code>apiVersion: v1
  baseDomain: okdv4.example.com
  controlPlane:
    hyperthreading: Enabled
    name: master
    platform:
      aws:
        zones:
        - eu-west-2a
        - eu-west-2b
        rootVolume:
          iops: 4000
          size: 500
          type: io1
          kmsKeyARN: arn:aws:kms:eu-west-2:11111111:key/f2222222222
        type: t3a.large
    replicas: 3
  compute:
  - hyperthreading: Enabled
    name: worker
    platform:
      aws:
        rootVolume:
          iops: 2000
          size: 500
          type: io1
          kmsKeyARN: arn:aws:kms:eu-west-2:11111111:key/f2222222222
        type: t3a.xlarge
        zones:
        - eu-west-2c
    replicas: 3
  metadata:
    name: okd4.cluster
  networking:
    clusterNetwork:
    - cidr: 30.128.0.0/14
      hostPrefix: 23
    machineNetwork:
    - cidr: 30.169.4.0/26
    - cidr: 30.169.4.192/26
    - cidr: 30.169.4.64/26
    networkType: OpenShiftSDN
    serviceNetwork:
    - 30.169.4.128/26
  platform:
    aws:
      region: eu-west-2
      userTags:
        adminContact: John Doe
        costCenter: 700.070
      subnets:
      - subnet-0ae1111111111
      - subnet-0e72222222222
      - subnet-0d33333333333
      - subnet-0b44444444444
      amiID: ami-004b8123456789
      serviceEndpoints:
      - name: ec2
         url: https://ec2.eu-west-2.amazonaws.com
  pullSecret: '{&quot;auths&quot;:{&quot;cloud.openshift.com&quot;:{&quot;auth&quot;:&quot;Nk5NR0tGMUdBTUZHWVJRQkw}}}'
  fips: false
  sshKey: |
    ssh-rsa 3miJ9QzqQi8jVD
  publish: Internal
  </code></pre>