YugabyteDB
Ask AI Ask AI about""
    OR Ask AIAsk AI
    • Star us on Github YugabyteDB Github
    • Join us on Slack YugabyteDB Community Slack
    • Start Now
      • YugabyteDB Aeon
        YugabyteDB AeonTry our fully-managed cloud DBaaS for free.No credit card requiredSign up
      • YugabyteDB
        YugabyteDBTry our open source distributed SQL database on your laptop.Download
    • Products
      • YugabyteDB
        YugabyteDBThe open source distributed SQL database
      • YugabyteDB Anywhere
        YugabyteDB AnywhereSelf-managed cloud DBaaS
      • YugabyteDB Aeon
        YugabyteDB AeonFully-managed cloud DBaaS
      • YugabyteDB Voyager
        YugabyteDB VoyagerDatabase migration service
    • Develop
    • Integrations
    • API
      • SQL APIs
      • YSQL
        YSQL
      • YCQL
        YCQL
      • Clients
      • ysqlsh
        ysqlsh
      • ycqlsh
        ycqlsh
      • Management APIs
      • YugabyteDB Anywhere API
        YugabyteDB Anywhere API
      • YugabyteDB Aeon API
        YugabyteDB Aeon API
    • FAQ
    • Releases
      • YugabyteDB
        YugabyteDB
      • YugabyteDB Anywhere
        YugabyteDB Anywhere
      • YugabyteDB Aeon
        YugabyteDB Aeon
      • YugabyteDB Voyager
        YugabyteDB Voyager
      • YugabyteDB Clients
        YugabyteDB Clients
      • Tech Advisories
        Tech Advisories
    Docs Menu
      • Download
      • Join our community
        • Slack
        • Yugabyte University
        • GitHub
        • Yugabyte Friday Tech Talks
        • Forum
      • Contact Support
      1. YugabyteDB
      2. API
      3. YSQL
      4. Built-in functions and operators
      5. Geo-partitioning helper functions
      6. yb_server_cloud()
      v2.25 Preview Preview release - not for production
      v2025.1 STS Stable release with standard-term support v2.25 Preview Preview release - not for production v2024.2 LTS Stable release with long-term support v2024.1 STS Stable release with standard-term support v2.20 LTS Stable release with long-term support Unsupported versions

      yb_server_cloud()

      Synopsis

      yb_server_cloud() returns the cloud provider that a user's server is connected to.

      Examples

      Call yb_server_cloud()

      yugabyte=# SELECT yb_server_cloud();
      
       yb_server_cloud
      -----------------
       aws
      (1 row)
      

      See also

      • yb_server_region()
      • yb_server_zone()
      • yb_is_local_table(oid)
      • Contribute List Contribute
        Report a doc issue Suggest new content Edit this page Contributor guide
      On this page On this page
      • Synopsis
      • Examples
      • See also
      YugabyteDB
      © 2025 YugabyteDB, Inc. All Rights ReservedPrivacy Policy | Terms of Service