You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2018-08-27-deploy-digitalocean-ansible.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ author_staff_member: richard
12
12
dark_background: true
13
13
---
14
14
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.
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.
Copy file name to clipboardExpand all lines: _posts/2019-02-04-digitalocean-one-click.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ In this post we'll guide you through creating your first OpenFaaS function using
28
28
29
29
* A DigitalOcean account
30
30
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.
Copy file name to clipboardExpand all lines: _posts/2019-02-14-serverless-single-page-app.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,13 +177,13 @@ At runtime OpenFaaS secrets are made available via `/var/openfaas/secrets/<name>
177
177
178
178
* Postgres
179
179
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.
181
181
182
182
You can read the DigitalOcean press-release here: [Announcing Managed Databases starting with Postgres](https://blog.digitalocean.com/announcing-managed-databases-for-postgresql)
183
183
184
184

185
185
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.
187
187
188
188
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.
Copy file name to clipboardExpand all lines: _posts/2019-07-29-custom-domains-function-ingress.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ To run through the tutorial, you will need to have some software set up already
35
35
36
36
You need to have a Kubernetes cluster. I recommend using [DigitalOcean Kubernetes](https://www.digitalocean.com/) for an easy and cost-efficient set-up.
Copy file name to clipboardExpand all lines: _posts/2019-08-20-serverless-static-sites.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ A note from [Alex Ellis, OpenFaaS Founder](https://www.openfaas.com/team/):
31
31
32
32
* Kubernetes
33
33
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).
@@ -78,7 +78,7 @@ You'll need to install the Hugo CLI. Use it to create a static site and to serve
78
78
79
79
* DNS management
80
80
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.
82
82
83
83
The easiest way to create DNS records is with the DigitalOcean CLI: [install doctl](https://github.com/digitalocean/doctl#installing-doctl).
You can see that my external IP address is: `159.89.221.240`.
190
190
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`:
Copy file name to clipboardExpand all lines: _posts/2019-12-03-asp-net-core.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ The complete code example is [available on GitHub](https://github.com/alexellis/
36
36
37
37
### Setup OpenFaaS
38
38
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/).
40
40
41
41
I'll provide two resources for you to get started:
Copy file name to clipboardExpand all lines: _posts/2021-10-05-migrating-derek-from-docker-swarm.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ I'll now show you how to set up faasd on Equinix Metal's bare-metal platform. If
83
83
84
84
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.
85
85
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).
87
87
88
88
* 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.
89
89
* Run `export PROJECT_ID="..."` so that you can use it later on.
Copy file name to clipboardExpand all lines: _posts/2023-03-02-import-leads-from-google-forms-to-crm.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -529,7 +529,7 @@ That's where OpenFaaS Community Edition or Pro comes in. You have the ultimate f
529
529
530
530
* If you are looking for really low overheads, then you can can't go far wrong with faasd that runs on a single VM
531
531
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).
533
533
534
534
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)
Copy file name to clipboardExpand all lines: _posts/2023-03-15-cluster-autoscaling-with-digitalocean.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,15 @@ If you've heard of or worked with OpenFaaS in the past, you'll know that it has
17
17
18
18
The two perform very difficult tasks, but in similar ways and should be configured properly to work in harmony.
19
19
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.
21
21
22
22
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.
23
23
24
24
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.
25
25
26
26
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.
27
27
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).
29
29
30
30
## Overview
31
31
@@ -51,7 +51,7 @@ That's where the cluster auto-scaler comes in. If the cluster is under-provision
51
51

52
52
> A node pool with some spare capacity
53
53
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.
@@ -268,13 +268,13 @@ We have a number of autoscaler test suites and sample functions which you can ru
268
268
269
269
See also: [OpenFaaS autoscaler tests](https://github.com/openfaas/openfaas-autoscaler-tests/)
270
270
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.
272
272
273
273
> 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.
274
274
275
275
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.
276
276
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).
0 commit comments