No access to the internet from ec2 instance
Opened this issue · 0 comments
I followed all of your instructions and it says it was successful but there is no internet connection on the ec2 instance so none of the installs are successful. This is easily confirmed by looking in the following log file (see below). I have also tried upgrading the dependency versions but that made no difference.
- A reproducible test case or series of steps: created and populated configs/config.json (everything except the userDataFile, I tried with and without hostedZone and domainName, I tried a t3 micro and a t2 small) then ran 'yarn install' then 'yarn deploy'
- The version of our code being used: 0.1.0
- Any modifications you've made relevant to the bug: n/a
- Anything unusual about your environment or deployment: I am using a MacBook Pro if that helps.
sudo vim /var/log/cloud-init-output.log
Cannot find a valid baseurl for repo: amzn2-core/2/x86_64
Could not retrieve mirrorlist https://amazonlinux-2-repos-eu-west-1.s3.dualstack.eu-west-1.amazonaws.com/2/core/latest/x86_64/mirror.list error was
12: Timeout on https://amazonlinux-2-repos-eu-west-1.s3.dualstack.eu-west-1.amazonaws.com/2/core/latest/x86_64/mirror.list: (28, 'Failed to connect to amazonlinux-2-repos-eu-west-1.s3.dualstack.eu-west-1.amazonaws.com port 443 after 4982 ms: Connection timed out')
Connecting to github.com (github.com)|140.82.121.3|:443... failed: Connection timed out.
ci-info: +++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
ci-info: +-------+-----------------+------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-----------------+------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 172.31.0.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 169.254.169.254 | 0.0.0.0 | 255.255.255.255 | eth0 | UH |
ci-info: | 2 | 172.31.0.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U |
ci-info: +-------+-----------------+------------+-----------------+-----------+-------+