Guide: Setup EC2 Instance
This is a step-by-step guide for launching an EC2 instance that hosts
the Canopy Cloud Service.
Step 1: Launch an Ubuntu 14.04 instance
From the Amazon EC2 Management Console, click "Launch Instance":
Select "Ubuntu Server 14.04 LTS" when asked to choose an AMI:
Select the desired instance type. For now, we will just use the smallest
instance available. Click "Review and Launch":
Everything looks good. Click "Launch":
You will be prompted about selecting a key pair. Choose "Create a new key
pair" and call it "canopy-ec2". Download the key pair. This is very
important! These keys are the only way to access the instance and cannot
be downloaded again once the instance is created. Finally, click "Launch
Click on the instance name to view its status:
Take note of the public IP address. You will need this
later to SSH into the server:
One last thing. We need to change the firewall to allow
incoming HTTP/HTTPS packets. Click on the instance's "Security Group" to
Under the "Inbound" tab, click "Edit":
Add rules for "HTTP" and "HTTPS". Then click "Save".
Step 2: SSH into the server
For this you will need:
- The instance's public IP address from step 1.7
- The downloaded canopy-ec2.pem file from step 1.5
First, change the permissions of the .pem file.
Otherwise, SSH will reject it.
chmod 400 canopy-ec2.pem
SSH into the instance from the terminal using the .pem
ssh -i canopy-ec2.pem ubuntu@PUBLIC_IP
ssh -i canopy-ec2.pem email@example.com
You should see the following output in your terminal:
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-29-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Mon Sep 8 16:11:10 UTC 2014
System load: 0.32 Memory usage: 6% Processes: 118
Usage of /: 9.7% of 7.74GB Swap usage: 0% Users logged in: 0
=> There are 2 zombie processes.
Graph this data and manage this system at:
Get cloud support with Ubuntu Advantage Cloud Guest:
0 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
Step 3: Install Canopy Cloud Service
Follow these instructions: Guide: Install CCS on Ubuntu 14.04