bcc24c1b86
specify the EC2 region in which the AMI is to be created. It also starts an instance booted from the newly created AMI to test it. svn path=/nixos/trunk/; revision=33771
13 lines
341 B
Nix
13 lines
341 B
Nix
{
|
|
network.description = "NixOS EBS creator";
|
|
|
|
machine =
|
|
{ config, pkgs, ... }:
|
|
{ deployment.targetEnv = "ec2";
|
|
deployment.ec2.instanceType = "m1.small";
|
|
deployment.ec2.keyPair = "eelco";
|
|
deployment.ec2.securityGroups = [ "eelco-test" ];
|
|
deployment.ec2.blockDeviceMapping."/dev/xvdg".size = 20;
|
|
};
|
|
}
|