# (library/ec2) VPC Enhanced Support

**URL:** <https://forum.ansible.com/t/library-ec2-vpc-enhanced-support/12479>\
**Category:** Ansible Project\
**Tags:** ansible-project, aws\
**Created:** [March 11, 2013, 2:11am UTC](https://forum.ansible.com/t/library-ec2-vpc-enhanced-support/12479 "2013-03-11T02:11:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuel\_Sampaio](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Samuel\_Sampaio](https://forum.ansible.com/u/Samuel_Sampaio)\
**Post date:** [March 11, 2013, 2:11am UTC](https://forum.ansible.com/t/library-ec2-vpc-enhanced-support/12479/1 "2013-03-11T02:11:58Z")

</div>

Hi EveryOne!

I’m Samuel, AWS DevOps, new in this community.

Firstly i’d like to thank the helping of IRC.

I have some clients with AWS/EC2 infrastructure, generally with VPC Private Cloud,  
ip addresses manageable and specific security groups.

When i used the ec2/boto pluggin, i realized that was create specific for “ec2 public clouds”  
so i decided the improve this support.

The requirements are as follows:

1.) Create a machine, in the vpc private cloud;  
2.) This machine needs have a specific IP delimited;  
3.) Close the ports, with a specific security groups;

Following the examples, i create my own playbook.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [March 11, 2013, 2:19am UTC](https://forum.ansible.com/t/library-ec2-vpc-enhanced-support/12479/2 "2013-03-11T02:19:42Z")

</div>

Can you please submit this as a github pull request?

---

<div class="post-metadata">

**Author:** ![Samuel\_Sampaio](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Samuel\_Sampaio](https://forum.ansible.com/u/Samuel_Sampaio)\
**Post date:** [March 11, 2013, 5:24pm UTC](https://forum.ansible.com/t/library-ec2-vpc-enhanced-support/12479/3 "2013-03-11T17:24:05Z")

</div>

It’s done.

2013/3/10 Michael DeHaan \<[michael.dehaan@gmail.com](mailto:michael.dehaan@gmail.com)\>

---

<div class="post-metadata">

**Author:** ![i\_iordanov](https://avatars.discourse-cdn.com/v4/letter/i/b3f665/32.png) [@i\_iordanov](https://forum.ansible.com/u/i_iordanov)\
**Post date:** [March 1, 2014, 5:51am UTC](https://forum.ansible.com/t/library-ec2-vpc-enhanced-support/12479/4 "2014-03-01T05:51:21Z")

</div>

Hey Samuel, Michael,

Activity on this discussion seems to have stalled a bit, but I’d sure like to hear what the progress on this and related functionality is.

I need to spin up instances in a VPC security goup in a private subnet. Samuel, your contribution looks like precisely what I need, right? Does this functionality exist in any shape or form outside Samuel’s work? If not, Samuel, do you have any time to create a new pull request or rebase your pull request so it matches the current devel branch?

Thanks very much for your help in advance!

Sincerely,  
iordan

---

<div class="post-metadata">

**Author:** ![i\_iordanov](https://avatars.discourse-cdn.com/v4/letter/i/b3f665/32.png) [@i\_iordanov](https://forum.ansible.com/u/i_iordanov)\
**Post date:** [March 1, 2014, 6:08pm UTC](https://forum.ansible.com/t/library-ec2-vpc-enhanced-support/12479/5 "2014-03-01T18:08:50Z")

</div>

It seems I was able to satisfy my requirements using the devel branch by specifying:

group\_id

and:

vpc\_subnet\_id

Thanks!  
iordan
