Page tree
Skip to end of metadata
Go to start of metadata

Ubuntu 10.04 LTS

$ ssh root@ec2-xx-xx-xx-xx.eu-west-1.compute.amazonaws.com "uname -r"
2.6.32-309-ec2

$ ec2-describe-images -all|grep 2.6.32-311|grep "ubuntu-kernels/ubuntu-lucid-amd64"|cut -f2
aki-119ca965

$ ec2-describe-instances|grep ec2-xx-xx-xx-xx.eu-west-1.compute.amazonaws.com|cut -f2
i-xxxxxxxx

$ ec2-stop-instances i-xxxxxxxx
$ ec2-modify-instance-attribute --kernel aki-119ca965 i-xxxxxxxx
$ ec2-start-instances i-xxxxxxxx

$ ssh root@ec2-xx-xx-xx-xx.eu-west-1.compute.amazonaws.com "uname -r"
2.6.32-311-ec2