How to Commit Data Models to Amazon Keyspaces and Apache Cassandra - Amazon Keyspaces (for Apache Cassandra)

How to Commit Data Models to Amazon Keyspaces and Apache Cassandra

This section shows you how to commit completed data models to Amazon Keyspaces and Apache Cassandra clusters. This process automatically creates the server-side resources for keyspaces and tables based on the settings that you defined in the data model.


            Console screenshot that shows the commit options.

Before You Begin

Amazon Keyspaces requires the use of Transport Layer Security (TLS) to help secure connections with clients. To connect to Amazon Keyspaces using TLS, you need to complete the following task before you can start.

  • Download the Starfield digital certificate using the following command and save it to the path_to_file/ directory.

    Note

    You can also use the Amazon digital certificate to connect to Amazon Keyspaces and can continue to do so if your client is connecting to Amazon Keyspaces successfully. The Starfield certificate provides additional backwards compatibility for clients using older certificate authorities.

    curl https://www.amazontrust.com/repository/AmazonRootCA1.pem -O

After you have saved the certificate file, you can connect to Amazon Keyspaces. One option is to connect by using service-specific credentials. Service-specific credentials are a user name and password that are associated with a specific IAM user and can only be used with the specified service. The second option is to connect with IAM credentials that are using the AWS Signature Version 4 Process (SigV4). To learn more about these two options, see Creating Credentials to Access Amazon Keyspaces Programmatically.

To connect with service-specific credentials, see Connecting to Amazon Keyspaces with Service-Specific Credentials.

To connect with IAM credentials, see Connecting to Amazon Keyspaces with IAM Credentials.