Differences between revisions 6 and 7
Revision 6 as of 2014-09-23 14:36:06
Size: 2504
Comment:
Revision 7 as of 2014-09-24 08:28:11
Size: 2924
Comment:
Deletions are marked like this. Additions are marked like this.
Line 50: Line 50:
= Fun with cloud-init =

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

{{{#!highlight yaml
#cloud-config
package_update: true
package_upgrade: true
package_reboot_if_required: true
packages:
- pwgen
- less
locale: fr_FR.UTF-8
ssh_authorized_keys:
- ssh-rsa AAAAB3Nz....89dGp5 me@mykey1
- ssh-rsa AAAAB3Nz....89dGp5 me@mykey2
final_message: "The system is finally up, after $UPTIME seconds"
}}}

Debian Jessie on AWS EC2

Testing Images (pre release)

Jessie is not yet released (as at 21/Sept/14). All images are temporary and may be removed without warning; please do not reference these AMIs in your CloudFormation templates or AutoScale groups (instead, clone them into your account).

SSH username

Connect to Debian instances as the user admin using your nominated SSH key, and then sudo -i to gain root access. Remote root and password-based SSH is disabled.

New 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 images only - 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)

20140921

Virtualisation

Hardware Virtualisation (HVM)

Root filesystem

EBS

Architecture

x86_64

US-East-1

ami-5c1ab234

US-West-1

ami-116f6754

US-West-2

ami-f7f0b0c7

EU-West-1

ami-02ec4a75

AP-Southeast-1

ami-8cddf9de

AP-Southeast-2

ami-15a9ca2f

AP-Northeast-1

ami-85406e84

SA-East-1

ami-9b45ef86

US-Gov-West-1

ami-bbdfb898

CN-North-1

ami-3e54c607


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

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.