加入收藏 | 设为首页 | 会员中心 | 我要投稿 网站开发网_安阳站长网 (https://www.0372zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长百科 > 正文

理解亚马逊 Amazon AWS CloudFormation

发布时间:2020-12-31 15:05:14 所属栏目:站长百科 来源:网络整理
导读:副标题#e# 《理解亚马逊 Amazon AWS CloudFormation》要点: 本文介绍了理解亚马逊 Amazon AWS CloudFormation,希望对您有用。如果有疑问,可以联系我们。 Amazon最初始推出AWS时候,提供给用户的是虚拟机(EC2),存储(Volume),弹性IP(Elastic IP)等这些在云

“DBAllocatedStorage” : {
“Default”: “5”,
“Description” : “The size of the database (Gb)”,
“Type”: “Number”,
“MinValue”: “5”,
“MaxValue”: “1024”,
“ConstraintDescription” : “must be between 5 and 1024Gb.”
},
“SSHLocation” : {
“Description” : ” The IP address range that can be used to SSH to the EC2 instances”,
“MinLength”: “9”,
“MaxLength”: “18”,
“Default”: “0.0.0.0/0”,
“AllowedPattern”: “(d{1,3}).(d{1,3})/(d{1,2})”,
“ConstraintDescription”: “must be a valid IP CIDR range of the form x.x.x.x/x.”
}
},

//EC2的配置与CPU架构的映射关系.t1.micro是EC2的一个配置,用户只能选择某个EC2配置,而不能随意指定.
//EC2的配置包含CPU内存的配置.
“Mappings” : {
“AWSInstanceType2Arch” : {
“t1.micro” : { “Arch” : “64” },
“m1.small” : { “Arch” : “64” },
“m1.medium” : { “Arch” : “64” },
“m1.large” : { “Arch” : “64” },
“m1.xlarge” : { “Arch” : “64” },
“m2.xlarge” : { “Arch” : “64” },
“m2.2xlarge” : { “Arch” : “64” },
“m2.4xlarge” : { “Arch” : “64” },
“m3.xlarge” : { “Arch” : “64” },
“m3.2xlarge” : { “Arch” : “64” },
“c1.medium” : { “Arch” : “64” },
“c1.xlarge” : { “Arch” : “64” },
“cc1.4xlarge” : { “Arch” : “64HVM” },
“cc2.8xlarge” : { “Arch” : “64HVM” },
“cg1.4xlarge” : { “Arch” : “64HVM” }
},

//AMI与CPU架构和AWS Zone的映射关系.AMI是AWS Machine Image,对应传统服务器就是镜像.
“AWSRegionArch2AMI” : {
“us-east-1” : { “32” : “ami-31814f58”,“64” : “ami-1b814f72”,“64HVM” : “ami-0da96764” },
“us-west-2” : { “32” : “ami-38fe7308”,“64” : “ami-30fe7300”,“64HVM” : “NOT_YET_SUPPORTED” },
“us-west-1” : { “32” : “ami-11d68a54”,“64” : “ami-1bd68a5e”,
“eu-west-1” : { “32” : “ami-973b06e3”,“64” : “ami-953b06e1”,
“ap-southeast-1” : { “32” : “ami-b4b0cae6”,“64” : “ami-beb0caec”,
“ap-southeast-2” : { “32” : “ami-b3990e89”,“64” : “ami-bd990e87”,
“ap-northeast-1” : { “32” : “ami-0644f007”,“64” : “ami-0a44f00b”,
“sa-east-1” : { “32” : “ami-3e3be423”,“64” : “ami-3c3be421”,“64HVM” : “NOT_YET_SUPPORTED” }
}
},

//资源的申明.必选.
//AWS定义了一个资源清单,每个资源有一个Type,Type的值只能从已有的资源类型选择,不能随意指定.
“Resources” : {

(编辑:网站开发网_安阳站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!