Deploying Your First Worker
Learn the steps to deploy your Worker to Cloudflare's edge network and test its live functionality.
Ready to Go Live!
You've learned to set up your environment and write a basic Cloudflare Worker. Now, let's make it accessible to the world!
Deploying your Worker means pushing your code to Cloudflare's global network, making it run at the 'edge' – closer to your users.
Before You Publish
Before deploying, ensure you've completed a couple of essential steps:
- Cloudflare Account: You need an active Cloudflare account.
- Wrangler Login: You must be logged in to Wrangler CLI. If not, run
wrangler loginto authenticate with your Cloudflare account.
These prerequisites ensure Wrangler has permission to deploy to your account.
All lessons in this course
- Setting Up Worker Environment
- Handling HTTP Requests
- Deploying Your First Worker
- Environment Variables & Secrets in Workers