-------------------------------
This can be done. Following are the steps to setup the GUI
* Create new user with password login
This was published in http://bit.ly/1LaP9tT. Based on the comments and minor changes (maked in bold) the below worked for me.
This can be done. Following are the steps to setup the GUI
* Create new user with password login
sudo useradd -m awsgui
sudo passwd awsgui
sudo usermod -aG admin awsguisu - awsgui
sudo vim /etc/ssh/sshd_config # edit line "PasswordAuthentication" to yes
sudo /etc/init.d/ssh restart
* Setting up ui based ubuntu machine on AWS.
* In security group open port 5901. Then ssh to the server instance. Run following commands to install ui and vnc server:
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install vnc4server
* Then run following commands and enter the login password for vnc connection:
vncserver
vncserver -kill :1
vim awsgui/.vnc/xstartup
* replace the text with the text below (make sure u have a copy)
#!/bin/sh
def
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
* When you’re done, hit Ctrl + C on the keyboard, type :wq and hit Enter.
* Restart the server
* Then start vnc server again.
vncserver
In the vnc client, give public DNS plus “:1” (e.g. www.example.com:1) or private ip address. Enter the vnc login password. Make sure to use a normal connection. Don’t use the key files.
Importing an external image into AWS requires the steps below.
aws ec2 help
aws ec2 import-image –cli-input-json “
{ "Description": "Datapower OVA",
"DiskContainers": [
{ "Description": "First CLI task",
"UserBucket":{ "S3Bucket": "datapower-bucket",
"S3Key" : "rel_agoradco_nonpd_xen.vhd"
}
} ]
}”
aws ec2 describe-import-image-tasks –import-task-ids import-ami-fgifmh5x
References:
Elastic Network Interface is a Virtual Network Interface that you can attach to an instance in VPC.
NIC - A network interface is the point of interconnection between a computer and a private or public network. A network interface is generally anetwork interface card (NIC), but does not have to have a physical form. Instead, the network interface can be implemented in software.
For eg: Loop back address or 127.0.0.1 is not a physical device - but a software simulating a network device
References:
If you plan to send email from one of the instances
It can be useful to have multiple IP addresses to your instance in VPC to do the following
References:
A network ACL is an optional layer of security that acts as a firewall for controlling traffic in and out of a subnet.
Amazon VPC (Virtual Private Cloud) is a
Benefits: By launching your instances in VPC
References:
IAM (Identity and Access Management) is used to manage access to Compute, Storage, Database and Application Services in the AWS cloud.
Challenge - to securely distribute credentials across all instances - especially those created by AWS on your behalf - Spot Instances and Auto Scalling group.
References:
IaaS, PaaS and SaaS are cloud computing service models
IaaS (Infrastructure as a Service), as the name suggests, provides you the computing infrastructure, physical or (quite often) virtual machines and other resources like virtual-machine disk image library, block and file-based storage, firewalls, load balancers, IP addresses, virtual local area networks etc.
PaaS (Platform as a Service) - , as the name suggests, provides you computing platforms which typically includes operating system, programming language execution environment, database, web server etc.
While in SaaS (Software as a Service) model you are provided with access to application softwares often referred to as on-demand softwares. You don’t have to worry about the installation, setup and running of the application. Service provider will do that for you. You just have to pay and use it through some client.
Few additional points regarding your question:
1- AWS(Amazon web services) is a complete suite which involves a whole bunch of useful web services. Most popular are EC2 and S3 and they belong to IaaS service model.
2- Although Hadoop is based on previous works by Google(GFS and MapReduce), it is not from Google. It is an Apache project. You can find more here. It is just a distributed computing platform and does not fall into any of these service models, IMHO.
3- Microsoft’s Windows Azure is again an example of IaaS.
As far as popularity of these services is concerned, they all are popular. It’s just that which one fits into your requirements better. For example, if you want to have a Hadoop cluster on which you would run MapReduce jobs, you will find EC2 a perfect fit, which is IaaS. On the other hand if you have some application, written in some language, and you want to deploy it over the cloud, you would choose something like Heroku, which is an example of PaaS.
References:
StackOverflow - http://bit.ly/1AgaDP3
Caution:
Because you can assign multiple rules to a security group, an instance can have hundreds of rules that apply. This can cause complexity.
Suggestion:
Condense your rules as much as possible,
Check the Security Group associated to the instance. Most likely the incoming rule for ICMP Echo Request is disabled.
Cloud Watch - collects, processes raw data from EC2, into readable, near realtime metrics.
The Analytics of CloudWatch is very limited. Librato is good option to add value to the data is generated from CloudWatch.
Instances that you launch into a private subnet in a virtual private cloud (VPC) can’t communicate with the Internet.
You can optionally use a network address translation (NAT) instance in a public subnet in your VPC to enable instances in the private subnet to initiate outbound traffic to the Internet, but prevent the instances from receiving inbound traffic initiated by someone on the Internet.
References:
Elastic IP address - designed for dynamic cloud computing
Public IP Address -
Best Practice EIP (Static IP)
References:
Amazon Machine Image. Its a template that contains software configurations. From an AMI you can launch an Instance which is a virtual server running on the host computer in Amazon’s data center.
AWS uses public key cryptography to secure login info. A Linux instance has no password. U use the key pair to login to the system. Steps:
Private IP Address:
Public IP Address: