Help required with arguments for Amazon EC2 plugin

21 views
Skip to first unread message

prabha KR

unread,
Mar 9, 2017, 4:10:00 PM3/9/17
to jenkins...@googlegroups.com
Hi,

We are using Amazon EC2 plugin to create Ubuntu host on aws.
EC2 plugin creates Ubuntu host always in default VPC and I don't see an option to provide vpc id as an input to plugin.
Our requirement is to create a Ubuntu host in vpc which is already created in aws.
please someone help me with more details on how to provide VPC id for amazon ec2 plugin as a argument.

Thanks,
KRCP

prabha KR

unread,
Mar 13, 2017, 4:04:01 PM3/13/17
to jenkins...@googlegroups.com
Second attempt,  any views?
Prabha

Michael Barrientos

unread,
Mar 13, 2017, 4:32:23 PM3/13/17
to Jenkins Users
There is a place inside the Advanced settings for an AMI where you can specific a subnet ID for a VPC. Give it the subnet ID for a specific already-created subnet inside your VPC, and the instance should show up in the VPC. The VPC ID itself is not required; it is implied by the subnet ID.

prabha KR

unread,
Mar 14, 2017, 2:15:53 PM3/14/17
to jenkins...@googlegroups.com
Thanks Michael. Its working now with above said changes.

-Prabha

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0244eaac-935a-4f75-966a-c0499a8b523a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages