inlets / inletsctl

Create inlets servers on the top cloud platforms
https://docs.inlets.dev/
MIT License
457 stars 63 forks source link

Equinix Metal: Update Image to Ubuntu 20.04 #109

Closed dirien closed 2 years ago

dirien commented 2 years ago

Signed-off-by: Engin Diri engin.diri@mail.schwarz

Fixes #95

Description

How Has This Been Tested?

 go run . create -p equinix-metal --project-id=yyy --access-token=xxx --region=fr2
Using provider: equinix-metal
Requesting host: jolly-bassi0 in fr2, from equinix-metal
Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: 
[1/500] Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: provisioning
[2/500] Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: provisioning
[3/500] Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: provisioning
[4/500] Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: provisioning
...
[36/500] Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: provisioning
[37/500] Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: provisioning
[38/500] Host: 76a80375-b701-4deb-ad01-e823eace1efd, status: active
inlets PRO TCP (0.8.6) server summary:
  IP: 145.40.93.57
  Auth-token: xxx

Start Exit Node

inlets-pro tcp client --url "wss://145.40.93.57:8123" \
  --token "xxxx" \
  --upstream $UPSTREAM \
  --ports $PORTS

2021/07/27 06:53:05 Starting TCP client. Version 0.8.5 - 8db64ded51b1455cf4ad027c52bc9cfbeb55c4b3
2021/07/27 06:53:05 Licensed to: Engin Diri <Engin.Diri@mail.schwarz>, expires: 26 day(s)
2021/07/27 06:53:05 Upstream server: localhost, for ports: 8080
inlets-pro client. Copyright Alex Ellis, OpenFaaS Ltd 2020
INFO[2021/07/27 06:53:06] Connecting to proxy                           url="wss://145.40.93.57:8123/connect"
INFO[2021/07/27 06:53:07] Connection established.. OK.

Test Local Service:

➜  ~ curl 145.40.93.57:8080
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>

<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>

<p><em>Thank you for using nginx.</em></p>
</body>
</html>

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have: