Alex Feinberg
e749184bc7
Fix a typo in create_instances
...
Fix a typo in create_instances: use 'placement_group' instead of placement_group
when calling boto_siupports_param_in_spot_request().
10 years ago
Martin Froehlich
4bcbcc8869
Use get_aws_connection_info to get AWS creds.
...
Previously used get_ec2_creds did not consider security_token,
making MFA requests fail.
10 years ago
steenzout
d960dc1584
issue #994 : use HAS_BOTO to determine if import was successful:
...
- removed import of sys module.
- HAS_BOTO constant to check if import was successful.
- trigger a failure when import fails.
- removed unnecessary imports.
10 years ago
Lorin Hochstein
ea4d5798c7
Use the correct alias syntax
10 years ago
Lorin Hochstein
e759b4d0eb
ec2 module: add instance_id alias
...
Create an alias named instance_id for the instance_ids parameter.
10 years ago
Toshio Kuratomi
31cc5f543f
Fix for py2.6 (no dict comprehensions on py2.6)
10 years ago
Toshio Kuratomi
8ed415589a
Initialize the value of vpc_id variable
10 years ago
Bret Martin
f16d8d9afb
Allow vpc_subnet_id to remain unspecified (see bc0c169
)
10 years ago
Toshio Kuratomi
9f38f6e6a2
Small code cleanup
10 years ago
Brandon W Maister
7f5aea980a
ec2: Apply all security groups at instance-creation
...
The code was picking out the first instance from the security groups
specified, even when multiple groups were specified. Now we use all of
them.
10 years ago
James Cammarata
0c53b9033c
Merge pull request #747 from barraponto/ec2_instance_info
...
Add ec2 instance tags and groups info
10 years ago
Bret Martin
bc0c1692b5
ec2: make group only match group names in this VPC
10 years ago
Brian Coca
77241123a7
Revert "Revert "Don't use 'tenancy' in ec2 spot requests""
10 years ago
Brian Coca
7c42182f47
Revert "Don't use 'tenancy' in ec2 spot requests"
10 years ago
Luc Bourlier
df53b85259
Don't use 'tenancy' in ec2 spot requests
...
The problem was introduced in commit f5789e8e
. 'tenancy' is a parameter of
ec2.run_instances, but not in ec2.request_spot_instances. So it was breaking
the support for spot requests.
10 years ago
Capi Etheriel
5854f53cdc
add ec2 instance tags and groups info
10 years ago
Jean-Baptiste Barth
6090c4e109
Improve formatting after previous commit
10 years ago
Jean-Baptiste Barth
b451cbd37b
EC2: move logic about terminated instances up ( #423 )
...
As stated in #423 , the commit 7f11c3d
broke ec2 spot instance launching
after 1.7.2. This is because it acts on the 'res' variable which have 2
different types in the method, and in case we request spot instances,
the resulting object is not a result of ec2.run_instances() but
ec2.request_spot_instances(). Actually this fix doesn't seem to be
relevant in the spot instances case, because by construction we won't
retrieve 'terminated' instances in the end.
10 years ago
Brian Coca
9e1847ed03
ec2 fix docs format
10 years ago
Brian Coca
95d4b796c0
updated tenancy version added
10 years ago
Brian Coca
68a49bc6fb
Merge pull request #4 from atlashealth/ec2_tenancy
...
Support for EC2 dedicated tenancy option
10 years ago
Philip Misiowiec
71d1044b8b
Adds tenancy state to returning json
10 years ago
Toshio Kuratomi
5af4463823
Gixes to doc formatting
10 years ago
Michael DeHaan
c6b0d469ac
Misc EC2 doc tweaks.
10 years ago
Philip Misiowiec
59701feadb
added version
10 years ago
Philip Misiowiec
f5789e8eda
Support for EC2 dedicated tenancy option
10 years ago
Robert Estelle
4dd099fe7a
Remove incorrect executable permissions.
10 years ago
José Moreira
03cf57c6f0
Fixed small typo on ec2 task name
10 years ago
Brian Coca
0c4adcb2c6
made subcategories for cloud modules for better organization
10 years ago