<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Deploying Polaris on Cloud Providers on Apache Polaris</title><link>https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/</link><description>Recent content in Deploying Polaris on Cloud Providers on Apache Polaris</description><generator>Hugo</generator><language>en-us</language><copyright>&lt;a href="https://www.apache.org/"&gt;Copyright © 2026 The Apache Software Foundation&lt;/a&gt;.&lt;br&gt;Licensed under the &lt;a href="https://www.apache.org/licenses/LICENSE-2.0"&gt;Apache License, Version 2.0&lt;/a&gt;.</copyright><atom:link href="https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/index.xml" rel="self" type="application/rss+xml"/><item><title>Deploying Polaris on Amazon Web Services (AWS)</title><link>https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/deploy-aws/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/deploy-aws/</guid><description>&lt;p&gt;Build and launch Polaris using the AWS Startup Script at the location provided in the command below. This script will start an &lt;a href="https://aws.amazon.com/rds/postgresql/"&gt;Amazon RDS for PostgreSQL&lt;/a&gt; instance, which will be used as the backend Postgres instance holding all Polaris data.
Additionally, Polaris will be bootstrapped to use this database and Docker containers will be spun up for Spark SQL and Trino.&lt;/p&gt;
&lt;p&gt;The requirements to run the script below are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;There must be at least two subnets created in the VPC and region in which your EC2 instance reside. The span of subnets MUST include at least 2 availability zones (AZs) within the same region.&lt;/li&gt;
&lt;li&gt;Your EC2 instance must be enabled with &lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-instance-settings"&gt;IMDSv1 or IMDSv2 with 2+ hop limit&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;The AWS identity that you will use to run this script must have the following AWS permissions:
&lt;ul&gt;
&lt;li&gt;&amp;ldquo;ec2:DescribeInstances&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;rds:CreateDBInstance&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;rds:DescribeDBInstances&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;rds:CreateDBSubnetGroup&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;sts:AssumeRole&amp;rdquo; on the same role as the Instance Profile role of the EC2 instance on which you are running this script. Additionally, you should ensure that the Instance Profile contains a trust policy that allows the role to trust itself to be assumed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;ASSETS_PATH&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;$(&lt;/span&gt;&lt;span style="color:#204a87"&gt;pwd&lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;)&lt;/span&gt;/getting-started/assets/
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;2&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;CLIENT_ID&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;root
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;3&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;CLIENT_SECRET&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;s3cr3t
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;4&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;POSTGRES_PASSWORD&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;your_secure_password &lt;span style="color:#8f5902;font-style:italic"&gt;# Optional: If not set, a random password will be generated&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;5&lt;/span&gt;&lt;span&gt;./getting-started/assets/cloud_providers/deploy-aws.sh
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="environment-variables" id="environment-variables"&gt;Environment Variables&lt;a class="heading-anchor" href="#environment-variables" aria-label="Anchor"&gt;🔗&lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;The deployment script accepts the following environment variables:&lt;/p&gt;</description></item><item><title>Deploying Polaris on Azure</title><link>https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/deploy-azure/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/deploy-azure/</guid><description>&lt;p&gt;Build and launch Polaris using the Azure Startup Script at the location provided in the command below. This script will start an &lt;a href="https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/overview"&gt;Azure Database for PostgreSQL - Flexible Server&lt;/a&gt; instance, which will be used as the backend Postgres instance holding all Polaris data.
Additionally, Polaris will be bootstrapped to use this database and Docker containers will be spun up for Spark SQL and Trino.&lt;/p&gt;
&lt;p&gt;The requirements to run the script below are:&lt;/p&gt;</description></item><item><title>Deploying Polaris on Google Cloud Platform (GCP)</title><link>https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/deploy-gcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://polaris.apache.org/releases/1.4.1/getting-started/deploying-polaris/cloud-deploy/deploy-gcp/</guid><description>&lt;p&gt;Build and launch Polaris using the GCP Startup Script at the location provided in the command below. This script will start a &lt;a href="https://cloud.google.com/sql/docs/postgres"&gt;Cloud SQL for PostgreSQL&lt;/a&gt; instance, which will be used as the backend Postgres instance holding all Polaris data.
Additionally, Polaris will be bootstrapped to use this database and Docker containers will be spun up for Spark SQL and Trino.&lt;/p&gt;
&lt;p&gt;The requirements to run the script below are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install the &lt;code&gt;gcloud&lt;/code&gt; CLI, if it is not already installed on the GCP VM. Instructions to download the &lt;code&gt;gcloud&lt;/code&gt; CLI can be found &lt;a href="https://cloud.google.com/sdk/docs/install"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Ensure the &lt;code&gt;Cloud SQL Admin API&lt;/code&gt; has been enabled in your project and that your VM&amp;rsquo;s Principal has access to the correct role: &lt;code&gt;roles/cloudsql.admin&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ensure the VM&amp;rsquo;s Principal has access to at least Read-only scope on Compute Engine: &lt;code&gt;compute.readonly&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;ASSETS_PATH&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;$(&lt;/span&gt;&lt;span style="color:#204a87"&gt;pwd&lt;/span&gt;&lt;span style="color:#204a87;font-weight:bold"&gt;)&lt;/span&gt;/getting-started/assets/
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;2&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;CLIENT_ID&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;root
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;3&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;CLIENT_SECRET&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;s3cr3t
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;4&lt;/span&gt;&lt;span&gt;&lt;span style="color:#204a87"&gt;export&lt;/span&gt; &lt;span style="color:#000"&gt;POSTGRES_PASSWORD&lt;/span&gt;&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;your_secure_password &lt;span style="color:#8f5902;font-style:italic"&gt;# Optional: If not set, a random password will be generated&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;5&lt;/span&gt;&lt;span&gt;./getting-started/assets/cloud_providers/deploy-gcp.sh
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="environment-variables" id="environment-variables"&gt;Environment Variables&lt;a class="heading-anchor" href="#environment-variables" aria-label="Anchor"&gt;🔗&lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;The deployment script accepts the following environment variables:&lt;/p&gt;</description></item></channel></rss>