Using Amazon EC2-compatible compute instances locally - Amazon Snowcone User Guide
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Using Amazon EC2-compatible compute instances locally

You can use Amazon OpsHub to run pre-installed software on virtual servers (instances) locally on your device, and also to manage Amazon EC2 instances on your device.

Launching an Amazon EC2-compatible instance

Follow these steps to launch an Amazon EC2-compatible instance using Amazon OpsHub.

To launch an Amazon EC2-compatible instance
  1. Open the Amazon OpsHub application.

  2. In the Start computing section on the dashboard, choose Get started. Or, choose the Services menu at the top, and then choose Compute (EC2) to open the Compute page. All your compute resources appear in the Resources section.

  3. If you have Amazon EC2-compatible instances running on your device, they appear in the Instance name column under Instances. You can see details of each instance on this page.

  4. Choose Launch instance. The launch instance wizard opens.

  5. For Device, choose the Snow device that you want to launch the Amazon EC2-compatible.

    
                                Amazon OpsHub launch instance wizard
  6. For Image (AMI), choose an Amazon Machine Image (AMI) from the list. This AMI is used to launch your instance.

  7. For Instance type, choose one from the list.

  8. Choose how you want to attach an IP address to the instance. You have the following options:

    • Create public IP address (VNI) – Choose this option to create a new IP address using a physical network interface. Choose a physical network interface and IP address assignment.

    • Use existing IP address (VNI) – Choose this option to use an existing IP address and then use existing virtual network interfaces. Choose a physical network interface and a virtual network interface.

    • Do not attach IP address – Choose this option if you don't want to attach an IP address.

  9. Choose how you want to attach a key pair to the instance. You have the following options:

    Create key pair – Choose this option to create a new key pair and launch the new instance with this key pair.

    Use existing key pair – Choose this option to use an existing key pair to launch the instance.

    Do not attach IP address – Choose this option if you don't want to attach a key pair. You must acknowledge that you won't able to connect to this instance unless you already know the password that is built into this AMI.

    For more information, see Working with key pairs.

  10. Choose Launch. You should see your instance launching in the Compute instances section. The State is Pending and then changes to Running when done.

Stopping an Amazon EC2-compatible instance

Use the following steps to use Amazon OpsHub to stop an Amazon EC2-compatible instance.

To stop an Amazon EC2-compatible instance
  1. Open the Amazon OpsHub application.

  2. In the Start computing section of the dashboard, choose Get started. Or, choose the Services menu at the top, and then choose Compute (EC2) to open the Compute page.

    All your compute resources appear in the Resources section.

  3. If you have Amazon EC2-compatible instances running on your device, they appear in the Instance name column under Instances.

  4. Choose the instance that you want to stop, choose the Actions menu, and choose Stop. The State changes to Stopping, and then to Stopped when done.

    
                                Instance selection and Action menu showing Stop
                                    option

Starting an Amazon EC2-compatible instance

Use these steps to start an Amazon EC2-compatible instance using Amazon OpsHub.

To start an Amazon EC2-compatible instance
  1. Open the Amazon OpsHub application.

  2. In the Start computing section of the dashboard, choose Get started. Or, choose the Services menu at the top, and then choose Compute (EC2) to open the Compute page.

    Your compute resources appear in the Resources section.

  3. In the Instance name column, under Instances, find the instance that you want to start.

  4. Choose the instance, and then choose Start. The State changes to Pending, and then changes to Running when done.

    Instances tab showing an instance chosen and the Actions menu open with Start chosen.

Working with key pairs

When you launch an Amazon EC2-compatible instance and intend to connect to it using SSH, you have to provide a key pair. You can use Amazon EC2 to create a new key pair, or you can import an existing key pair or manage your key pairs.

To create, import, or manage key pairs
  1. Open Compute on the Amazon OpsHub dashboard.

  2. In the navigation pane, choose the Compute (EC2) page, and then choose the Key Pairs tab. You are redirected to the Amazon EC2 console where you can create, import, or manage your key pairs.

  3. For instructions on how to create and import key pairs, see Amazon EC2 key pairs and Linux instances in the Amazon EC2 User Guide for Linux Instances.

Terminating an Amazon EC2-compatible instance

After you terminate an Amazon EC2-compatible instance, you can't restart the instance.

To terminate an Amazon EC2-compatible instance
  1. Open the Amazon OpsHub application.

  2. In the Start computing section on the dashboard, choose Get started. Or, choose the Services menu at the top, and then choose Compute (EC2) to open the Compute page. You can see all your compute resources in the Resources section.

  3. In the Instance name column, under Instances, find the instance that you want to terminate.

  4. Choose the instance, and choose the Actionsmenu. From the Actions menu, choose Terminate.

    Instances tab showing instance chose and Actions menu showing Terminate chosen.
  5. In the Terminate instances window, choose Confirm terminate.

    Terminate instances window showing instance name and Confirm terminate button.
    Note

    After the instance is terminated, you can't restart it.

    The State changes to Terminating, and then to Terminated when done.

Using storage volumes locally

Amazon EC2-compatible instances use Amazon EBS volumes for storage. In this procedure, you create a storage volume and attach it to your instance using Amazon OpsHub.

To create a storage volume
  1. Open the Amazon OpsHub application.

  2. In the Start computing section on the dashboard, choose Get started. Or, choose the Services menu at the top, and then choose Compute (EC2) to open the Compute page.

  3. Choose the Storage volumes tab. If you have storage volumes on your device, the details about the volumes appear under Storage volumes.

  4. Choose Create volume to open the Create volume page.

    
                                Create Volume page
  5. Choose the device that you want to create the volume on, enter the size (in GiBs) that you want to create, and choose the type of volume.

  6. Choose Submit. The State is Creating, and changes to Available when done. You can see your volume and details about it in the Volumes tab.

To attach a storage volume to your instance
  1. Choose the volume that you created, and then choose Attach volume.

    
                                Attach volume window showing Compute Instance Id and Volume
                                    Device Name
  2. For Compute instance Id, choose the instance you want to attach the volume to.

  3. For Volume Device Name, enter the device name of your volume (for example, /dev/sdh or xvdh).

  4. Choose Attach.

If you no longer need the volume, you can detach it from the instance and then delete it.