Skip to main content
Skip table of contents

Synchronize Server Resources in AWS​

Overview

QueryPie supports integration with AWS for server registration and management. By synchronizing resources from AWS, you can register and manage servers in QueryPie, grant access permissions to users and groups, and set policies for the synchronized servers. Additionally, you can automatically add scale-out servers to server groups, applying predefined access permissions.

Registering AWS Integration in QueryPie

image-20240723-163329.png

Administrator > Servers > Connection Management > Cloud Providers > Create Provider

  1. Navigate to the Administrator > Servers > Connection Management > Cloud Providers menu.

  2. Click the + Create Provider button in the upper right corner.

  3. Name: Enter a name to distinguish the provider.

  4. Cloud Provider: Select Amazon Web Services.

  5. Region: Choose the region where the resources to be synchronized are located.

  6. Credential: Enter the credentials required for synchronization.

    1. Refer to the Setting Up Credential Types section below for more details.

  7. Search Filter: Use this option to fetch a list of resource types you want to synchronize.

    1. The search filter operates similarly to AWS search methods, allowing you to use values such as names and tags for filtering.

      1. Enter the Key value → Select the search condition → Enter the Value

    2. For more detailed usage instructions, refer to the User Guide for Linux Instances (AWS).

  8. Replication Frequency: Choose how synchronization should occur:

    • Manual: Synchronize resources manually when needed.

    • Scheduling: Set up periodic synchronization using Cron Expressions.

  9. Click the Save button to store the Cloud Provider settings.

Q: I clicked the Save button, but I'm getting an error message saying "Already exists cloud provider."

A: If there is already a Cloud Provider registered with the same Region using Default Credentials, you cannot register another one due to duplication. To resolve this, please try registering with a different Region, and the save operation should proceed successfully.

Setting Up Credential Types

image-20240723-163701.png

Administrator > Servers > Connection Management > Cloud Providers > Create Provider

  • Default Credentials : If the QueryPie server is installed on the same AWS account, you can assign the AmazonEC2ReadOnlyAccess policy to the EC2 instance where QueryPie is installed to synchronize resources within the same AWS account.

  • Cross Account Role : This method allows synchronization of resources from a different AWS account by creating an IAM role. Follow the on-screen steps to generate the necessary permissions and assign policies.

  • Profile Credential : Similar to Cross Account Role, this method allows the synchronization of resources from another AWS account by creating an IAM role.

  • Access Key : This method allows only manual synchronization. After saving, you can click the Synchronize button on the Provider details screen, enter the AWS account's Access Key, and synchronize the resources once.

Synchronizing and Managing AWS Cloud Providers

image-20240723-163800.png

Administrator > Servers > Connection Management > Cloud Providers > List Details

  1. Navigate to the Administrator > Servers > Connection Management > Cloud Providers menu.

  2. Click on the registered Cloud Provider to open the details screen.

  3. Click the Dry run button in the upper right corner to preview the servers that will be synchronized from AWS. Note that the Dry run results are not saved.

  4. Click the Sychronize button in the upper right corner to sync resources from AWS.

  5. You can monitor synchronization progress in the Synchronization Log or view the history under Administrator > General > Systems > Jobs.

  6. Once a Cloud Provider is registered, certain provider details cannot be modified:

    1. Name: Changeable

    2. Cloud Provider: Not changeable

    3. Region: Not changeable

    4. Credential: Not changeable

    5. Role ARN: Not changeable

    6. Search Filter : Changeable

    7. Replication Frequency : Changeable (except when the credential type is Access Key)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.