Create Linux instance in AWS


Follow the same process described in Create Windows instance in AWS to build the Linux instance. The only two differences are the security group settings and the remote connection method.

image

1) Create a new security group to allow the SSH (and VNC) inbound traffic.

image

2) There are 3 ways to connect to the remote Linux server.

– Web based SSH client

– On Linux, run the command  ‘ssh -i keypair.pem username@ip address

– On Windows, use ssh client to connect. e.g Putty

If you use Putty, you need to convert the .pem certificate into .ppk format.

image

Use private key file for authentication when connect to the remote server.

image

image

If you prefer to use GUI, then you need to install the desktop shell and VNC server. In my example, I use Ubunut 13.04 server.

Install Gnome and VNC

sudo apt-get update

sudo apt-get install gnome-core –y

sudo apt-get install vnc4server –y

Edit ~/.vnc/xstartup to define the gnome session

image

Run ‘vncserver’ and configure the password

Use vnc client to Connect

image

image

Advertisement

One thought on “Create Linux instance in AWS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s