Get started with Linux/Unix-based instances in Amazon Lightsail - Amazon Lightsail

Get started with Linux/Unix-based instances in Amazon Lightsail

You can create a Linux/Unix-based Lightsail instance (a virtual private server) running an application like WordPress or a development stack like LAMP in seconds. After your instance starts running, you can connect to it via SSH without leaving Lightsail. Here's how.

To create a Windows-based instance, see Get started with Windows-based instances in Amazon Lightsail.

Create a Linux-based instance

  1. On the home page, choose Create instance.

  2. Select a location for your instance (an AWS Region and Availability Zone).

    Choose Change AWS Region and Availability Zone to create your instance in another location.

  3. Optionally, you can change the Availability Zone.

    Choose Change your Availability Zone.

  4. Choose the Linux platform.

  5. Pick an application (Apps + OS) or an operating system (OS Only).

    To learn more about Lightsail instance images, see Choose an Amazon Lightsail instance image.

  6. Choose your instance plan.

    Choose whether your instance uses dual-stack (IPv4 and IPv6), or IPv6-only networking. Some Lightsail blueprints don't support IPv6-only networking at this time. To see which blueprints support IPv6-only networking see Choose an Amazon Lightsail instance image.

    You can try the $3.50 USD Lightsail plan free for one month (up to 750 hours). We'll credit one free month to your account. Learn more on our Lightsail pricing page.

    Note

    As part of the AWS Free Tier, you can get started with Amazon Lightsail for free on select instance bundles. For more information, see AWS Free Tier on the Amazon Lightsail Pricing page.

  7. Enter a name for your instance.

    Resource names:

    • Must be unique within each AWS Region in your Lightsail account.

    • Must contain 2 to 255 characters.

    • Must start and end with an alphanumeric character or number.

    • Can include alphanumeric characters, numbers, periods, dashes, and underscores.

  8. Choose one of the following options to add tags to your instance:

    • Add key-only tags. Enter your new tag into the tag key text box, and press Enter. Choose X to remove any tags you don't want to keep.

      
                The Key-only tags field on the Lightsail create instance workflow.
    • Create a key-value tag, then enter a key into the Key text box, and a value into the Value text box. Key-value tags can only be added one at a time. Choose Add key-value tag to add additional key-value tags, or choose X to remove any tags you don't want to keep.

      
                The Key-value tags field on the Lightsail create instance workflow.
    Note

    For more information about key-only and key-value tags, see Tags.

  9. Choose Create instance.

    For advanced creation options, see Use a launch script to configure your Amazon Lightsail instance when it starts up or Set up SSH for your Linux/Unix-based Lightsail instances.

Within minutes, your Lightsail instance is ready and you can connect to it via SSH, without leaving Lightsail!

Connect to your instance

  1. Note

    The Lightsail browser-based SSH/RDP clients only accept IPv4 traffic. Use a third-party client to SSH or RDP into your instance over IPv6. For more information, see Connect to your instances

    On the Lightsail home page, choose the menu on the right of your instance's name, and then choose Connect.

    
            Instance connect.

    Alternately, you can open your instance management page and choose the Connect tab.

    
            Instance connect.
    Note

    To connect to your instance using an SSH client such as PuTTY, you can follow this procedure: Set up PuTTY to connect to your Lightsail instance.

  2. Now you can type commands into the terminal and manage your Lightsail instance without setting up an SSH client.

    
            Browser-based SSH terminal.

Next steps

Now that you can connect to your instance, what you do next depends on how you plan to use it. For example: