Differences between revisions 38 and 39
Revision 38 as of 2016-11-14 15:20:16
Size: 4142
Comment: Update to 8.6+1 post Dirty Cow with ENA driver
Revision 39 as of 2017-01-15 13:02:35
Size: 4237
Comment: Debian Jessie release 8.7
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 * '''SR-IOV networking''' - enhanced Networking  * '''SR-IOV networking''' - Enhanced Networking
Line 22: Line 22:

== 8.7 ==
<<Anchor(8.7)>>
|| '''Region''' || '''hvm x86_64 ebs''' ||
|| ap-northeast-1 || ami-dbc0bcbc ||
|| ap-northeast-2 || ami-6d8b5a03 ||
|| ap-south-1 || ami-9a83f5f5 ||
|| ap-southeast-1 || ami-0842e96b ||
|| ap-southeast-2 || ami-881317eb ||
|| ca-central-1 || ami-a1fe43c5 ||
|| eu-central-1 || ami-5900cc36 ||
|| eu-west-1 || ami-402f1a33 ||
|| eu-west-2 || ami-87848ee3 ||
|| sa-east-1 || ami-b256ccde ||
|| us-east-1 || ami-b14ba7a7 ||
|| us-east-2 || ami-b2795cd7 ||
|| us-west-1 || ami-94bdeef4 ||
|| us-west-2 || ami-221ea342 ||
Line 38: Line 57:

== 8.6 ==
<<Anchor(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 ||



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.7

Region

hvm x86_64 ebs

ap-northeast-1

ami-dbc0bcbc

ap-northeast-2

ami-6d8b5a03

ap-south-1

ami-9a83f5f5

ap-southeast-1

ami-0842e96b

ap-southeast-2

ami-881317eb

ca-central-1

ami-a1fe43c5

eu-central-1

ami-5900cc36

eu-west-1

ami-402f1a33

eu-west-2

ami-87848ee3

sa-east-1

ami-b256ccde

us-east-1

ami-b14ba7a7

us-east-2

ami-b2795cd7

us-west-1

ami-94bdeef4

us-west-2

ami-221ea342

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

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.