AWS上に導入したOpenShiftを削除する

#はじめに
[こちら](https://qiita.com/rjegg/items/ec164cedd53a5e0ad72a)で構築し、[こちら](https://qiita.com/rjegg/items/24857b8c0529bb77b7bb)でノードを拡張したAWS上のOpenShiftを削除した際の情報です。

#削除実行
OpenShiftのインストーラーのdestroyオプションをつけた`openshift-install destroy cluster`を実行し、OpenShiftクラスターを削除します。（おまけで、dateコマンドで実行時間を測ってみました）
参考：[1.5. AWS でのクラスターのアンインストール](https://access.redhat.com/documentation/ja-jp/openshift_container_platform/4.2/html/installing/uninstalling-cluster-aws)

```
$ date; ./openshift-install destroy cluster; date
Fri Dec 27 15:53:05 JST 2019
INFO Disassociated                                 instance=i-06040dc85dd9592fc name=ocp4-aws-qt9tx-worker-profile role=ocp4-aws-qt9tx-worker-role
INFO Deleted                                       InstanceProfileName=ocp4-aws-qt9tx-worker-profile arn="arn:aws:iam::771205398267:instance-profile/ocp4-aws-qt9tx-worker-profile" instance=i-06040dc85dd9592fc
INFO Terminating                                   instance=i-06040dc85dd9592fc
INFO Disassociated                                 instance=i-0803a574bb5dcf187 name=ocp4-aws-qt9tx-master-profile role=ocp4-aws-qt9tx-master-role
INFO Deleted                                       InstanceProfileName=ocp4-aws-qt9tx-master-profile arn="arn:aws:iam::771205398267:instance-profile/ocp4-aws-qt9tx-master-profile" instance=i-0803a574bb5dcf187
INFO Terminating                                   instance=i-0803a574bb5dcf187
INFO Terminating                                   instance=i-012eff808ea3842da
INFO Terminating                                   instance=i-065bc63aa80a65978
INFO Terminating                                   instance=i-0f42eefbd8db37e95
INFO Terminating                                   instance=i-012889902c4ae4ef1
INFO Terminating                                   instance=i-0a47cfbff48b4e0b0
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-02e1e4e19f18b8611" id=rtbassoc-01dc9cba49464f04f
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-02e1e4e19f18b8611" id=rtbassoc-0168b2255307b23bd
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-02e1e4e19f18b8611" id=rtbassoc-06b47701ae08fc2b3
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-02e1e4e19f18b8611" id=rtbassoc-0bda01b42df9b8e63
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-02e1e4e19f18b8611" id=rtbassoc-08f3ab4e97aeeb3ab
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-02e1e4e19f18b8611" id=rtbassoc-0609a60b123b88255
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0ea4524ccf029f28f" id=rtbassoc-05f318266b1ade8ea
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0ea4524ccf029f28f" id=rtb-0ea4524ccf029f28f
INFO Deleted                                       arn="arn:aws:s3:::ocp4-aws-qt9tx-image-registry-us-east-1-nkwcrevfniclclcsemiohe"
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:natgateway/nat-040ad819ac587f213" id=nat-040ad819ac587f213
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" classic load balancer=a62dfbe6327ed11ea8c801259770d53d id=vpc-01492d360c1c2b78c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c load balancer=loadbalancer/net/ocp4-aws-qt9tx-ext/3f30b09520360596
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c load balancer=loadbalancer/net/ocp4-aws-qt9tx-int/f33eacc835a42193
INFO Deleted                                       NAT gateway=nat-03fccbb7ed2ff88d7 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-04281cedb1ab54337 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-0445b59e3d0acd857 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-040ad819ac587f213 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-0757f4759e227f2ba arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-019bb4873d2ce3d37 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:natgateway/nat-0445b59e3d0acd857" id=nat-0445b59e3d0acd857
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0903aae972cfd8646" id=rtbassoc-00af4ae18370a5cf0
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0903aae972cfd8646" id=rtb-0903aae972cfd8646
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-097fc2e09db9bfcb0" id=rtbassoc-09791dd659204a790
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-097fc2e09db9bfcb0" id=rtb-097fc2e09db9bfcb0
INFO Deleted                                       arn="arn:aws:elasticloadbalancing:us-east-1:771205398267:loadbalancer/net/ocp4-aws-qt9tx-ext/3f30b09520360596" id=net/ocp4-aws-qt9tx-ext/3f30b09520360596
INFO Deleted                                       arn="arn:aws:elasticloadbalancing:us-east-1:771205398267:targetgroup/ocp4-aws-qt9tx-aint/077c731b1242ca95" id=ocp4-aws-qt9tx-aint/077c731b1242ca95
INFO Deleted                                       arn="arn:aws:elasticloadbalancing:us-east-1:771205398267:targetgroup/ocp4-aws-qt9tx-sint/cfbfe86104a8d329" id=ocp4-aws-qt9tx-sint/cfbfe86104a8d329
INFO Deleted                                       arn="arn:aws:elasticloadbalancing:us-east-1:771205398267:targetgroup/ocp4-aws-qt9tx-aext/ed1c99f0f74420dc" id=ocp4-aws-qt9tx-aext/ed1c99f0f74420dc
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0f901451df5c8434c" id=rtbassoc-0e38054ada7b07f29
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0f901451df5c8434c" id=rtb-0f901451df5c8434c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:security-group/sg-03c4806a31ed92087" id=sg-03c4806a31ed92087
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:image/ami-00cc71894642d7665" id=ami-00cc71894642d7665
INFO Deleted                                       arn="arn:aws:elasticloadbalancing:us-east-1:771205398267:loadbalancer/a62dfbe6327ed11ea8c801259770d53d" id=a62dfbe6327ed11ea8c801259770d53d
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0ad9db016c511a942" id=rtbassoc-04e9c7e660ca1d7c8
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-0ad9db016c511a942" id=rtb-0ad9db016c511a942
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:subnet/subnet-0083d4bbcc874c817" id=subnet-0083d4bbcc874c817
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:natgateway/nat-03fccbb7ed2ff88d7" id=nat-03fccbb7ed2ff88d7
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:natgateway/nat-04281cedb1ab54337" id=nat-04281cedb1ab54337
INFO Disassociated                                 arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-018223da4cf37dab1" id=rtbassoc-08af490fd7573a0bf
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:route-table/rtb-018223da4cf37dab1" id=rtb-018223da4cf37dab1
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ record set="SRV _etcd-server-ssl._tcp.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ record set="A api-int.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ public zone=/hostedzone/Z3E4ARDG6RG5M record set="A api.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ record set="A api.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ public zone=/hostedzone/Z3E4ARDG6RG5M record set="A \\052.apps.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ record set="A \\052.apps.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ record set="A etcd-0.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ record set="A etcd-1.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ record set="A etcd-2.ocp4-aws.iseocp2019.net."
INFO Deleted                                       arn="arn:aws:route53:::hostedzone/Z03959811O3E58RT0IIXQ" id=Z03959811O3E58RT0IIXQ
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:natgateway/nat-019bb4873d2ce3d37" id=nat-019bb4873d2ce3d37
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:natgateway/nat-0757f4759e227f2ba" id=nat-0757f4759e227f2ba
INFO Released                                      arn="arn:aws:ec2:us-east-1:771205398267:elastic-ip/eipalloc-0aec069ffdef268e1" id=eipalloc-0aec069ffdef268e1
INFO Deleted                                       arn="arn:aws:iam::771205398267:role/ocp4-aws-qt9tx-master-role" id=ocp4-aws-qt9tx-master-role name=ocp4-aws-qt9tx-master-role policy=ocp4-aws-qt9tx-master-policy
INFO Deleted                                       arn="arn:aws:iam::771205398267:role/ocp4-aws-qt9tx-master-role" id=ocp4-aws-qt9tx-master-role name=ocp4-aws-qt9tx-master-role
INFO Deleted                                       arn="arn:aws:iam::771205398267:role/ocp4-aws-qt9tx-worker-role" id=ocp4-aws-qt9tx-worker-role name=ocp4-aws-qt9tx-worker-role policy=ocp4-aws-qt9tx-worker-policy
INFO Deleted                                       arn="arn:aws:iam::771205398267:role/ocp4-aws-qt9tx-worker-role" id=ocp4-aws-qt9tx-worker-role name=ocp4-aws-qt9tx-worker-role
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-cloud-credential-operator-iam-ro-m4l4k" id=ocp4-aws-qt9tx-cloud-credential-operator-iam-ro-m4l4k policy=ocp4-aws-qt9tx-cloud-credential-operator-iam-ro-m4l4k-policy
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-cloud-credential-operator-iam-ro-m4l4k" id=ocp4-aws-qt9tx-cloud-credential-operator-iam-ro-m4l4k
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-openshift-image-registry-g94jm" id=ocp4-aws-qt9tx-openshift-image-registry-g94jm policy=ocp4-aws-qt9tx-openshift-image-registry-g94jm-policy
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-openshift-image-registry-g94jm" id=ocp4-aws-qt9tx-openshift-image-registry-g94jm
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-openshift-ingress-gfzt9" id=ocp4-aws-qt9tx-openshift-ingress-gfzt9 policy=ocp4-aws-qt9tx-openshift-ingress-gfzt9-policy
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-openshift-ingress-gfzt9" id=ocp4-aws-qt9tx-openshift-ingress-gfzt9
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-openshift-machine-api-aws-xvn86" id=ocp4-aws-qt9tx-openshift-machine-api-aws-xvn86 policy=ocp4-aws-qt9tx-openshift-machine-api-aws-xvn86-policy
INFO Deleted                                       arn="arn:aws:iam::771205398267:user/ocp4-aws-qt9tx-openshift-machine-api-aws-xvn86" id=ocp4-aws-qt9tx-openshift-machine-api-aws-xvn86
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:subnet/subnet-0dfc8d949f581b3a4" id=subnet-0dfc8d949f581b3a4
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:subnet/subnet-0b99c81485fc8cf27" id=subnet-0b99c81485fc8cf27
INFO Released                                      arn="arn:aws:ec2:us-east-1:771205398267:elastic-ip/eipalloc-00abdc6b46a5f59e7" id=eipalloc-00abdc6b46a5f59e7
INFO Released                                      arn="arn:aws:ec2:us-east-1:771205398267:elastic-ip/eipalloc-056562cbcb2d980b4" id=eipalloc-056562cbcb2d980b4
INFO Released                                      arn="arn:aws:ec2:us-east-1:771205398267:elastic-ip/eipalloc-0880b2ef3d5601cb8" id=eipalloc-0880b2ef3d5601cb8
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:subnet/subnet-09e8583dcedb0ffd0" id=subnet-09e8583dcedb0ffd0
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:subnet/subnet-08a07bd03ca99d986" id=subnet-08a07bd03ca99d986
INFO Deleted                                       NAT gateway=nat-03fccbb7ed2ff88d7 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-04281cedb1ab54337 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-0445b59e3d0acd857 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-040ad819ac587f213 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-0757f4759e227f2ba arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-019bb4873d2ce3d37 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c network interface=eni-0915373cbb9dd01a9
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c network interface=eni-0e528020924db9c37
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c network interface=eni-07bba9f8f6e1bc331
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c table=rtb-0f607db5dcf2133e8
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c security group=sg-035be00242538d9cc
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c security group=sg-04d1f4bb8b4e29025
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c subnet=subnet-01a083e332e19a16c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c subnet=subnet-003e12c62103f5337
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c subnet=subnet-05b743070159bb2ee
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c subnet=subnet-05c1de071974f5ab5
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c subnet=subnet-01280008eb65adc72
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c subnet=subnet-0cce0b7ee560b45f3
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c subnet=subnet-00516b38f815ad971
INFO Deleted                                       VPC endpoint=vpce-0293993c2b9171bde arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:internet-gateway/igw-0fedca7c9d644922d" id=igw-0fedca7c9d644922d
INFO Released                                      arn="arn:aws:ec2:us-east-1:771205398267:elastic-ip/eipalloc-03006a2c1cd1dcd9e" id=eipalloc-03006a2c1cd1dcd9e
INFO Released                                      arn="arn:aws:ec2:us-east-1:771205398267:elastic-ip/eipalloc-0eda61b7a2fbb29e9" id=eipalloc-0eda61b7a2fbb29e9
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:snapshot/snap-063e4bb2a68b2e702" id=snap-063e4bb2a68b2e702
INFO Deleted                                       NAT gateway=nat-03fccbb7ed2ff88d7 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-04281cedb1ab54337 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-0445b59e3d0acd857 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-040ad819ac587f213 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-0757f4759e227f2ba arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       NAT gateway=nat-019bb4873d2ce3d37 arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:vpc/vpc-01492d360c1c2b78c" id=vpc-01492d360c1c2b78c
INFO Deleted                                       arn="arn:aws:ec2:us-east-1:771205398267:dhcp-options/dopt-08828cc5fb0ecd133" id=dopt-08828cc5fb0ecd133
Fri Dec 27 15:57:58 JST 2019
```

#まとめ
5分弱で今回構築したAWS上のOpenShift環境が削除されました。AWSのリソースはすべて綺麗サッパリ削除されていました。
今回workerノードを追加していましたが、一緒に削除されています。