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简介的更多相关文章

  1. 无责任Windows Azure SDK .NET开发入门(二):使用Azure AD 进行身份验证

    <編者按>本篇为系列文章,带领读者轻松进入Windows Azure SDK .NET开发平台.本文为第二篇,将教导读者使用Azure AD进行身分验证.也推荐读者阅读无责任Windows ...

  2. 【Azure媒体服务 Azure Media Service】Azure Media Service中Stream Endpoint 说明 (流式处理终结点)

    Azure 媒体服务是一个基于云的媒体工作流平台,用于生成需要编码.打包.内容保护和直播活动广播的解决方案. 在视频的直播,点播方案中,媒体服务的架构主要由三部分构成: 推流端,把本地视频或直播内容推 ...

  3. Azure Terraform(五)利用Azure DevOps 实现自动化部署基础资源

    一,引言 上一篇我们结合学习 Azure Traffic Manger 的内容,做了一个负载均衡的基础设施架构.通过 Terraform 部署执行计划,将整个 Azure Traffic Manage ...

  4. Azure Terraform(七)利用Azure DevOps 实现自动化部署基础资源(补充)

    一,引言 之前一篇文章有讲解到利用 利用Azure DevOps 实现自动化部署基础资源,当时 TF 代码没有针对 Azure 各个资源的封装,所有的资源代码全部写在一个 main.tf 文件中.然后 ...

  5. 如何通过Azure Service Management REST API管理Azure服务

    通过本文你将了解: 什么是Azure Service Management REST API 如何获取微软Azure 订阅号 如何获取Azure管理证书 如何调用Azure Service Manag ...

  6. 免费电子书:微软Azure基础之Azure Automation

    (此文章同时发表在本人微信公众号"dotNET每日精华文章") Azure Automation是Azure内置的一项自动化运维基础功能,微软为了让大家更快上手使用这项功能,特意推 ...

  7. Azure SQL 数据库:新服务级别问答

    ShawnBice   2014 年 5 月 1 日上午 11:10 本月初,我们庆祝了SQL Server 2014 的推出,并宣布正式发布分析平台系统,同时分享了智能系统服务预览版.Quentin ...

  8. Azure 基础:使用 powershell 创建虚拟网络

    什么是虚拟网络 虚拟网络是您的网络在 Azure 云上的表示形式.您可以完全控制虚拟网络的 IP 地址.DNS 的设置.安全策略和路由表.您还可以更进一步,把虚拟网络划分为多个子网.然后用它们连接您的 ...

  9. Azure 基础:Blob Storage

    Azure Storage 是微软 Azure 云提供的云端存储解决方案,当前支持的存储类型有 Blob.Queue.File 和 Table. 笔者在前文中介绍了 Table Storage 的基本 ...

随机推荐

  1. css中的宽度

    浏览器通过CSS对元素的盒子模型的描述进行页面渲染的.因此,元素的宽度受到父元素.css描述的影响. 通常,元素的宽度是指盒子模型中content-box所占用的宽度.也就是说,默认box-sizin ...

  2. Java基础知识及学习规划【图】

    结构图:

  3. mysql 正则表达式问号

    MySQL 中,用正则表达式匹配?,需要使用两个转义字符   \\? 因使用一个被坑了很久.

  4. 推荐常用的移动端、PC端、小程序的UI框架

    1.移动端UI库 ①.Vant UI 官方地址:https://youzan.github.io/vant/#/zh-CN/intro github地址:https://github.com/youz ...

  5. OpenStack共享组件

    一.云计算的前世今生 1.物理机架构,应用部署和运行在物理机上  2.虚拟化架构,物理机上运行若干虚拟机,应用系统直接部署到虚拟机上  3.云计算架构,虚拟化提高了单台物理机的资源使用率 二.Open ...

  6. 重新学习Java的开始~

    安装jdk的步骤及解释已经在这篇文章中详细阐述了,如下: http://www.cnblogs.com/godtrue/p/4338323.html 1.如何安装库源文件--摘自coreJava 库源 ...

  7. C#中new的三种用法

    在 C# 中,new 关键字可用作运算符.修饰符或约束. 1)new 运算符:用于创建对象和调用构造函数. 2)new 修饰符:在用作修饰符时,new 关键字可以显式隐藏从基类继承的成员. 3)new ...

  8. 动态规划——Valid Permutations for DI Sequence

    We are given S, a length n string of characters from the set {'D', 'I'}. (These letters stand for &q ...

  9. [R]dplyr及ggplot2中的变量引用列的问题

    问题描述: 存在这么一个场景,当需要动态选择列作为dplyr或ggplot2的输入时,列名的指定会出现问题. 以iris举例: # 以iris dataset为例 colnames <- c(& ...

  10. Fragment基础操作

    Fragment和Activity类似,同样是具备UI的属性:也就是都能用于规划UI布局... Building a Dynamic UI with Fragments --> Fragment ...