Sorry for another question and probably off-topic question. Workshop documentation states that it only works in eu-west-1, which it does.
I've been trying to create K8s cluster in us-east-1, so I've used pretty much same steps to setup, then create net, iam. etc. However, I got stuck on nodeg
step. Using same exact EC2 image name. Nodegroup is created successfully, but nodes do not join the cluster. Instance system log shows yum unable to access its repository. I verified that S3 Gateway is configured with all the subnets. Everything is the same, give or take the region identifier.
Not to burden you with my problems, but perhaps you are familiar with what may be causing it. Below is the relevant part of the log where my case starts deviating from your workshop's instance log.
ip-10-0-1-231 login: [ 33.576209] cloud-init[2327]: One of the configured repositories failed (Unknown),
[ 33.577812] cloud-init[2327]: and yum doesn't have enough cached data to continue. At this point the only
[ 33.579377] cloud-init[2327]: safe thing yum can do is fail. There are a few ways to work "fix" this:
[ 33.580930] cloud-init[2327]: 1. Contact the upstream for the repository and get them to fix the problem.
[ 33.582206] cloud-init[2327]: 2. Reconfigure the baseurl/etc. for the repository, to point to a working
[ 33.582450] cloud-init[2327]: upstream. This is most often useful if you are using a newer
[ 33.582611] cloud-init[2327]: distribution release than is supported by the repository (and the
[ 33.582772] cloud-init[2327]: packages for the previous distribution release still work).
[ 33.582932] cloud-init[2327]: 3. Run the command with the repository temporarily disabled
[ 33.583085] cloud-init[2327]: yum --disablerepo=<repoid> ...
[ 33.583239] cloud-init[2327]: 4. Disable the repository permanently, so yum won't use it by default. Yum
[ 33.583389] cloud-init[2327]: will then just ignore the repository until you permanently enable it
[ 33.583548] cloud-init[2327]: again or use --enablerepo for temporary usage:
[ 33.583705] cloud-init[2327]: yum-config-manager --disable <repoid>
[ 33.583857] cloud-init[2327]: or
[ 33.584004] cloud-init[2327]: subscription-manager repos --disable=<repoid>
[ 33.584156] cloud-init[2327]: 5. Configure the failing repository to be skipped, if it is unavailable.
[ 33.584307] cloud-init[2327]: Note that yum will try to contact the repo. when it runs most commands,
[ 33.584463] cloud-init[2327]: so will have to try and fail each time (and thus. yum will be be much
[ 33.584616] cloud-init[2327]: slower). If it is a very temporary problem though, this is often a nice
[ 33.604566] cloud-init[2327]: compromise:
[ 33.605569] cloud-init[2327]: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
[ 33.606435] cloud-init[2327]: Cannot find a valid baseurl for repo: amzn2-core/2/x86_64
[ 33.606626] cloud-init[2327]: Could not retrieve mirrorlist https://amazonlinux-2-repos-us-east-1.s3.dualstack.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list error was
[ 33.606781] cloud-init[2327]: 12: Timeout on https://amazonlinux-2-repos-us-east-1.s3.dualstack.us-east-1.amazonaws.com/2/core/latest/x86_64/mirror.list: (28, 'Failed to connect to amazonlinux-2-repos-us-east-1.s3.dualstack.us-east-1.amazonaws.com port 443 after 2702 ms: Connection timed out')
[ 33.627903] cloud-init[2327]: Feb 28 22:40:34 cloud-init[2327]: util.py[WARNING]: Package upgrade failed
[ 33.669498] cloud-init[2327]: Feb 28 22:40:34 cloud-init[2327]: cc_package_update_upgrade_install.py[WARNING]: 1 failed with exceptions, re-raising the last one
[ 33.673120] cloud-init[2327]: Feb 28 22:40:34 cloud-init[2327]: util.py[WARNING]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_package_update_upgrade_install.pyc'>) failed
[ 34.141318] cloud-init[2485]: Cloud-init v. 19.3-44.amzn2 running 'modules:final' at Mon, 28 Feb 2022 22:40:34 +0000. Up 34.08 seconds.