<p>Here is the output of minikube dashbaord</p>

<pre><code>ubuntu@ip-172-31-5-166:~$ minikube dashboard
* Enabling dashboard ...
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:45493/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
  - http://127.0.0.1:45493/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/
</code></pre>

<p>I have enabled port 45493 at Security Group Level and also on Linux VM. However,, when I'm trying to access the Kube dashboard, I don't have luck</p>

<pre><code>wget http://13.211.44.210:45493/
--2020-04-16 05:50:52--  http://13.211.44.210:45493/
Connecting to 13.211.44.210:45493... failed: Connection refused.
</code></pre>

<p>However, when I do the below, it works and produces index.html file with status code 200</p>

<pre><code>wget http://127.0.0.1:45493/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/
--2020-04-16 05:52:55--  http://127.0.0.1:45493/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/
Connecting to 127.0.0.1:45493... connected.
HTTP request sent, awaiting response... 200 OK
</code></pre>

<p>Steps to reproduce at high level is as below:</p>

<ol>
<li>EC2 Ubuntu of size t2.large</li>
<li>Install minikube, <code>minikube start --driver=docker</code></li>
<li><p>Perform deployment as like k<code>ubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml</code></p></li>
<li><p>kubectl get pods -n kubernetes-dashboard
    NAME                                         READY   STATUS    RESTARTS   AGE
    dashboard-metrics-scraper-84bfdf55ff-xx8pl   1/1     Running   0          26m
    kubernetes-dashboard-bc446cc64-7nl68         1/1     Running   0          26m</p></li>
</ol>

<p>5.kubectl get svc -n kubernetes-dashboard                                                               </p>

<pre><code>TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
dashboard-metrics-scraper   ClusterIP   10.102.85.110   &lt;none&gt;        8000/TCP   40m
kubernetes-dashboard        ClusterIP   10.99.75.241    &lt;none&gt;        80/TCP     40m
</code></pre>

<p>My question is why I'm unable to access the internet?</p>

learner
<p>This is by design, minikube is a development tool for local environments.
You can deploy an ingress or loadbalancer service to expose the dashboard, if you really know what you are doing.</p>
