[New Portal]Windows Azure Web Site (3) 创建Web Site和云端数据库
《Windows Azure Platform 系列文章目录》
在前一章的内容里,我介绍了使用Windows Azure Management Portal创建Web Site。本章,我将给大家介绍如何同时创建Web Site和云端数据库。
同时创建,其实就是把创建Web Site和创建云端数据库,这2个步骤合并起来。创建Web Site的过程和之前的内容类似。
- 这里的云端数据库其实就是SQL Azure。
- 关于SQL Azure的概念,可以参考SQL Azure(一) 入门
- 关于SQL Azure的其他内容,可以参考SQL Azure(三) 创建一个SQL Azure 服务器 和SQL Azure(四) 创建一个SQL Azure数据库
1.首先我们还是登陆Windows Azure Manage Portal,点击管理界面左下角的"NEW"按钮。
2.在下图中,选择"Web Site"-->"Create with Database"

3.首先会进入创建Web Site的步骤,我们就开始创建Windows Azure Web Site

- 在URL里输入你要创建的托管服务的URL,我这里命名为"LeiMVC4WebSite"
- 在Database下拉框里,选择你要创建的云端SQL Server服务
- 如果想使用现有的云端SQL Server服务,请选择"Use an existing SQL Database"
- 如果想创建新的云端SQL Server,请选择"Create a new SQL database"
- 如果像创建新的MySQL Database,请选择"Create a new MySQL database"
- 我们选择"Create a new SQL database"
- 在Region中选择你想部署到的Windows Azure数据中心
4.创建完Web Site之后,就进入创建数据库的步骤。见下图:

- 在Name里,输入你想要创建的SQL Azure Database名称,我命名为LeiMVC4DB。
- Edition,就是你要创建的SQL Azure 版本,分别为Web和Business
- Web版本的数据库容量为1GB和5GB
- Business版本的数据库容量为10GB,20GB,30GB,40GB,50GB,100GB和150GB
- 我们可以根据实际的需求来选择合适的数据库大小
- 在Collation里,我们可以选择合适的排序规则
- Server里
- 如果我们想创建新的数据库服务器,我们可以选择"New SQL Database server"
- 如果我们想在现有的数据库服务器里,添加步骤三里命名的Database,我们可以选择"Use Existing Server"
- 我这里选择"New SQL Database server"
5.一旦我们选择"New SQL Databse server",我们就可以配置登录的用户名和密码

- Login Name输入连接数据库的用户名
- Login Password输入连接数据库的密码
- Region里,选择您要创建的数据库服务器所在数据中心的位置。请注意:Region最好与你创建的Web Site的区域一致(在同一个数据中心内),否则因为跨数据中心的访问会存在延时,也会降低应用的响应时间。
- 勾选最下面的"All Windows Azure Services to access the server"。这样您创建在Windows Azure数据中心的所有的托管服务可以直接连接SQL Azure,而无需配置防火墙规则了。
- 所有的内容选择完毕后,点击图标为勾选的按钮就可以了。
最后我们通过Management Portal查看之前的创建内容就可以了:
我们之前创建的Web Site

我们之前的创建的SQL Database

上图中我们点击蓝色的SQL Azure Server Name,就可以跳转到SQL Azure Server相关的配置(如下图)。这部分我会在后续的博文中做介绍

