availability-zone

Multiple availability zones with terraform on AWS

半腔热情 提交于 2020-02-18 05:07:17
问题 The VPC I'm working on has 3 logical tiers: Web, App and DB. For each tier there is one subnet in each availability zone. Total of 6 subnets in the region I'm using. I'm trying to create EC2 instances using a module and the count parameter but I don't know how to tell terraform to use the two subnets of the App tier. An additional constraint I have is to use static IP addresses (or a way to have a deterministic private name) I'm playing around with the resource resource "aws_instance" "app

Multiple availability zones with terraform on AWS

ⅰ亾dé卋堺 提交于 2020-02-18 05:06:59
问题 The VPC I'm working on has 3 logical tiers: Web, App and DB. For each tier there is one subnet in each availability zone. Total of 6 subnets in the region I'm using. I'm trying to create EC2 instances using a module and the count parameter but I don't know how to tell terraform to use the two subnets of the App tier. An additional constraint I have is to use static IP addresses (or a way to have a deterministic private name) I'm playing around with the resource resource "aws_instance" "app

Multiple availability zones with terraform on AWS

こ雲淡風輕ζ 提交于 2020-02-18 05:04:22
问题 The VPC I'm working on has 3 logical tiers: Web, App and DB. For each tier there is one subnet in each availability zone. Total of 6 subnets in the region I'm using. I'm trying to create EC2 instances using a module and the count parameter but I don't know how to tell terraform to use the two subnets of the App tier. An additional constraint I have is to use static IP addresses (or a way to have a deterministic private name) I'm playing around with the resource resource "aws_instance" "app

Does the available EC2 instances types vary over availablity zones (in the same region)?

江枫思渺然 提交于 2020-01-14 13:46:50
问题 Amazon launched a third availability zone in Frankfurt: eu-central-1c From what I see, the third availability zone does not support all instance types that are available in the existing zones (eu-central-1a and eu-central-1b). I always assumed that the available instance types may differ over regions but are identical over availability zones within the same region. From what I see that is not the case. Is it true that you if an EC2 instance type is available in one region, you cannot make the

Is there a way for cloudformation to query available zones for subnet creation?

瘦欲@ 提交于 2019-12-03 06:28:44
问题 I have a cloudformation script that attempts to create a VPC, with one subnet per AZ. When I run: aws ec2 describe-availablity-zones I get 4 zones returned: "AvailabilityZones": [ { "State": "available", "RegionName": "us-east-1", "Messages": [], "ZoneName": "us-east-1a" }, { "State": "available", "RegionName": "us-east-1", "Messages": [], "ZoneName": "us-east-1b" }, { "State": "available", "RegionName": "us-east-1", "Messages": [], "ZoneName": "us-east-1c" }, { "State": "available",