Cloudflare joins Amazon Web Services (AWS) with the ability to host static websites on a content delivery network (CDN), skipping the need for a traditional web hosting provider. AWS has allowed the ability to host sites on S3, its Simple Cloud Storage Service, for several years. However, the lack of content delivery options and the need to configure certificates through CloudFront, have kept webmasters from moving their static sites to AWS.
Ashley Williams, Systems Engineer at Cloudflare, says you can use Wrangler CLI to deploy entire websites directly to Cloudflare Workers and Workers KV.
If you can statically generate the assets for your site, think create-react-app, Jekyll, or even the WP2Static plugin, you can deploy it to our entire global network, which spans 194 cities in more than 90 countries.
Workers KV is where assets like images and HTML pages are stored, and Cloudflare Workers maintain a manifest of all the assets. When webmasters make changes to their site, they can use Wrangler to update both the files and the manifest.
When visitors want to view the site, it communicates with the manifest, and the manifest delivers the site to the browser. Since the manifest manages the site in real-time, it automatically updates the Cloudflare Cache, so files are always up-to-date.
Wrangler doesn’t have a graphic user interface (GUI) yet, which means webmaster will need to use a command-line interface (like Apple’s Terminal app) to interact with Cloudflare’s services. Webmasters will also need experience using Cloudflare Workers. Cloudflare may be planning to make a GUI for deploying websites, but it wasn’t mentioned in the announcement.
Editor’s Note: I’m interested in using this service, so if I’m able to successfully deploy and update static sites, I’ll probably publish a howto guide on Coywolf Pro.
Never miss an important story
Weekly news updates, no spam, and you can unsubscribe anytime.