当前位置:网站首页>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.
边栏推荐
- Error when using sourcemap for reporting an error: Can‘t resolve original location of error.
- 【web自动化测试】Playwright快速入门,5分钟上手
- mysql cdc 为什么需要RELOAD 这个权限?这个权限在采集数据的过程中的作用是什么?有哪
- margin 塌陷和重合的理解
- 【日记】mysql基本操作
- 链表的经典入门LeetCode题目
- 【日记】UPNP功能会允许自动给光猫追加端口映射
- 第一章 对象和封装
- 解决错误:The package-lock.json file was created with an old version of npm
- 小程序笔记3
猜你喜欢
How to make JS code unbreakable
DHCP&OSPF组合实验演示(Huawei路由交换设备配置)
Create Sentinel high-availability cluster current limiting middleware from -99
下一代 AutoAI:从模型为中心,到数据为中心
小程序笔记3
合宙Cat1 4G模块Air724UG配置RNDIS网卡或PPP拨号,通过RNDIS网卡使开发板上网(以RV1126/1109开发板为例)
Web端即时通讯技术:WebSocket、socket.io、SSE
第一章 对象和封装
小程序笔记1
DOM Clobbering的原理及应用
随机推荐
mysql cdc 为什么需要RELOAD 这个权限?这个权限在采集数据的过程中的作用是什么?有哪
群友求助,一周没有搞定的需求,3分钟就解决了?
树莓派温度监视关机保护脚本
Thrift IDL Sample File
How to recruit programmers
智能视频监控平台EasyCVR如何使用接口批量导出iframe地址?
2019年海淀区青少年程序设计挑战活动小学组复赛试题详细答案
leetcode/有效的回文串,含有不需要判断回文的字符
小程序笔记1
Thrift IDL示例文件
公司自用的国产API管理神器
斯坦福:未来的RGB LED可以贴在你的皮肤上
华为云计算HCIE之oceanstor仿真器的使用操作
【注册荣耀开发者】赢【荣耀70】手机
LeetCode 899. 有序队列
Iptables防火墙基础知识介绍
Google Earth Engine APP - one-click online viewing of global images from 1984 to this year and loading an image analysis at the same time
如何让 JS 代码不可断点
微信jsApi调用失效的相关问题
关于大学生内卷的文献综述