ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
    • ScyllaDB Open Source
    • ScyllaDB Enterprise
    • ScyllaDB Alternator
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
Download
Menu
ScyllaDB Docs ScyllaDB Cloud Deployment AWS Virtual Private Network (VPC) Peering Setup Guide

AWS Virtual Private Network (VPC) Peering Setup Guide¶

Scylla Cloud allows you to connect your application’s private network directly to the Scylla clusters’ private network by using AWS VPC peering. By following this guide, you will better secure your customer’s data and make sure all traffic between Scylla’s cluster and the application layer is being done via a private network and never traverses the public internet.

For more information on AWS VPC peering and its security advantages, please read the AWS documentation.

Caution

  • VPC peering is set at the cluster creation stage and cannot be configured on an existing cluster.

  • VPC peering is a mandatory setting for multi Data Center (DC) deployments.

Setup AWS VPC Peering¶

Procedure

  1. From the Create Cluster page, check the Enable VPC Peering checkbox.

    ../_images/enable-vpc.png

    Continue with the new cluster set up (Choose the node type, the number of nodes, the Replication Factor), and click Launch Cluster.

  2. Once the cluster is created, click Setup VPC Peering. This opens a wizard. The first stage is Step 1. Request.

  3. In the AWS Details section, fill in the VPC peering information needed giving the details of your AWS console:

    ../_images/new-vpc2.png

    Include the following details, and click Submit VPC Peering Request when done.

    • Data Center - The name of the data center for Scylla cluster

    • AWS Account ID - The account ID number for the Private Network you plan to peer in AWS. To find your account id, from your AWS console navigate to support>support center (upper right corner).

    • VPC ID - The application VPC ID which you plan to peer with.

    • VPC Network - The network block of your VPC in CIDR format (so we can route correctly to your VPC). This mustn’t intersect with 172.31.0.0/16

    • VPC Region - Select the region your VPC is set in. Make sure this is the same region as the cluster region.

    If you want to add your VPC network address to the cluster’s allowed address list, check the checkbox.

  4. You will see the next phase in the wizard Step 2. Accept. This page named Setting up VPC Peering is a customized page, based on your AWS VPC details, and the Scylla Cloud information you already entered. Follow each step on this page. Make sure to copy/paste the Peering Connection ID where indicated.

    Alternatively, you can use the AWS CLI to complete the peering (using the peering connection ID you copied):

    aws ec2 accept-vpc-peering-connection --vpc-peering-connection-id pcx-XXXXXXXXXXXXXXXXXX
    

    When all steps have been completed, click Connect. This brings you to Step 3. Route.

  5. The next phase in the wizard is Step 3. Route. This page, named VPC Peering Route Configuration is a customized page with VPC peering route configuration. Follow each step on this page. Make sure you use the specific VPC ID and CIDR Block, as they are based on your settings.

    Or using the AWS CLI, for every routing table you which to connect:

    aws ec2 create-route --route-table-id rtb-XXXXXXXXXXXXXXXXXX --vpc-peering-connection-id pcx-XXXXXXXXXXXXXXXXXX --destination-cidr-block 172.31.0.0/16
    

    Once you have successfully tested and confirmed connectivity, click Done.

PREVIOUS
Deploy ScyllaDB Cloud to Your Own AWS Account
NEXT
GCP Virtual Private Network (VPC) Peering Setup Guide
ScyllaDB Cloud
  • New to ScyllaDB? Start here!
  • Quick Start Guide to ScyllaDB Cloud
  • About ScyllaDB Cloud as a Service
    • Benefits
    • Backups
    • Best Practices
    • Managing ScyllaDB Versions
    • Support, Alerts, and SLA Commitments
    • Costs
  • Deployment
    • Cloud Providers
    • Deploy ScyllaDB Cloud to Your Own AWS Account
    • AWS Virtual Private Network (VPC) Peering Setup Guide
    • GCP Virtual Private Network (VPC) Peering Setup Guide
    • Run Managed ScyllaDB Cloud Clusters on AWS Outposts
  • Managing Clusters
    • Maintenence Windows
    • Scaling a Cluster
    • Deleting a Cluster
  • Using ScyllaDB
    • Apache Cassandra Query Language (CQL)
    • ScyllaDB Drivers
    • Tracing
    • Role Based Access Control (RBAC)
    • ScyllaDB Integrations
  • Monitoring
    • Extracting Cluster Metrics
  • Security
    • ScyllaDB Cloud Security Best Practices
    • ScyllaDB Cloud Compliance
    • ScyllaDB Cloud Security Concepts
  • Serverless
  • Free Trial
  • Tutorials
  • API Documentation
    • Get Started with the ScyllaDB Cloud API
    • API Reference (BETA)
  • Terraform Provider
  • Getting Help
    • ScyllaDB Cloud FAQ
  • Create an issue

On this page

  • AWS Virtual Private Network (VPC) Peering Setup Guide
    • Setup AWS VPC Peering
Logo
Docs Contact Us About Us
Mail List Icon Slack Icon Forum Icon
© 2023, ScyllaDB. All rights reserved.
Last updated on 21 Mar 2023.
Powered by Sphinx 4.3.2 & ScyllaDB Theme 1.4.2