Questions tagged [aws-regions]

Amazon Web Services (AWS) cloud services are provided in different named geographic locations called "regions". Different regions often require different configurations and feature slightly different services.

87 questions
21
votes
3 answers

AWS latency between Zones within a same Region

I have an EC2 and RDS in the same region US East(N. Virginia) but both resources are in different zones; RDS in us-east-1a and EC2 in us-east-1b. Now the question is that if I put both resources within the same zone then would it speed up the data…
UsamaAmjad
  • 4,175
  • 3
  • 28
  • 35
10
votes
0 answers

Adding custom variable in cloudwatch agent config

I have the following config that I generate as part of user data for my EC2 instance { "agent": { "run_as_user": "root" }, "logs": { "logs_collected": { "files":…
user_mda
  • 18,148
  • 27
  • 82
  • 145
9
votes
2 answers

Terraform aws provider - how to use default region from ~/.aws/config

In my main.tf I have an empty aws provider defined provider aws {} In the absence of environment variables the aws provider picks the [default] credentials from ~/.aws/credentials. However I still get prompted to enter the region: >terraform…
Bernie Lenz
  • 1,967
  • 23
  • 45
9
votes
2 answers

can terraform be used simply to create resources in different AWS regions?

I have the following deploy.tf file: provider "aws" { region = "us-east-1" } provider "aws" { alias = "us_west_1" region = "us-west-2" } resource "aws_us_east_1" "my_test" { # provider = "aws.us_east_1" …
domoarigato
  • 2,802
  • 4
  • 24
  • 41
6
votes
2 answers

Deploying AWS Lambda to multiple regions?

Quick one. What does it look like when you’ve got one lambda deployed in multiple regions? Is it just 2 separate copies of the same code with a different name, different ARN etc? does AWS view them as unrelated lambdas? Or does it know they’re the…
user1974753
  • 1,359
  • 1
  • 18
  • 32
5
votes
1 answer

Set up Mongo Cluster across 2 data centers with writing enabled on both

We're planning to expand our software to the South East Asia region. Our self-hosted Mongo Cluster is fully set up at China's AWS Data Center. How can we set up the MongoDB replicate set to AWS Singapore and allow writing on both regions and rely on…
angelokh
  • 9,426
  • 9
  • 69
  • 139
5
votes
3 answers

How to configure the region in the AWS js SDK?

My problem I am writing a simple js function that reads some information from AWS CloudWatch Logs. Following the answer at Configuring region in Node.js AWS SDK, and the AWS nodejs SDK documentation, I came up with the following: Code var AWS =…
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
4
votes
0 answers

Why region_name is required for some aws services in boto3.client while using regional endpoint?

Why do we need to provide region_name if we are already using regional endpoints? And also, If I don't specify region_name for sqs then It'll give an Error (NoRegionError : You must specify a region). While creating client for s3, region_name is not…
4
votes
2 answers

Enable new AWS region programmatically

We can enable/disable regions at the account level by logging in as the AWS account administrator and going to My Account -> AWS Regions. Only "opt-in" regions can be enabled or disabled e.g."Asia Pacific (Hong Kong)". All other regions are "Enabled…
Daniel Slater
  • 123
  • 1
  • 8
4
votes
2 answers

Determine aws region inside a aws glue job

Hello I need some help in determining aws region inside a glue job. I am trying to use boto3 client kms and when I do the following I get a Error NoRegionError: You must specify a region. kms = boto3.client('kms') Obviously it is asking me to set…
sks27
  • 63
  • 2
  • 7
4
votes
0 answers

Is there an AWS API for getting list of all regions?

currently I am developing a form as below with Ember: My question is: Is there an API which helps me to fill in this select form ? Because I don't want to manually type in the code and then have to change it again if AWS add more regions in the…
4
votes
3 answers

Is it okay to fetch AWS region from SQS url?

I have an SQS URL which includes region as well. I am using official Go SDK to perform operations on this SQS which require AWS region to initialize the session. Currently, I have written a utility function to parse the URL and return AWS…
Mayank Patel
  • 8,088
  • 5
  • 55
  • 75
3
votes
4 answers

503 ERROR The request could not be satisfied (AWS Amplify)

I have deployed a Next.js server side rendering app on AWS Amplify. I am new to AWS and don't know exactly why I am encountering this error. I have read so many articles and documentations but I am unable to solve this issue. I am using…
3
votes
4 answers

multi-master over multi-region Aurora - possible?

I am relatively experienced with many AWS services - but I do have a large gap around Aurora/RDS I'm trying to create a multi-region multi-master (write replicas) setup The purpose is to give low latency to users (if each read and write replica is…
3
votes
1 answer

AWS IAM PowerUser Scoped to Specific Region

I'm trying to create an AWS IAM Policy that gives access to everything that a Power User has (arn:aws:iam::aws:policy/PowerUserAccess) but only in a specific region. I started with the existing Power User policy and found this article:…
Ryan Ferretti
  • 2,891
  • 2
  • 27
  • 37
1
2 3 4 5 6