Differences between revisions 37 and 38
Revision 37 as of 2016-09-25 14:01:15
Size: 4708
Comment: Add 8.6 AMIs
Revision 38 as of 2016-11-14 15:20:16
Size: 4142
Comment: Update to 8.6+1 post Dirty Cow with ENA driver
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
 * '''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
 * '''HVM images only''' - 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 networking''' - enhanced Networking
 * '''ENA networking''' - Elastic Network Adaptor fro
m release 8.6+1
Line 21: Line 22:

== 8.6+1 ==
<<Anchor(8.6+1)>>
|| '''Region''' || '''hvm x86_64 ebs''' ||
|| ap-northeast-1 || ami-50ed4631 ||
|| ap-northeast-2 || ami-8e6abee0 ||
|| ap-south-1 || ami-c5e490aa ||
|| ap-southeast-1 || ami-0e6dce6d ||
|| ap-southeast-2 || ami-9cc6f9ff ||
|| eu-central-1 || ami-cc8441a3 ||
|| eu-west-1 || ami-7d45150e ||
|| sa-east-1 || ami-3b41de57 ||
|| us-east-1 || ami-49e5cb5e ||
|| us-east-2 || ami-0e79236b ||
|| us-west-1 || ami-db6c39bb ||
|| us-west-2 || ami-8f7bd9ef ||
Line 38: Line 55:
== 8.4 ==

|| '''Region''' || '''hvm x86_64 ebs''' ||
|| ap-northeast-1 || ami-d7d4c5b9 ||
|| ap-northeast-2 || ami-9a03caf4 ||
|| ap-southeast-1 || ami-73974210 ||
|| ap-southeast-2 || ami-09daf96a ||
|| eu-central-1 || ami-ccc021a3 ||
|| eu-west-1 || ami-e079f893 ||
|| sa-east-1 || ami-d3ae21bf ||
|| us-east-1 || ami-c8bda8a2 ||
|| us-west-1 || ami-45374b25 ||
|| us-west-2 || ami-98e114f8 ||
Line 53: Line 57:
== 8.1 ==
<<Anchor(8.1)>>
 * Later versions possibly available.
Line 57: Line 58:
|| '''Region''' || '''hvm x86_64 ebs''' || '''paravirtual x86_64 ebs''' ||
|| ap-northeast-1 || ami-e624fbe6 || ami-0822fd08 ||
|| ap-southeast-1 || ami-ac360cfe || ami-4e370d1c ||
|| ap-southeast-2 || ami-bbc5bd81 || ami-e7c5bddd ||
|| eu-central-1 || ami-02b78e1f || ami-5cb78e41 ||
|| eu-west-1 || ami-e31a6594 || ami-971a65e0 ||
|| sa-east-1 || ami-0972f214 || ami-5972f244 ||
|| us-east-1 || ami-116d857a || ami-896d85e2 ||
|| us-west-1 || ami-05cf2541 || ami-21cf2565 ||
|| us-west-2 || ami-818eb7b1 || ami-ed8eb7dd ||
|| cn-north-1 || ami-888815b1 || - ||
|| us-gov-west-1 || ami-35b5d516 || ami-3fb5d51c ||

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.

What's in Debian Jessie EC2 Images

  • HVM images only - 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 networking - enhanced Networking

  • ENA networking - Elastic Network Adaptor from release 8.6+1

  • 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

  • Python-boto is installed by default

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

  • Please report bugs to the cloud.debian.org pseudo-package, when they are related to the choices made when building the image (which packages to include, which customisation was made, etc.). Advanced users can add the usertags to triage the report more precisely.

8.6+1

Region

hvm x86_64 ebs

ap-northeast-1

ami-50ed4631

ap-northeast-2

ami-8e6abee0

ap-south-1

ami-c5e490aa

ap-southeast-1

ami-0e6dce6d

ap-southeast-2

ami-9cc6f9ff

eu-central-1

ami-cc8441a3

eu-west-1

ami-7d45150e

sa-east-1

ami-3b41de57

us-east-1

ami-49e5cb5e

us-east-2

ami-0e79236b

us-west-1

ami-db6c39bb

us-west-2

ami-8f7bd9ef

8.6

Region

hvm x86_64 ebs

ap-northeast-1

ami-1f4a9a7e

ap-northeast-2

ami-a85481c6

ap-south-1

ami-6aed9805

ap-southeast-1

ami-83cb6ee0

ap-southeast-2

ami-74300017

eu-central-1

ami-30e01d5f

eu-west-1

ami-ff0e758c

sa-east-1

ami-bbc350d7

us-east-1

ami-9d6c128a

us-west-1

ami-84cc83e4

us-west-2

ami-2a34e94a

AWS CLI

Enumerate Debian account AMI:

  • AWS profile default Region:

    aws ec2 describe-images --owners 379101102735 --filters "Name=architecture,Values=x86_64" "Name=name,Values=debian-jessie-*" "Name=root-device-type,Values=ebs" "Name=virtualization-type,Values=hvm"

  • Debian canonical Region:

    aws --region us-east-1 ec2 describe-images --owners 379101102735 --filters "Name=architecture,Values=x86_64" "Name=name,Values=debian-jessie-*" "Name=root-device-type,Values=ebs" "Name=virtualization-type,Values=hvm"

  • See describe-images documentation.


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.