Azure基础(二)- 核心云服务 - Azure简介
Azure fundamentals - Core Cloud Services - Introduction to Azure
- Learn what Microsoft Azure is and how it relates to cloud computing 了解什么是Azure以及Azure如何与云计算关联
- Use Azure Cloud Shell to launch a Windows or Linux virtual machine 使用Azure Cloud Shell 启动Windows或Linux虚拟机
- Configure your virtual machine to run a basic web server 配置虚拟机以运行web服务器
- Scale up your server to give you more compute power 放大服务器以给与更大算力
#创建虚拟机
az vm create \
--name myVM \
--resource-group 4510a0c0-5ca7-43be--023ee0d6b763 \
--image UbuntuLTS \
--location southeastasia \
--size Standard_DS2_v2 \
--admin-username azureuser \
--generate-ssh-keys #Run the following az vm get-instance-view command to verify
#that the VM was successfully created and is running.
az vm get-instance-view \
--name myVM \
--resource-group 4510a0c0-5ca7-43be--023ee0d6b763 \
--output table #From Cloud Shell, run this az vm extension set command to download and execute
#a Bash script that installs Nginx and configures a basic home page
az vm extension set \
--resource-group 4510a0c0-5ca7-43be--023ee0d6b763 \
--vm-name myVM \
--name customScript \
--publisher Microsoft.Azure.Extensions \
--settings "{'fileUris':['https://raw.githubusercontent.com/MicrosoftDocs/mslearn-welcome-to-azure/master/configure-nginx.sh']}" \
--protected-settings "{'commandToExecute': './configure-nginx.sh'}" #Run this az vm open-port command to open port (HTTP) through the firewall.
az vm open-port \
--name myVM \
--resource-group 4510a0c0-5ca7-43be--023ee0d6b763 \
--port #Run this az vm show command to list your VM's public IP address.
az vm show \
--name myVM \
--resource-group 4510a0c0-5ca7-43be--023ee0d6b763 \
--show-details \
--query [publicIps] \
--output tsv #From Cloud Shell, run az vm resize to increase your VM's size to Standard_DS3_v2.
az vm resize \
--resource-group 4510a0c0-5ca7-43be--023ee0d6b763 \
--name myVM \
--size Standard_DS3_v2 #Run az vm show to verify that your VM is running the new size.
az vm show \
--resource-group 4510a0c0-5ca7-43be--023ee0d6b763 \
--name myVM \
--query "hardwareProfile" \
--output tsv

Azure基础(二)- 核心云服务 - Azure简介的更多相关文章
- 无责任Windows Azure SDK .NET开发入门(二):使用Azure AD 进行身份验证
<編者按>本篇为系列文章,带领读者轻松进入Windows Azure SDK .NET开发平台.本文为第二篇,将教导读者使用Azure AD进行身分验证.也推荐读者阅读无责任Windows ...
- 【Azure媒体服务 Azure Media Service】Azure Media Service中Stream Endpoint 说明 (流式处理终结点)
Azure 媒体服务是一个基于云的媒体工作流平台,用于生成需要编码.打包.内容保护和直播活动广播的解决方案. 在视频的直播,点播方案中,媒体服务的架构主要由三部分构成: 推流端,把本地视频或直播内容推 ...
- Azure Terraform(五)利用Azure DevOps 实现自动化部署基础资源
一,引言 上一篇我们结合学习 Azure Traffic Manger 的内容,做了一个负载均衡的基础设施架构.通过 Terraform 部署执行计划,将整个 Azure Traffic Manage ...
- Azure Terraform(七)利用Azure DevOps 实现自动化部署基础资源(补充)
一,引言 之前一篇文章有讲解到利用 利用Azure DevOps 实现自动化部署基础资源,当时 TF 代码没有针对 Azure 各个资源的封装,所有的资源代码全部写在一个 main.tf 文件中.然后 ...
- 如何通过Azure Service Management REST API管理Azure服务
通过本文你将了解: 什么是Azure Service Management REST API 如何获取微软Azure 订阅号 如何获取Azure管理证书 如何调用Azure Service Manag ...
- 免费电子书:微软Azure基础之Azure Automation
(此文章同时发表在本人微信公众号"dotNET每日精华文章") Azure Automation是Azure内置的一项自动化运维基础功能,微软为了让大家更快上手使用这项功能,特意推 ...
- Azure SQL 数据库:新服务级别问答
ShawnBice 2014 年 5 月 1 日上午 11:10 本月初,我们庆祝了SQL Server 2014 的推出,并宣布正式发布分析平台系统,同时分享了智能系统服务预览版.Quentin ...
- Azure 基础:使用 powershell 创建虚拟网络
什么是虚拟网络 虚拟网络是您的网络在 Azure 云上的表示形式.您可以完全控制虚拟网络的 IP 地址.DNS 的设置.安全策略和路由表.您还可以更进一步,把虚拟网络划分为多个子网.然后用它们连接您的 ...
- Azure 基础:Blob Storage
Azure Storage 是微软 Azure 云提供的云端存储解决方案,当前支持的存储类型有 Blob.Queue.File 和 Table. 笔者在前文中介绍了 Table Storage 的基本 ...
随机推荐
- django---不使用view,直接从Url转到html
这个在使用公告页时,就很方便. 因为无需要经过数据库,视图. 直接使用文字. https://docs.djangoproject.com/en/2.1/topics/class-based-view ...
- MATLAB 2012b license checkout failed
we offer you two ways to license matlab r2012b: standalone1) choose "install manually without u ...
- redis初步入门(1)
一.redis是一款高性能NOSQL系列的非关系型的数据库,其是用C语言开发的一个开源高性能键值对(key-value)数据库. 二.redis的应用场景 1.缓存(数据查询.短连接.新闻内容.商品内 ...
- KMP替代算法——字符串Hash
很久以前写的... 今天来谈谈一种用来替代KMP算法的奇葩算法--字符串Hash 例题:给你两个字符串p和s,求出p在s中出现的次数.(字符串长度小于等于1000000) 字符串的Hash 根据字面意 ...
- windows与linux之间文件的传输
这边记录一下如何在windows与linux之间进行文件的传输,下面是具体的网址. 原文地址::http://blog.csdn.net/shufac/article/details/51966276 ...
- 杭电1506 java
求最大子矩阵面积(dp) import java.util.*; public class Main1{ public static void main(String[] args) { Scanne ...
- [LeetCode] Quad Tree Intersection 四叉树相交
A quadtree is a tree data in which each internal node has exactly four children: topLeft, topRight, ...
- tp5 查询单个字段的值
$num_lastday = Db::name('test_wx') ->where('num','=',$data['num']) ->order('time desc') ->l ...
- 5、faker.js数据模拟
转载于:https://segmentfault.com/a/1190000008574028 今天发现了一个神器--json-server!在他的帮助下可以在很短的时间内搭建一个Rest API, ...
- 如何安装Magento 2.0
//来源:http://www.360magento.com/blog/install-magento2 如何安装Magento 2.0 2015/8/11 下午4:23 发布者: shi yong ...