在创建和激活订阅之后,就可以在Windows Azure Platform Management Portal中创建SQL Azure服务器了。
1. 用与Windows Azure平台订阅相关联的Windows Live ID账户登录Windows Azure Platform Management Portal。
2. 点击New Database Server 或者 Database按钮。
3. 展开Subscriptions节点,点击将关联服务器的订阅名。确定订阅的状态是Ready。点击Create按钮。
4. 在Create Server向导的首页上,选择服务器所在的地区,然后点击Next。为了节省贷款费用和获得最好的性能,请选择最近的地区。更多详细信息,请查看Accounts and Billing in SQL Azure。
5. 在接下来的页面中,输入登录名和密码来创建一个SQL Azure的管理员登录名。它与SQL Server中的系统管理员sa类似。有关更多信息,请查看Managing Databases and Logins in SQL Azure。
6. 接下来是防火墙规则页面。为了能从Windows Azure Platform Management Portal平台之外访问SQL Azure服务器,你需要指定一条或者多条防火墙规则。如果你想要允许其他的Windows Azure服务或者应用程序访问你的SQL Azure服务器,你需要选择Allow other Windows Azure services to access this server复选框。点击Add来为各个需要访问SQL Azure服务器的IP地址段添加规则。在添加好防火墙规则之后,点击Finish。
7. 新创建的SQL Azure服务器拥有一个包括防火墙规则的master数据库。接下来的章节描述了如何在Windows Azure Platform Management Portal中创建一个新的数据库。