手动搭建WordPress个人站点(Serverless)

操作场景

什么是Serverless?

在《Serverless Architectures》中对 Serverless 是这样子定义的:

Serverless was first used to describe applications that significantly or fully incorporate third-party, cloud-hosted applications and services, to manage server-side logic and state. These are typically “rich client” applications—think single-page web apps, or mobile apps—that use the vast ecosystem of cloud-accessible databases (e.g., Parse, Firebase), authentication services(e.g., Auth0, AWS Cognito), and so on. These types of services have been previously described as “(Mobile) Backend as a service", and I use “BaaS” as shorthand in the rest of this article. Serverless can also mean applications where server-side logic is still written by the application developer, but, unlike traditional architectures, it’s run in stateless compute containers that are event-triggered, ephemeral (may only last for one invocation), and fully managed by a third party. One way to think of this is “Functions as a Service” or “FaaS”.(Note: The original source for this name—a tweet by @marak—isno longer publicly available.) AWS Lambda is one of the most popular implementations of a Functions-as-a-Service platform at present, but there are many others, too.

这样的描述我相信有很多小伙伴不明白,我们可以这样子来理解Serverless:

它的中文直译就是【无服务器】

目前对于 Serverless 有几种解读方法:

  • 在某些场景可以解读为一种软件系统架构方法,通常称为 Serverless 架构
  • 而在另一些情况下,又可以代表一种产品形态,称为 Serverless 产品

可以理解为Severless=FAAS+BAAS 即函数即服务 (Function as a Service)+后端即服务 (Backend as a Service)

操作步骤

第一步:进入控制台

进入Severless控制台,并完成授权,点击新建应用,选择应用模板——快速部署一个 WordPress 框架

第二步:填写应用名,选择环境和地域

应用名称最短2个字符,最长63个字符,只能包含小写字母、数字及分隔符“-”、且必须以小写字母开头,数字或小写字母结尾。应用名称创建后无法修改。

环境分为:部署环境,实现开发、测试和生产环境

目前支持广州,上海,北京三个地域

选择完成后点击完成

第三步:等待部署完成。

部署时可以查看部署日志,部署通常需要90秒。

第四步:配置WordPress

点击右上角的【访问应用】,会打开一个系统自动分配的域名,在此页面完成WordPress的基本配置。

第五步:绑定自定义域名

在资源列表选项卡中找到基础信息栏

输入自己的域名(因为部署在国内,需要使用已备案的域名)

完成后点击保存即可。

版权声明:
作者:落雨
链接:https://jkboy.com/archives/18118.html
来源:随风的博客
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
海报
手动搭建WordPress个人站点(Serverless)
在《Serverless Architectures》中对 Serverless 是这样子定义的:
<<上一篇
下一篇>>