前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【玩转腾讯云】基于Serverless搭建WordPress

【玩转腾讯云】基于Serverless搭建WordPress

原创
作者头像
落雨
修改2021-04-26 10:23:55
76.6K0
修改2021-04-26 10:23:55
举报
文章被收录于专栏:落雨的专栏落雨的专栏

什么是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)

快速搭建WP

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

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

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

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

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

选择完成后点击完成

第三步:等待部署完成。

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

第四步:配置WordPress

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

第五步:绑定自定义域名

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

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

完成后点击保存即可。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 什么是Serverless?
  • 快速搭建WP
    • 第一步:进入Severless控制台并完成授权,点击新建应用,选择应用模板——快速部署一个 Wordpress 框架
      • 第二步:填写应用名,选择环境和地域
        • 选择完成后点击完成
      • 第三步:等待部署完成。
        • 第四步:配置WordPress
          • 第五步:绑定自定义域名
          相关产品与服务
          领券
          问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
          http://www.vxiaotou.com