<p>Please, help me to deal with accessibility of my simple application of k8s, via traefik in AWS.</p>

<p>I tried to expose ports 30000-32767 on master node, in security group and app is accessible from the world, doesn't want to work just 80 port of traefik! When I tried to expose 80 port in security group of master, I got <strong>CONNECTION REFUSED</strong>, when try access my app in browser and when I delete exposed port get an error <strong>CONNECTION TIMEOUT</strong> in browser.. what is the problem??? All services of k8s are up and no errors in traefik.</p>

<p>KOPS:</p>

<pre><code>kops create cluster \
--node-count = 2 \
--networking calico \
--node-size = t2.micro \
--master-size = t2.micro \
--master-count = 1 \
--zones = us-east-1a \
--name = ${KOPS_CLUSTER_NAME}
</code></pre>

<p>K8S app.yml and traefik.yml:</p>

<ol>
<li>app</li>
</ol>

<p><a href="https://pastebin.com/WtEe633x" rel="nofollow noreferrer">https://pastebin.com/WtEe633x</a></p>

<ol start="2">
<li>traefik</li>
</ol>

<p><a href="https://pastebin.com/pnPJVPBP" rel="nofollow noreferrer">https://pastebin.com/pnPJVPBP</a></p>

<p>When I will type myapp.com, want to get an output of echoserver app on 80 port.</p>

Stefan
<p>Omg, problem was the next.. I have illegal domain name, so I tried to register a new free legal domain on freenom.com. Set Amazon's NS records in domain settings, created hosted zone of new domain in R53, with alias A record to domain name of loadbalancer and it works! Also changed type: NodePort to type: LoadBalancer in service config of traefik.</p>
