Questions tagged [availability-zone]

77 questions
0
votes
1 answer

Creating multiple subnets in order per availability zone with Terraform

New to Terraform and trying to create the following VPC from Adrian Cantril's class using the DRY method. VPC Diagram I can get the first 4 subnets created but when I try to repeat it, it duplicates it per AZ giving me an error. I have tried a few…
0
votes
0 answers

Get Terraform to use existing AWS subnets in each AZ when creating an instance in each AWS AZ

I have pre-built subnets in each of my three AWS Availability Zones. I need to build an EC2 instance per AZ but they need to use specific subnets that already exist. How do I go about writing this in Terraform? I've got this so far:. # Configure the…
0
votes
0 answers

enumerating availability zones for ECS cluster VPC subnets in CloudFormation

When I manually create an AWS ECS cluster in the UI, by default it shows the default VPC with the default subnets selected, one in each availability region, which I infer to be best practice. I'm creating a new ECS Fargate deployment using…
0
votes
2 answers

can there be availability zone to availability zone communication failure but not availability zone to internet communication?

can there be availability zone to availability zone communication failure but not availability zone to internet communication? if AZ1 cannot reach AZ2 but both of them are up, maybe due to some issue on AZ1, would AZ1 be able to communicate to…
rmp
  • 31
  • 6
0
votes
0 answers

If we deploy the AWS EKS worker node groups in a single AWS Availability Zone (AZ). How much it will help us to save money

As we know EKS automatically manages the availability and scalability of the Kubernetes control plane nodes. And somehow i manage to deploy worker node groups in a single AWS Availability Zone (AZ. Now I want to know how it would help me to reduce…
0
votes
0 answers

Bicep - allocate VM to Availability zone based on loop index

I am learning bicep and trying to get my head around loops. I have a basic integer based loop which will create x number of VMs based on the int value passed through as a parameter (aka if parameter value is 3, 3 VMs should be created). I am having…
Mr I
  • 23
  • 6
0
votes
1 answer

get availability zone by instance type in aws

I'm trying to get the availability zone the instance type available in was. let's say I know the Region: us-west-2 and I also know which instance type I want: c5n.large. is there a way to get the Availability Zones if I know the Region and the…
0
votes
1 answer

Writing to nearest partition in kafka

I have kafka cluster (MSK) in 3 availability zones and I have replication factor 3, so each zone will have one copy of my data. I have rack awareness that allow to read from nearest broker. Can I implement something the same for producers? I want to…
0
votes
1 answer

How to pass AZ information from Terraform VPC Module

I'm trying to grab the Availability Zones from a VPC module and pass it into the ELB resource parameters. How do I specify the AZs that are hosting the two public subnets where I want the ELBs to send traffic? Here is the error I am getting: Error:…
0
votes
1 answer

Remove (Synchronized) status on database in Object Explorer for SQL Server Management Studio

We've recently implemented Availability Zones in AWS and one big downside right now is this huge eyesore. When looking at the databases in the Object Explorer for SQL Server Management Studio, the database names look like this: Database 1…
0
votes
2 answers

"There's a minimum of three zones within a single region" YET "Not every region has support for availability zones.". How?

This is very basic / fundamental oriented question. Fact: "There's a minimum of three zones within a single region" Fact: "Not every region has support for availability…
Mozbius
  • 3
  • 1
0
votes
1 answer

Terraform, get count of length of data source

Folks, I'm trying to create a subnet per each aws availability zone available in a AWS region. data "aws_availability_zones" "azs" { depends_on = [aws_vpc.k3s_vpc] state = "available" } locals { azs=…
Nurhun
  • 475
  • 1
  • 9
  • 21
0
votes
1 answer

Deploying Azure VM in Avilability Zone with Java SDK not working

I have been trying to deploy an Azure VM to an availability zone like the following link https://azure.microsoft.com/en-us/blog/java-manage-availability-zones-and-more/, but I keep on getting the following error. cannot find symbol symbol: method…
Tech333
  • 41
  • 3
0
votes
1 answer

Problem connecting to MongoDB ReplicaSet using Golang and Robo3T

I am trying hard to connect to my MongoDB Replica Set but nothing seems to work. I have deployed Replica set with 3 node, each on a separate AWS Availability Zone but in the same Region. Below is the code I am using to connect to Replica Set. …
Muhammad Tariq
  • 3,318
  • 5
  • 38
  • 42
0
votes
2 answers

Kubernetes: specify or determine pod availability zone in an aws cluster

I would like to mount an amazon ebs volume (with data on it) to my pod. The problem is that I didn't find a way to determine in advance the availability zone of the pod before starting it. If the pod doesn't start on the same availability zone of…
Noé
  • 498
  • 3
  • 14