To deploy a Cloudflare Workers serverless function, you'll need to sign up for a free Cloudflare Workers account at workers.cloudflare.com, and select your unique workers.dev subdomain to deploy your functions to.
A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.
Kristian Freeman: To deploy our first serverless function to Cloudflare Workers, we'll need to sign up for a Cloudflare Workers account and pick our workers.dev subdomain. Navigate to workers.cloudflare.com, and click the Sign up button.
Here, I'll just put a new email and password. Once I've created my account, I can pick my Cloudflare Workers subdomain. Every user of Cloudflare Workers has their own unique workers.dev sub domain, which means that I can deploy, for instance, mywebsite.signalnerve4360.workers.dev.
In this case, I'll just put my name, Kristian. Oh, looks like it's not available, so I'll do khristianfreeman.workers.dev. For instance, I can see, "A Worker named my worker would be deployed to myworker.kristianfreeman.workers.dev."
I'll click setup, and then I can choose my worker's plan. Right now, there's two plans. The Free plan is obviously $ and includes 100,000 requests per day as well as access to worker's KV. For now, this is all we need to deploy our first serverless function.
Though if you ever find yourself working with a worker that has a ton of requests or needs a lot more features, you can check out Workers Bundle. That's only $5 per month.
The last thing to do is to confirm my email. Here, I have my Cloudflare, "Please verify your email address." I'll just click this link. Now, I've verified my account, and I'm in the Workers' Dashboard.