[New Portal]Windows Azure Web Site (3) 创建Web Site和云端数据库的更多相关文章
- [SDK2.2]Windows Azure Virtual Network (4) 创建Web Server 001并添加至Virtual Network
<Windows Azure Platform 系列文章目录> 在上一章内容中,笔者已经介绍了以下两个内容: 1.创建Virtual Network,并且设置了IP range 2.创建A ...
- [New Portal]Windows Azure Virtual Machine (16) 使用Azure PowerShell创建Azure Virtual Machine
<Windows Azure Platform 系列文章目录> 注:本章内容和之前的[New Portal]Windows Azure Virtual Machine (12) 在本地制作 ...
- [New Portal]Windows Azure Virtual Machine (12) 在本地使用Hyper-V制作虚拟机模板,并上传至Azure (2)
<Windows Azure Platform 系列文章目录> 本章介绍的内容是将本地Hyper-V的VHD,上传到Azure数据中心,作为自定义的虚拟机模板. 注意:因为在制作VHD的最 ...
- [SDK2.2]Windows Azure Virtual Network (3) 创建AD Server并添加至Virtual Network
<Windows Azure Platform 系列文章目录> 在之前的文章中,笔者已经向大家介绍了如何创建一个简单的Azure Virtual Network. 本章我将创建一台域服务器 ...
- [Windows Azure] Adding Sign-On to Your Web Application Using Windows Azure AD
Adding Sign-On to Your Web Application Using Windows Azure AD 14 out of 19 rated this helpful - Rate ...
- [New Portal]Windows Azure Virtual Machine (11) 在本地使用Hyper-V制作虚拟机模板,并上传至Azure (1)
<Windows Azure Platform 系列文章目录> 本章介绍的内容是将本地Hyper-V的VHD,上传到Azure数据中心,作为自定义的虚拟机模板. 注意:因为在制作VHD的最 ...
- [New Portal]Windows Azure Virtual Machine (13) 在本地使用Hyper-V制作虚拟机模板,并上传至Azure (3)
<Windows Azure Platform 系列文章目录> 本章介绍的内容是将本地Hyper-V的VHD,上传到Azure数据中心,作为自定义的虚拟机模板. 注意:因为在制作VHD的最 ...
- [New Portal]Windows Azure Virtual Machine (14) 在本地制作数据文件VHD并上传至Azure(1)
<Windows Azure Platform 系列文章目录> 之前的内容里,我介绍了如何将本地的Server 2012中文版 VHD上传至Windows Azure,并创建基于该Serv ...
- [New Portal]Windows Azure Virtual Machine (18) Azure Virtual Machine内部IP和外部IP
<Windows Azure Platform 系列文章目录> 在开始本章内容之前,请读者熟悉以下2篇博文: [New Portal]Windows Azure Virtual ...
- [New Portal]Windows Azure Virtual Machine (21) 将本地Hyper-V的VM上传至Windows Azure Virtual Machine
<Windows Azure Platform 系列文章目录> 本章介绍的内容是将本地Hyper-V的VHD,上传到Azure数据中心,并且保留OS中的内容. 注意:笔者没有执行Syspr ...
随机推荐
- vim grep sed awk对大小写不敏感
vim grep sed awk对大小写不敏感 环境 [root@osker ~]# cat /etc/redhat-release CentOS Linux release (Core) [root ...
- 1027 Colors in Mars (20 分)
People in Mars represent the colors in their computers in a similar way as the Earth people. That is ...
- 《深入理解 Java 虚拟机》读书笔记:晚期(运行期)优化
正文 在部分商用虚拟机(Sun HotSpot.IBM J9)中,Java 程序最初是通过解释器进行解释执行的,当虚拟机发现某个方法或代码块的运行特别频繁时,就会把这些代码认定为"热点代码& ...
- coding 注意事项(总结中)
Uber Go 语言代码风格指南可以参考下:https://www.cnblogs.com/ricklz/p/11670932.html 最近写代码,老是被吐槽,代码写的不好,细节处理的不好. 那么下 ...
- Java日志管理:Logger.getLogger()和LogFactory.getLog()的区别(详解Log4j)
Java日志管理:Logger.getLogger()和LogFactory.getLog()的区别(详解Log4j) 博客分类: Java综合 第一.Logger.getLogger()和Log ...
- 【python实现卷积神经网络】padding2D层实现
代码来源:https://github.com/eriklindernoren/ML-From-Scratch 卷积神经网络中卷积层Conv2D(带stride.padding)的具体实现:https ...
- AJ学IOS(31)UI之Quartz2D图形上下文栈
AJ分享,必须精品 首先,前面博客说过.qurza2d的上下文中有绘图信息和绘图的属性. 但是他是怎么绘制到上下午中的呢? 我们画图时候一半会用这三个步骤: (1)获取上下文 (2)绘图 (3)渲染 ...
- H - Bear and Three Balls
Limak is a little polar bear. He has n balls, the i-th ball has size ti. Limak wants to give one bal ...
- tensorflow-参数、超参数、卷积核权值共享
根据网上查询到的说法,参数就是在卷积神经网络中可以被训练的参数,比如卷积核的权值和偏移等等,而超参数是一些预先设定好并且无法改变的,比如说是卷积核的个数等. 另外还有一个最最基础的概念,就是卷积核的权 ...
- [javascript]JS获取当前时间戳的方法
JavaScript 获取当前时间戳: 第一种方法:(这种方法只精确到秒) var timestamp = Date.parse(new Date()); 结果:1280977330000 第二种方法 ...