Differences between revisions 36 and 37
Revision 36 as of 2016-07-19 23:18:26
Size: 4653
Comment: Document where to report issues.
Revision 37 as of 2016-09-25 14:01:15
Size: 4708
Comment: Add 8.6 AMIs
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
== 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 ||
Line 36: Line 52:

== 8.3 ==

|| '''Region''' || '''hvm x86_64 ebs''' ||
|| ap-northeast-1 || ami-899091e7 ||
|| ap-southeast-1 || ami-7bb47d18 ||
|| ap-southeast-2 || ami-9a7056f9 ||
|| eu-central-1 || ami-2638224a ||
|| eu-west-1 || ami-11c57862 ||
|| sa-east-1 || ami-651f9c09 ||
|| us-east-1 || ami-f0e7d19a ||
|| us-west-1 || ami-f28bfa92 ||
|| us-west-2 || ami-837093e3 ||
|| cn-north-1 ||ami-da69a1b7 ||

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

  • 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

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

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

8.1

  • Later versions possibly available.

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

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.