aws(学习笔记第九课)
- 使用
AWS的网络存储EBS
学习内容:
- 使用
AWS的网络存储EBS
1.使用AWS的网络存储EBS
EBS是什么
EBS是aws Elastic Block Store的缩写,就是AWS的弹性数据块存储。EBS有如下特点。- 它不属于
EC2的一部分,独立存在。 - 可以独立存在或者同一时间挂载到一个
EC2实例上。
注意,同一时间不能挂在到两个以及两个以上的EC2 - 可以像普通的磁盘一样使用。

- 它不属于
- 练习使用
EBS- 创建一个
EBS,之后用EC2进行挂载。{ "AWSTemplateFormatVersion": "2010-09-09", "Description": "(EBS)", "Parameters": { "KeyName": { "Description": "Key Pair name", "Type": "AWS::EC2::KeyPair::KeyName", "Default": "my-cli-key" }, "VPC": { "Description": "Just select the one and only default VPC", "Type": "AWS::EC2::VPC::Id" }, "Subnet": { "Description": "Just select one of the available subnets", "Type": "AWS::EC2::Subnet::Id" }, "AttachVolume": { "Description": "Should the volume be attached?", "Type": "String", "Default": "yes", "AllowedValues": ["yes", "no"] } }, "Mappings": { "EC2RegionMap": { "ap-northeast-1": { "AmazonLinuxAMIHVMEBSBacked64bit": "ami-cbf90ecb"}, "ap-southeast-1": { "AmazonLinuxAMIHVMEBSBacked64bit": "ami-68d8e93a"
- 创建一个

最低0.47元/天 解锁文章
406

被折叠的 条评论
为什么被折叠?



