Differences between revisions 26 and 27
Revision 26 as of 2015-04-26 01:51:58
Size: 2808
Comment: Jessie 8.0 AMIs for EC2
Revision 27 as of 2015-04-26 02:02:37
Size: 2812
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
== 8.0 ==
<<Anchor(8.0)>>
== 8.0.0 ==
<<Anchor(8.0.0)>>

Debian Jessie on AWS EC2

SSH username

SSH to Debian instances as user admin using your SSH key, and then sudo -i to gain root access.

New in Debian Jessie EC2 Images

  • HVM images preferred - current generation EC2 instances all support HVM virtualisation.

  • 64 bit images only - current generation EC2 instances all support 64 bit; if you require 32 bit, please look at Multiarch

  • SR-IOV images for HVM - enhanced Networking is enabled by default

  • Multiple ENI support - DHCP client is configured to support the number of network interfaces the instance supports (up to 8), hot plugged with udev

  • Multiple sub-interfaces - DHCP client is configured to support multiple IP addresses per interface

  • AWS CLI is installed by default (from Debian package)

  • Python-boto is installed by default (from Debian package)

  • From 20141225 - apt-transport-https is installed; you can change your sources.list to https://cloudfront.debian.net (or other https site) if you wish!

8.0.0

Region

hvm x86_64 ebs

paravirtual x86_64 ebs

ap-northeast-1

ami-ce5594ce

ami-56549556

ap-southeast-1

ami-fa4c70a8

ami-8c4c70de

ap-southeast-2

ami-c71d61fd

ami-2f1e6215

eu-central-1

ami-02724d1f

ami-28724d35

eu-west-1

ami-99f39eee

ami-8bf29ffc

sa-east-1

ami-b7f97daa

ami-dbf97dc6

us-east-1

ami-144f4d7c

ami-ac4c4ec4

us-west-1

ami-0343ae47

ami-db43ae9f

us-west-2

ami-0d5b6c3d

ami-a7596e97

cn-north-1

ami-26d14c1f

-

us-gov-west-1

ami-a7d3b284

ami-a5d3b286


The Jessie release of Debian was built with bootstrap-vz (formerly called build-debian-cloud), and contains the CloudInit package.

Please note that a Marketplace image volume cannot be attached to another running instance (For example, to repair a broken /etc/fstab, or /etc/network/interfaces). This is a limitation of all Marketplace images, as described here: Official AWS documentation

Fun with cloud-init

You may wish to play with cloud-init, for example:

   1 #cloud-config
   2 package_update: true
   3 package_upgrade: true
   4 package_reboot_if_required: true
   5 packages:
   6 - pwgen
   7 - less
   8 locale: fr_FR.UTF-8
   9 ssh_authorized_keys:
  10 - ssh-rsa AAAAB3Nz....89dGp5 me@mykey1
  11 - ssh-rsa AAAAB3Nz....89dGp5 me@mykey2
  12 final_message: "The system is finally up, after $UPTIME seconds"


See also Cloud and Teams/Cloud.