Skip to content

Commit e0b1917

Browse files
committed
Remove Equinix Metal
Equinix Metal is too expensive to dedicate a whole bare-metal host to a single inlets tunnel. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent d15763c commit e0b1917

File tree

2 files changed

+7
-20
lines changed

2 files changed

+7
-20
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,13 @@ These costs need to be treated as an estimate and will depend on your bandwidth
157157

158158
| Provider | Price per month | Price per hour | OS image | CPU | Memory | Boot time |
159159
| ------------------------------------------------------------------ | --------------: | -------------: | -----------: | --: | -----: | --------: |
160-
| [Google Compute Engine](https://cloud.google.com/compute) | * ~\$4.28 | ~\$0.006 | Ubuntu 20.04 | 1 | 614MB | ~3-15s |
161-
| [Equinix-Metal](https://metal.equinix.com/) | ~\$360 | \$0.50 | Ubuntu 20.04 | 1 | 32GB | ~45-60s |
162-
| [Digital Ocean](https://www.digitalocean.com/pricing/#Compute) | \$5 | ~\$0.0068 | Ubuntu 18.04 | 1 | 1GB | ~20-30s |
163-
| [Scaleway](https://www.scaleway.com/en/pricing/#virtual-instances) | 5.84€ | 0.01€ | Ubuntu 20.04 | 2 | 2GB | 3-5m |
160+
| [Google Compute Engine](https://cloud.google.com/compute) | * ~\$4.28 | ~\$0.006 | Ubuntu 22.04 | 1 | 614MB | ~3-15s |
161+
| [Digital Ocean](https://www.digitalocean.com/pricing/#Compute) | \$5 | ~\$0.0068 | Ubuntu 22.04 | 1 | 1GB | ~20-30s |
162+
| [Scaleway](https://www.scaleway.com/en/pricing/#virtual-instances) | 5.84€ | 0.01€ | Ubuntu 22.04 | 2 | 2GB | 3-5m |
164163
| [Amazon Elastic Computing 2](https://calculator.aws/#/createCalculator/EC2s) | $3.796 | $0.0052 | Ubuntu 20.04 | 1 | 1GB | 3-5m |
165-
| [Linode](https://www.linode.com/pricing/) | $5 | $0.0075 | Ubuntu 20.04 | 1 | 1GB | ~10-30s |
166-
| [Azure](https://azureprice.net/?cores=1,1&ram=0,11400) | $4.53 | $0.0062 | Ubuntu 20.04 | 1 | 0.5GB | 2-4min |
167-
| [Hetzner](https://www.hetzner.com/cloud) | 4.15€ | €0.007 | Ubuntu 20.04 | 1 | 2GB | ~5-10s |
164+
| [Linode](https://www.linode.com/pricing/) | $5 | $0.0075 | Ubuntu 22.04 | 1 | 1GB | ~10-30s |
165+
| [Azure](https://azureprice.net/?cores=1,1&ram=0,11400) | $4.53 | $0.0062 | Ubuntu 22.04 | 1 | 0.5GB | 2-4min |
166+
| [Hetzner](https://www.hetzner.com/cloud) | 4.15€ | €0.007 | Ubuntu 22.04 | 1 | 2GB | ~5-10s |
168167

169168
* The first f1-micro instance in a GCP Project (the default instance type for inlets-operator) is free for 720hrs(30 days) a month
170169

controller.go

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -756,17 +756,7 @@ func getHostConfig(c *Controller, tunnel *inletsv1alpha1.Tunnel, service *corev1
756756
inletsPort := inletsPROControlPort
757757

758758
switch c.infraConfig.Provider {
759-
case "equinix-metal":
760-
host = provision.BasicHost{
761-
Name: tunnel.Name,
762-
OS: "ubuntu_20_04",
763-
Plan: "c3.small.x86",
764-
Region: c.infraConfig.Region,
765-
UserData: userData,
766-
Additional: map[string]string{
767-
"project_id": c.infraConfig.ProjectID,
768-
},
769-
}
759+
770760
case "digitalocean":
771761
host = provision.BasicHost{
772762
Name: tunnel.Name,
@@ -905,8 +895,6 @@ func getProvisioner(c *Controller) (provision.Provisioner, error) {
905895
var provisioner provision.Provisioner
906896

907897
switch c.infraConfig.Provider {
908-
case "equinix-metal":
909-
provisioner, err = provision.NewEquinixMetalProvisioner(c.infraConfig.GetAccessKey())
910898
case "digitalocean":
911899
provisioner, err = provision.NewDigitalOceanProvisioner(c.infraConfig.GetAccessKey())
912900
case "scaleway":

0 commit comments

Comments
 (0)