Step-by-Step Guide to Getting Started with Scylla Cloud
by Serge Leontiev
More and more teams are choosing our Scylla Cloud as their database-as-a-service. To make this transition even easier, in this post we’ll go step-by-step into what it takes to get your Scylla Cloud cluster up and running quickly.
- If you haven’t already, sign up for a new Scylla Cloud account
- Recommended: Set up Two-Factor Authentication (2FA) for your Scylla Cloud user account.
- Optional: Take advantage of our free trial offering and immediately create your first cluster.
- Recommended: After setting up your free trial, check out our Scylla University Scylla Cloud lab session that walks you through all the steps to create a simple demo cluster. Then connect to your new cluster and execute basic commands to insert and select sample data.
- Check out the other free Scylla University courses.
- Bookmark the Scylla Cloud documentation site.
- Join our community on Slack!
Select Your Cloud Provider
Scylla Cloud is available on both AWS and Google Cloud public clouds, so you can choose your preferred cloud provider to run your cluster. We chose the most optimal compute instances with the best CPU/RAM ratio and local NVMe storage to guarantee predictable performance, high throughput, and low latencies for your applications.
- On the AWS cloud platform, we support high-performance storage optimized i3 and i3en instances.
- On Google Cloud, we are utilizing n2-highmem machines.
Based on your selection, the Scylla Cloud wizard will automatically update the list of geographic regions where you can deploy your cluster and instance types with the estimated cost of cloud compute resources per hour per node.
BYOA as an Option
Scylla Cloud users on AWS have the option to provision Scylla Cloud EC2 resources directly into servers from their own AWS accounts. We call it “Bring Your Own Account” or BYOA. This option allows you to manage all your AWS resources under one account. It also enables you to take advantage of any pre-negotiated AWS rates or cloud credits and apply them towards Scylla Cloud compute resources. Plus, this may help you satisfy strict compliance requirements where sensitive data should remain within your accounts.
Upon selection of your account as a destination for Scylla Cloud deployment, Scylla Cloud provides a wizard that will walk you through all the steps to create a cloud policy and an IAM role for Scylla Cloud. See our documentation for more details. If you have any questions, you can always open a support request through the Scylla Cloud user interface.
After you have settled on your choice of cloud provider and deployment options for Scylla resources, it’s time to choose the right instance types to satisfy your workloads. We offer a capacity planning calculator for your convenience to help you properly size your cluster based on a few properties:
- read and write throughput
- average item size
- projected data set size
The calculator takes those inputs and provides you with a suggested cluster specification, plus a cost estimate for on-demand and reserved capacity. Please note that the calculator cannot factor in more complex types of workloads or advanced features, such as compute or throughput intensive operations. If you have any questions about planning for your own workloads, please reach out to our Solution Architects team, using our Contact Us page.
To learn more about capacity planning for Scylla Cloud, please read this blog post.
Now use the cluster specifications to select instance types within your desired geographic region, the number of nodes you need, and the replication factor you want for your data. Scylla Cloud will automatically provision your cluster across multiple availability zones to ensure the high availability and resilience of your cluster.
You can learn more about Scylla’s high availability design here.
Don’t forget to name your cluster! And we are taking security seriously, so you have to provide a list of IP addresses that will be able to communicate with your cluster on Scylla Cloud.
We highly recommend you avoid routing your traffic over the open internet and instead directly connect your Virtual Private Cloud (VPC) to Scylla Cloud. Read how you can enable VPC peering on your cluster.
When you are satisfied with your selection, simply click the “Launch Cluster” button to provision cloud resources. Now sit back and relax; our automated processes will do all the work.
Connecting to Your Cluster
After your VPC peering is set up, provisioning is done, and your cluster is ready for use, you can immediately connect to your cluster. Scylla Cloud provides you with default credentials and detailed instructions on how to connect to your cluster with different clients and drivers.
Don’t have a driver? Now’s the time to download one. We have links to our CQL drivers right inside the Scylla Cloud user interface.
While we generate a very strong randomized password for you, you can take this opportunity to change the default password of “scylla” user for security purposes!
Monitoring Your Cluster
Scylla Cloud comes integrated with Scylla Monitoring Stack for greater visibility into your cluster’s health and performance. While our team of engineers is taking care of all cluster management and health monitoring tasks, we also give you a real-time dashboard that provides a transparent view of your cluster health, lets you explore CQL metrics, and proactively identifies potential issues in the Advisor section.
Testing the Limits
While we can claim Scylla is the most performant NoSQL database, it’s best to see the objective evidence for yourself. How about putting your cluster to a stress test to go from zero to 2M OPS just in 5 minutes?
Note that due to your own cluster’s specification, you may see more or less operations per second compared to the test setup.
It’s important to note that this guide was written with Scylla’s CQL interface in mind. However, if you are using our Amazon DynamoDB-compatible API, known as Project Alternator, you can check out the documentation here.
Thank you again for trusting your organization’s data and daily operations to Scylla Cloud. We strive to improve the product every day, so if there is a feature you don’t see, or have questions we haven’t already answered in this guide, please let us know!
Feel free to ask a question on our Slack channel.
Or if your question is more of a confidential nature, contact us privately.