Comandos Basicos

Verificar clusers

 $ ec2-describe-availabiliy-zones

Instancias corriendo

 $ euca-describe-instances 

Imagenes disponibles

 $ ec2-describe-images -o self -o amazon

http://uec-images.ubuntu.com/releases/lucid/release/

Crear instancia

 $ ec2-run-instances ami-1234de7b --instance-type m1.small --region us-east-1 --key ec2-keypar
 
 $ ec2-run-instances ami-61be7908 --instance-type t1.micro --region us-east-1 --key ec2-keypar
 
 $ ec2-describe-instances

--instance-type

  • t1.micro Micro Instance 613 MB of memory, up to 2 ECUs (for short periodic bursts), EBS storage only, 32-bit or 64-bit platform
  • m1.small Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform
  • m1.large Large Instance 7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of local instance storage, 64-bit platform
  • m1.xlarge Extra Large Instance 15 GB of memory, 8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each), 1690 GB of local instance storage, 64-bit platform

Acceder a instancia

 $ ssh -i ec2-keypar ubuntu@{ip_publica_asignada}

Borrar insancia

 $ ec2-terminate-instances {instancia}
 
 $ watch -n4 ec2-describe-instances

Apuntes varios

apt-get update && apt-get update -y
tasksel install lamp-server 
apt-get install -y lamp-server^
ec2-run-instances \
  --user-data-file install-lamp-server \
  --key IDENTITY \
  ami-ID 
 
virtualizacion/cloud/run-terminate-amazon.txt · Última modificación: 2011/08/23 03:41 (editor externo)
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki