To understand and implement a modern, automated deployment pipeline for a web application using a serverless platform and a Git-based workflow. This lab will demonstrate how Platform as a Service (PaaS) abstracts away infrastructure management and how Continuous Integration/Continuous Deployment (CI/CD) automates updates, allowing developers to focus solely on code.
This lab builds directly on the concepts from Chapter 7: Let's Do Even More with my Data Temporarily, where we introduced the idea of ephemeral, serverless functions. Here, we apply that concept to hosting a complete website. You will need to setup a Github account [www.github.com] to manage the application code in this exercise, and also demonstrate how DevOps engineers now manage code updates (remember our question about multiple versions of files on your computer, in the cloud shell and in the cloud storage bucket?). We will use a popular serverless platform called Vercel for this exercise because it offers a generous free tier and seamlessly integrates with GitHub, providing a classic example of a modern developer experience.
In this part, you'll deploy a complete website from a template in just a few clicks, experiencing the power of a high-level PaaS.
Step 2: Deploy a Website from a Template
nextjs-starter). Rename it to include your fnamelname. This is the key step: Vercel isn't just hosting your site; it's creating a corresponding code repository in your GitHub account.