aws lightsail api query domain create and management

0

Hello I tired to create from the api a domain and apprently its not possible from the region I'm, is that correct my region is central-eu-1.

this is the message i receive : An error occurred (InvalidInputException) when calling the CreateDomain operation: Domain-related APIs are only available in the us-east-1 Region. Please set your Region configuration to us-east-1 to create, view, or edit domain resources. thank you

michel
gefragt vor einem Monat88 Aufrufe
2 Antworten
0

You are correct that domain-related APIs for Amazon SageMaker are only available in the US East (N. Virginia) region at this time. The error message you received is indicating that you need to set your AWS region to us-east-1 to create or manage domains for SageMaker.

You can view the latest supported regions for all AWS services on the AWS regional services page. It's recommended to check there for up-to-date availability before deploying resources.

profile picture
EXPERTE
beantwortet vor einem Monat
  • You likely mean Lightsail above where it says SageMaker?

0

Hi,

Amazon Lightsail Domain resources are global in nature i.e. a registered domain or a DNS zone is globally resolvable and globally available. They are not regional like the physical location of a server or a database.

The Domain/DNS resources can be used with your Lightsail instances and other resources existing in ANY region. There are also no restrictions with your physical location and being able to use the Domain/DNS resources.

To interact with the Domain or DNS resources via the API, the region to be set for the AWS SDK/CLI config would be us-east-1 (used by all global resources).

For example, the create-domain CLI command with the region parameter set would look as follows:

aws lightsail create-domain --domain-name foo.com --region us-east-1

Hope that helps.

Thanks.

profile pictureAWS
EXPERTE
AWS-SUM
beantwortet vor einem Monat
AWS
MODERATOR
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen