Fase 9. Implementa il modello di dati - AWS Guida prescrittiva

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

Fase 9. Implementa il modello di dati

Obiettivo

  • Distribuisci la tabella (o le tabelle) di DynamoDB su. Regione AWS

Processo

  • DevOps architect crea un AWS CloudFormation modello o un altro strumento Infrastructure as Code (IaC) per la tabella (o le tabelle) DynamoDB. AWS CloudFormationfornisce un modo automatizzato per effettuare il provisioning e configurare le tabelle e le risorse associate.

Strumenti e risorse

TRACI

Utente aziendale Business analyst Architetto di soluzioni Ingegnere di database Sviluppatore di applicazioni DevOps ingegnere

I

I

C

C

R/A

Output

  • Modello di AWS CloudFormation

Esempio

mySecondDDBTable: Type: AWS::DynamoDB:: Table DependsOn: "myFirstDDBTable" Properties: AttributeDefinitions: - AttributeName: "ArtistId" AttributeType: "S" - AttributeName: "Concert" AttributeType: "S" - AttributeName: "TicketSales" AttributeType: "S" KeySchema: - AttributeName: "ArtistId" KeyType: "HASH" - AttributeName: "Concert" KeyType: "RANGE" ProvisionedThroughput: ReadCapacityUnits: Ref: "ReadCapacityUnits" WriteCapacityUnits: Ref: "WriteCapacityUnits" GlobalSecondaryIndexes: - IndexName: "myGSI" KeySchema: - AttributeName: "TicketSales" KeyType: "HASH" Projection: ProjectionType: "KEYS_ONLY" ProvisionedThroughput: ReadCapacityUnits: Ref: "ReadCapacityUnits" WriteCapacityUnits: Ref: "WriteCapacityUnits" Tags: - Key: mykey Value: myvalue