当前位置:网站首页>Alibaba Cloud International Edition uses ROS to build WordPress tutorial
Alibaba Cloud International Edition uses ROS to build WordPress tutorial
2022-08-04 18:01:00 【87云】
资源编排服务ROS(Resource Orchestration Service)可通过ROSThe template creates a set of Alibaba Cloud resources.ROS模板为JSON格式文件,Used to define the cloud resources you need to create.本教程介绍如何使用ROSTemplates are created based onECS和RDS(Relational Database Service)的WordPress环境.下面和87cloudLearn about the use of Alibaba Cloud International EditionROS搭建WordPress教程:
前提条件
- 已注册阿里云账号.如还未注册,请先完成账号注册.
- 如果您是首次使用ROS,必须先开通ROS服务.ROS服务免费,There is no fee to activate the service.
背景信息
RDSIt is an online database service provided by Alibaba Cloud,稳定可靠、可弹性伸缩.RDS支持MySQL、SQL Server、PostgreSQL等数据库引擎,并且提供了容灾、备份、恢复、监控、迁移等方面的全套解决方案,Help you solve the troubles of database operation and maintenance.更多详情,请参见RDS产品文档.
This tutorial shows how to pass the ECS和RDS创建WordPress环境模板,创建WordPress环境.
操作步骤
- 登录ROS管理控制台.
- 选择模板.
- 在左侧导航栏中,单击模板 > 模板示例.
ROSCommon templates provided are displayed on the Template Samples page.
- Found based on template exampleECS和RDS创建WordPress环境.
- 可选:Click View Details to view the templateJSON文件.
JSONThe interpretation of each top-level field of the file is shown in the following table.
顶级字段 解释 "ROSTemplateFormatVersion" : "2015-09-01"
Define the template version. "Parameters" : { }
Define some parameters of the template. 本示例中,The parameters defined by the template include:镜像ID、实例规格等,并指定了默认值.
"Resources" : { }
Define the Alibaba Cloud resources that this template will create. 本示例中,Declare that one is going to be createdECSinstance and a security group,The resource properties declared here can be referenced
Parameters
中定义的参数."Outputs": { }
After the definition resource is created,The resource information that the stack needs to output. 本示例中,It will be output when the resource is createdECS实例ID、公网IP地址和安全组ID.
说明 ROSResource stack template details,See the template structure description for Resource Orchestration.
- 在左侧导航栏中,单击模板 > 模板示例.
- Click Create Resource Stack.
- 配置参数.
- 在顶部菜单栏左上角,选择地域.
- Configure the template parameters of the resource stack.
The resource stack parameter description is shown in the following table.
名称 描述 The resource stack name Set the resource stack name.Stack names cannot be repeated,创建之后不能修改. VPC VPC CIDR Block Fill in the private networkVPC的私网网段. 更多详情,See Network Planning.
VSwitch Availability Zone Select the Availability Zone in which you need to create the resourceID. VSwitch CIDR Block 交换机的网段. The network segment specified by the switch must belong to itVPC的网段,And it cannot overlap with the existing switch network segment.更多详情,See Network Planning.
ECS Instance Type 选择您需要的ECS实例规格. ECSInstance specification details,请参见实例规格族.
Image 填写创建ECSThe image to use for the instanceID. Instance Password 设置ECS实例的登录密码. Defined according to the template,密码由大写字母、小写字母、数字、特殊字符中的任意三种组成,特殊字符为
()`[email protected]#$%^&*-_+=|{}[]:;'<>,.?/
,The password length range is 8~30个字符.说明 Windows实例不能以斜线号(/)is the first character of the password.
RDS DB Instance Class 云数据库RDS的实例类型. Engine Select the database engine you need. DB Instance Storage 云数据库RDScapacity specifications. DB Name 填写WordPress数据库名. DB Username 填写WordPress数据库的用户名. DB Password 设置访问WordPress数据库的密码. Defined according to the template,密码由字母、数字、下划线(_)组成,The password length range is 6~32个字符.
- 单击下一步.
- Configure the resource stack.
The resource stack configuration description is shown in the following table.
名称 描述 Resource stack strategy(可选) Resource stack strategy. 失败时回滚 Whether to rollback when the resource creation fails. - If the selection is enabled,then any failure occurs during the creation process(Including create timeout),ROSAll resources that have been created successfully will be deleted.
- If selected is disabled,then any failure occurs during the creation process(Including create timeout),ROSResources that have already been created will not be deleted.
超时设置 Sets the timeout for creating resources.If the resource is not created successfully within the set time period,则判断超时. - 单击下一步.
- Check whether the resource stack parameter information is correct.
- 单击创建.
执行结果
在左侧导航栏,Click on the resource stack,Select the region where the stack you created is located from the top menu bar,You can view your newly created resource stack and the status of the resource stack.When the resource stack status is created successfully,Indicates that you have successfully created the resource stack.
后续步骤
Click the stack name,Enter the details page of the created resource stack.Click the following tabs to learn about the created resource stacks.
- Resource stack information:You can view basic information about the resource stack、状态、Timeout for creating resources, etc.
- 事件:可查看ROSThe operation record when this resource stack was created.After any operation involving the resource stack fails,The reason for the failure of the specific operation will be displayed.
- 资源:You can view all resources contained in the resource stack.
- 模板:You can view the original template of the resource stack.
边栏推荐
猜你喜欢
悦刻难回巅峰
OpenInfra Days China 2022 | SelectDB to share with you the Apache Doris in Internet advertising business practices
DMPE-PEG-Mal,二肉豆蔻酰磷脂酰乙醇胺-聚乙二醇-马来酰亚胺简述
网页端IM即时通讯开发:短轮询、长轮询、SSE、WebSocket
EasyCVR调用云端录像API接口返回错误且无录像文件生成,是什么原因?
Hezhou Cat1 4G module Air724UG is configured with RNDIS network card or PPP dial-up, and the development board is connected to the Internet through the RNDIS network card (taking the RV1126/1109 devel
DOM Clobbering的原理及应用
链表的经典入门LeetCode题目
Flask框架实现注册加密功能详解【Flask企业课学习】
leetcode 13. 罗马数字转整数
随机推荐
"Involution" Index Analysis Based on AHP
下一代 AutoAI:从模型为中心,到数据为中心
区间贪心(区间合并)
巴比特 | 元宇宙每日必读:微博动漫将招募全球各类虚拟偶像并为其提供扶持...
企业调查相关性分析案例
哈夫曼树(暑假每日一题 15)
【web自动化测试】Playwright快速入门,5分钟上手
buuctf(探险1)
Matlab画图1
OpenInfra Days China 2022 | SelectDB to share with you the Apache Doris in Internet advertising business practices
嵌入式开发:使用堆栈保护提高代码完整性
FE01_OneHot-Scala Application
报道称任天堂在2023年3月前不会推出任何新硬件产品
路由懒加载
荣耀发布开发者服务平台,智慧生态合作提速
公司自用的国产API管理神器
2022年7月31日 暑假第三周总结
怎么面试程序员的?傲慢与无礼,就数他牛逼
asp dotnet core 通过图片统计 csdn 用户访问
阿里云国际版使用ROS搭建WordPress教程