Skip to content

Commit 1b08737

Browse files
committed
Switch referral code
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 7fb0260 commit 1b08737

9 files changed

+18
-18
lines changed

_posts/2018-08-27-deploy-digitalocean-ansible.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ author_staff_member: richard
1212
dark_background: true
1313
---
1414

15-
This article will demonstrate how to have an [OpenFaaS](https://www.openfaas.com/) instance up and running on a [DigitalOcean](https://m.do.co/c/2962aa9e56a1) droplet in around 5 minutes through an [Ansible](https://www.ansible.com/) playbook. You can pick either Kubernetes or Docker Swarm in the tutorial.
15+
This article will demonstrate how to have an [OpenFaaS](https://www.openfaas.com/) instance up and running on a [DigitalOcean](https://m.do.co/c/8d4e75e9886f) droplet in around 5 minutes through an [Ansible](https://www.ansible.com/) playbook. You can pick either Kubernetes or Docker Swarm in the tutorial.
1616

1717
![DigitalOcean Logo](/images/deploy-digitalocean-ansible/digital_ocean.svg)
1818

@@ -40,8 +40,8 @@ $ curl -sSL get.docker.com | sh
4040
```
4141

4242
## DigitalOcean account
43-
In order to deploy onto [DigitalOcean](https://m.do.co/c/2962aa9e56a1) the reader must have an account and enable API access by generating an API key.
44-
> A DigitalOcean account with $100/60 days of credit can be [created here](https://m.do.co/c/2962aa9e56a1) - $100 is enough to try out this post and much more besides.
43+
In order to deploy onto [DigitalOcean](https://m.do.co/c/8d4e75e9886f) the reader must have an account and enable API access by generating an API key.
44+
> A DigitalOcean account with $100/60 days of credit can be [created here](https://m.do.co/c/8d4e75e9886f) - $100 is enough to try out this post and much more besides.
4545
4646
### Create and upload an SSH key
4747

_posts/2019-02-04-digitalocean-one-click.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In this post we'll guide you through creating your first OpenFaaS function using
2828

2929
* A DigitalOcean account
3030

31-
You will need to use your [DigitalOcean](https://m.do.co/c/2962aa9e56a1) account. If you're a new user then you can get credits of $100 over 60 days using this [referral link](https://m.do.co/c/2962aa9e56a1). This is a generous amount of credit with the most economic Droplet size being just $5 a month.
31+
You will need to use your [DigitalOcean](https://m.do.co/c/8d4e75e9886f) account. If you're a new user then you can get credits of $100 over 60 days using this [referral link](https://m.do.co/c/8d4e75e9886f). This is a generous amount of credit with the most economic Droplet size being just $5 a month.
3232

3333
* The OpenFaaS CLI
3434

_posts/2019-02-14-serverless-single-page-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ At runtime OpenFaaS secrets are made available via `/var/openfaas/secrets/<name>
177177

178178
* Postgres
179179

180-
In this example I am using [Postgres 10](https://www.postgresql.org/docs/10/index.html) hosted on [DigitalOcean](https://m.do.co/c/2962aa9e56a1) using the new DBaaS service. It costs around 15 USD at time of writing and gives a node which can accept 22 concurrent connections and has 1GB RAM, 10GB storage.
180+
In this example I am using [Postgres 10](https://www.postgresql.org/docs/10/index.html) hosted on [DigitalOcean](https://m.do.co/c/8d4e75e9886f) using the new DBaaS service. It costs around 15 USD at time of writing and gives a node which can accept 22 concurrent connections and has 1GB RAM, 10GB storage.
181181

182182
You can read the DigitalOcean press-release here: [Announcing Managed Databases starting with Postgres](https://blog.digitalocean.com/announcing-managed-databases-for-postgresql)
183183

184184
![](/images/single-page/do-postgres-cluster.png)
185185

186-
If you are following along then head over to your [DigitalOcean dashboard](https://m.do.co/c/2962aa9e56a1) or use these [free credits](https://m.do.co/c/8d4e75e9886f) to sign-up today and provision your Postgres instance. Take a note of all the parameters needed to connect and secure your database.
186+
If you are following along then head over to your [DigitalOcean dashboard](https://m.do.co/c/8d4e75e9886f) or use these [free credits](https://m.do.co/c/8d4e75e9886f) to sign-up today and provision your Postgres instance. Take a note of all the parameters needed to connect and secure your database.
187187

188188
When running locally, you can just [install Postgres with helm](https://github.com/helm/charts/tree/master/stable/postgresql) and then update the hostname to use in-cluster DNS.
189189

_posts/2019-07-29-custom-domains-function-ingress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To run through the tutorial, you will need to have some software set up already
3535

3636
You need to have a Kubernetes cluster. I recommend using [DigitalOcean Kubernetes](https://www.digitalocean.com/) for an easy and cost-efficient set-up.
3737

38-
[Get free credits](https://m.do.co/c/2962aa9e56a1)
38+
[Get free credits](https://m.do.co/c/8d4e75e9886f)
3939

4040
* helm
4141

_posts/2019-08-20-serverless-static-sites.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A note from [Alex Ellis, OpenFaaS Founder](https://www.openfaas.com/team/):
3131

3232
* Kubernetes
3333

34-
You need to have a Kubernetes cluster up & running. I would recommend [DigitalOcean](https://www.digitalocean.com/), it's cost-efficient and very easy to set-up. [Get free credits](https://m.do.co/c/2962aa9e56a1).
34+
You need to have a Kubernetes cluster up & running. I would recommend [DigitalOcean](https://www.digitalocean.com/), it's cost-efficient and very easy to set-up. [Get free credits](https://m.do.co/c/8d4e75e9886f).
3535

3636
* [Install Helm](https://github.com/openfaas/faas-netes/blob/master/HELM.md)
3737

@@ -78,7 +78,7 @@ You'll need to install the Hugo CLI. Use it to create a static site and to serve
7878

7979
* DNS management
8080

81-
You'll need to create an A record to serve your static site. I'm using [DigitalOcean](https://m.do.co/c/2962aa9e56a1) which offers free domain management at time of writing.
81+
You'll need to create an A record to serve your static site. I'm using [DigitalOcean](https://m.do.co/c/8d4e75e9886f) which offers free domain management at time of writing.
8282

8383
The easiest way to create DNS records is with the DigitalOcean CLI: [install doctl](https://github.com/digitalocean/doctl#installing-doctl).
8484

@@ -188,7 +188,7 @@ nginxingress-nginx-ingress-controller LoadBalancer 10.245.116.147 159
188188

189189
You can see that my external IP address is: `159.89.221.240`.
190190

191-
If you are getting started with DNS management I recommend [DigitalOcean](https://m.do.co/c/2962aa9e56a1) which is free and easy to use. Here is how I use the CLI to create the record for `my-site.matiaspan.dev`:
191+
If you are getting started with DNS management I recommend [DigitalOcean](https://m.do.co/c/8d4e75e9886f) which is free and easy to use. Here is how I use the CLI to create the record for `my-site.matiaspan.dev`:
192192

193193
```sh
194194
doctl compute domain create my-site.matiaspan.dev --ip-address 159.89.221.240

_posts/2019-12-03-asp-net-core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The complete code example is [available on GitHub](https://github.com/alexellis/
3636

3737
### Setup OpenFaaS
3838

39-
It's assumed that you already have Kubernetes and OpenFaaS set up, but if you do not then [k3d](https://github.com/k3d-io/k3d), [KinD](https://kind.sigs.k8s.io), and [minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/) can make good local options. I like working with remote clusters since they don't affect the battery life of my laptop, or the CPU/memory of my desktop and are always ready. A good option for a cheap remote cluster may be [DigitalOcean.com](https://m.do.co/c/2962aa9e56a1) or [Civo.com](https://civo.com/).
39+
It's assumed that you already have Kubernetes and OpenFaaS set up, but if you do not then [k3d](https://github.com/k3d-io/k3d), [KinD](https://kind.sigs.k8s.io), and [minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/) can make good local options. I like working with remote clusters since they don't affect the battery life of my laptop, or the CPU/memory of my desktop and are always ready. A good option for a cheap remote cluster may be [DigitalOcean.com](https://m.do.co/c/8d4e75e9886f) or [Civo.com](https://civo.com/).
4040

4141
I'll provide two resources for you to get started:
4242

_posts/2021-10-05-migrating-derek-from-docker-swarm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ I'll now show you how to set up faasd on Equinix Metal's bare-metal platform. If
8383

8484
We're using [Johan Siebens' module for faasd and Equinix Metal](https://github.com/jsiebens/terraform-equinix-faasd). It abstracts and automates the installation of faasd using cloud-init and will return the URL and username/password for OpenFaaS after the machine is provisioned.
8585

86-
There is also an example for [DigitalOcean](https://m.do.co/c/2962aa9e56a1) in the [faasd repository](https://github.com/openfaas/faasd/tree/master/docs/bootstrap).
86+
There is also an example for [DigitalOcean](https://m.do.co/c/8d4e75e9886f) in the [faasd repository](https://github.com/openfaas/faasd/tree/master/docs/bootstrap).
8787

8888
* Create an account on Equinix Metal, you'll also create a project, so note down the project ID. Projects are the logical separation used on the platform and are required for API calls.
8989
* Run `export PROJECT_ID="..."` so that you can use it later on.

_posts/2023-03-02-import-leads-from-google-forms-to-crm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ That's where OpenFaaS Community Edition or Pro comes in. You have the ultimate f
529529

530530
* If you are looking for really low overheads, then you can can't go far wrong with faasd that runs on a single VM
531531

532-
"faasd" was designed to be installed on a cloud host and requires very little maintenance once installed. That's where I am running the two functions I mentioned in this post. Even a 10-15 USD / mo [Linode Nanode](https://www.openfaas.com/images/sponsors/linode.svg) or [DigitalOcean Droplet](https://m.do.co/c/2962aa9e56a1) is enough to run [faasd](http://github.com/openfaas/faasd).
532+
"faasd" was designed to be installed on a cloud host and requires very little maintenance once installed. That's where I am running the two functions I mentioned in this post. Even a 10-15 USD / mo [Linode Nanode](https://www.openfaas.com/images/sponsors/linode.svg) or [DigitalOcean Droplet](https://m.do.co/c/8d4e75e9886f) is enough to run [faasd](http://github.com/openfaas/faasd).
533533

534534
faasd has its own eBook, and if you're more of a JavaScript developer than a Go developer, you'll find lots of practical code examples that you can use to write your own automations and functions: [Serverless for Everyone Else](https://store.openfaas.com/l/serverless-for-everyone-else)
535535

_posts/2023-03-15-cluster-autoscaling-with-digitalocean.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ If you've heard of or worked with OpenFaaS in the past, you'll know that it has
1717

1818
The two perform very difficult tasks, but in similar ways and should be configured properly to work in harmony.
1919

20-
I'll show you how to setup OpenFaaS Pro with [DigitalOcean's](https://m.do.co/c/2962aa9e56a1) managed Kubernetes service, and how to configure your functions to run there.
20+
I'll show you how to setup OpenFaaS Pro with [DigitalOcean's](https://m.do.co/c/8d4e75e9886f) managed Kubernetes service, and how to configure your functions to run there.
2121

2222
The concepts are going to very similar for other managed Kubernetes services too - like AWS EKS, GKE, Azure AKS and Linode Kubernetes. You'll also see plenty of screenshots and extra links, as we also cover Google Cloud and AWS EKS.
2323

2424
By the end of the tutorial, you'll have two node pools: one for the core services which shouldn't be disrupted, and another for functions that can scale by adding in new nodes as required.
2525

2626
Even if your load is static and predictable, spot instances also rely on cluster autoscaling and are usually up to 50-70% cheaper than statically provisioned nodes.
2727

28-
> Disclosure: From time to time, the DigitalOcean Open Source team has issued the OpenFaaS maintainers with cloud credit for open source enablement. If you'd like to try out the tutorial, you can get 200 USD of credit to use over 60 days, if you're a new user. [Use this referral link to claim it](https://m.do.co/c/2962aa9e56a1).
28+
> Disclosure: From time to time, the DigitalOcean Open Source team has issued the OpenFaaS maintainers with cloud credit for open source enablement. If you'd like to try out the tutorial, you can get 200 USD of credit to use over 60 days, if you're a new user. [Use this referral link to claim it](https://m.do.co/c/8d4e75e9886f).
2929
3030
## Overview
3131

@@ -51,7 +51,7 @@ That's where the cluster auto-scaler comes in. If the cluster is under-provision
5151
![A node pool with some spare capacity](/images/2023-03-cluster-scaling-do/node-pool-partial.png)
5252
> A node pool with some spare capacity
5353
54-
Each cluster auto-scaler is different, and in the case of [DigitalOcean](https://m.do.co/c/2962aa9e56a1), you don't need to install it - it's managed for you. There didn't seem to be a way to fine tune it when installed through the DigitalOcean UI.
54+
Each cluster auto-scaler is different, and in the case of [DigitalOcean](https://m.do.co/c/8d4e75e9886f), you don't need to install it - it's managed for you. There didn't seem to be a way to fine tune it when installed through the DigitalOcean UI.
5555

5656
See also:
5757
* [DigitalOcean's cluster auto-scaler set-up guide](https://docs.digitalocean.com/products/kubernetes/how-to/autoscale/)
@@ -268,13 +268,13 @@ We have a number of autoscaler test suites and sample functions which you can ru
268268

269269
See also: [OpenFaaS autoscaler tests](https://github.com/openfaas/openfaas-autoscaler-tests/)
270270

271-
With [DigitalOcean](https://m.do.co/c/2962aa9e56a1) Kubernetes in particular, every node gets 1GB of Pods schedule to it before you get to run any of your work Pods. Bear this in mind, and make sure that you have enough resources to run the functions you need.
271+
With [DigitalOcean](https://m.do.co/c/8d4e75e9886f) Kubernetes in particular, every node gets 1GB of Pods schedule to it before you get to run any of your work Pods. Bear this in mind, and make sure that you have enough resources to run the functions you need.
272272

273273
> I got caught out during testing, where three nodes were added with 1GB of free RAM, but the auto-scaler didn't remove them again because of all of DigitalOcean's own Pods that it runs.
274274

275275
Cluster auto-scaling is much slower than Pod scaling, machines have to be found, provisioned, loaded up and joined into the cluster. So whilst a Pod may come online in under 2 seconds, a new node could take several minutes in the worst case.
276276

277-
If you'd like to try out the tutorial, you can get 200 USD of credit to use over 60 days, if you're a new user. [Use this referral link to claim it](https://m.do.co/c/2962aa9e56a1).
277+
If you'd like to try out the tutorial, you can get 200 USD of credit to use over 60 days, if you're a new user. [Use this referral link to claim it](https://m.do.co/c/8d4e75e9886f).
278278

279279
**Headroom and heterogenous node sizes**
280280

0 commit comments

Comments
 (0)