Redigera

Dela via


Quickstart: Run SQL Server in the cloud

Applies to: SQL Server - Linux

In this quickstart, you install SQL Server on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), or Ubuntu in the cloud of your choice. To run SQL Server on Linux in Azure, see Provision a Linux SQL Server virtual machine in the Azure portal.

Note

If you choose to run a paid edition of SQL Server, then you need to bring your own license (BYOL).

Amazon Web Services

  1. Create a Linux AMI with at least 2 GB of memory from the marketplace
  2. Connect to the AMI with ssh
  3. Follow the quickstart for the Linux distribution you chose:
  4. Configure for remote connections:
    • Open the Amazon EC2 console
    • In the navigation pane, choose Security Groups.
    • Choose Inbound, Edit, Add Rule
    • Add an inbound rule to allow traffic on the port on which SQL Server listens (default TCP port 1433)

Digital Ocean

  1. Sign in to the control panel and select Create a droplet
  2. Choose an Ubuntu 18.04 droplet with at least 2 GB of memory
  3. Connect to the droplet with ssh
  4. Follow the Ubuntu quickstart
  5. Configure for remote connections:
    • At the top of the Control Panel, follow the Networking link and then select Firewalls
    • Add an inbound rule to allow traffic on the port on which SQL Server listens (default TCP port 1433)

Google Cloud Platform

  1. Create a Linux image with at least 2 GB of memory from the Cloud Launcher
  2. Connect to the image with ssh
  3. Follow the quickstart for the Linux distribution you chose:
  4. Configure for remote connections:
    • Go to the Firewall Rules
    • Add an inbound rule to allow traffic on the port on which SQL Server listens (default TCP port 1433)