Serverless Apps on Cloudflare
Author | : Ashley Peacock |
Publisher | : Pragmatic Bookshelf |
Total Pages | : 364 |
Release | : 2024-11-07 |
ISBN-10 | : 9798888651469 |
ISBN-13 | : |
Rating | : 4/5 (69 Downloads) |
Book excerpt: Use serverless technologies to build applications that scale, more quickly and easily, and without worrying about deployment. Whether you're writing an API, a full-stack app, or real-time code, harness the power of serverless on Cloudflare's platform so you can focus on what you do best: delivering solutions. With hands-on instruction and code samples throughout, you'll go from building a simple API to analyzing images with AI. And, when it's time to launch, you'll learn how to deploy your applications and websites automatically, and how to optimize their performance for production. For decades, applications have been built and deployed in a similar way: you write code, provision a server, and upload your code. Over the years, you've graduated from FTP or SSH to Docker and Kubernetes, but fundamentally you've just switched from owning to renting; you're paying 24/7 for the server hosting your app. Serverless technologies change that model. With serverless, you focus on writing code, and not how it's deployed. You only pay for when your application code is executed, rather than paying for idle servers. In this book we'll use Cloudflare, which was built from the ground up to be a serverless platform, but the same concepts apply to every serverless provider. With this book, you'll learn a better way to build applications, and you'll see improved productivity and ease of deployment. From secrets to dependencies, such as databases and caches, Cloudflare has revolutionized how to build applications, and has made building applications easier and more fun. As you go through the book, you'll learn in detail what serverless is, how it functions behind the scenes, and how to build serverless applications on Cloudflare. When you finish this book, you'll understand how to think in terms of serverless functions, and you'll have the experience of deploying and extending these apps as you work through the examples. What You Need: Mac or PC GitHub account (free) Cloudflare account (free)