Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Route 53 Client Exception on creation

Tags:

I have a problem with amazon sdk for .net while creating an Amazon Route 53 Client calling

AWSClientFactory.CreateAmazonRoute53Client(AccessKeyID, SecretAccessKeyID); 

I get an Exception that tells

"No RegionEndPoint or ServiceURL configured".

Also tried the region endpoint indicated there http://docs.aws.amazon.com/general/latest/gr/rande.html#r53_region with no result.

Can anybody help me?

like image 588
user1631477 Avatar asked Nov 29 '13 15:11

user1631477


People also ask

How do you grant or deny access to Route 53 resources?

ARNs for Amazon Route 53 resources In a policy, you can grant or deny access to the following resources by using * for the ARN: Health checks. Hosted zones. Reusable delegation sets.

Is Amazon Route 53 included in free tier?

With Amazon Route 53, you don't have to pay any upfront fees or commit to the number of queries the service answers for your domain. Like with other AWS services, you pay as you go and only for what you use: Managing hosted zones: You pay a monthly charge for each hosted zone managed with Route 53.


2 Answers

I had the same problem when using

objClient = New AmazonS3Client(AccessKeyID, SecretAccessKeyID) 

I solved using:

objClient = New AmazonS3Client(AccessKeyID, SecretAccessKeyID, Amazon.RegionEndpoint.USEast1) 

(My s3 was the USEast1 = US Standard)

like image 76
rsc Avatar answered Sep 28 '22 06:09

rsc


Try this!

AmazonS3Config S3Config = new AmazonS3Config() {     ServiceURL = "s3.amazonaws.com",     RegionEndpoint = Amazon.RegionEndpoint.SAEast1 }; 
like image 25
Andre Mesquita Avatar answered Sep 28 '22 06:09

Andre Mesquita