EC2 Plugin Config for launching slave in another AWS account

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

EC2 Plugin Config for launching slave in another AWS account

Paritosh Anand
Hi,

Lately, I have been trying to figure out how to configure EC2 cloud to launch slave nodes in another AWS account.

Seems the plugin is unable to successfully locate the AMI and security groups from the other account.

Why am I doing this ?
Recently our organisation got merged with another, and we are trying to unify the Jenkins platform to support CI for all the projects. 
We do use the EC2 plugin to dynamically launch nodes based on the workload. Hence, wish to extend the same for the sister organisation.

Any help will be much appreciated. :)  

Thanks.
Paritosh

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8ff85481-7ddc-48a4-840d-dfc76ca992d2n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: EC2 Plugin Config for launching slave in another AWS account

Paritosh Anand
Lately, we figured out how this will work. 

Steps to configure this correctly.
  1. Create a new credential in Jenkins of a kind "AWS Credentials".
  2. Add "IAM Role to use" as the IAM role that needs to be assumed.
  3. Create a new Amazon EC2 configuration in "Configure Clouds". Use the credential created in step 2 in the "Amazon EC2 Credentials" field.
  4. Configure EC2 general instance configuration.
Thanks

On Friday, 18 December 2020 at 18:24:36 UTC+5:30 Paritosh Anand wrote:
Hi,

Lately, I have been trying to figure out how to configure EC2 cloud to launch slave nodes in another AWS account.

Seems the plugin is unable to successfully locate the AMI and security groups from the other account.

Why am I doing this ?
Recently our organisation got merged with another, and we are trying to unify the Jenkins platform to support CI for all the projects. 
We do use the EC2 plugin to dynamically launch nodes based on the workload. Hence, wish to extend the same for the sister organisation.

Any help will be much appreciated. :)  

Thanks.
Paritosh

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9797f13f-d0bd-4f77-bed3-39c03323d26an%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: EC2 Plugin Config for launching slave in another AWS account

Dom Dom
find out all the answers from this video link:
https://www.youtube.com/watch?v=dAa3u39RYpM

Vào Th 2, 28 thg 12, 2020 vào lúc 20:43 Paritosh Anand <[hidden email]> đã viết:
Lately, we figured out how this will work. 

Steps to configure this correctly.
  1. Create a new credential in Jenkins of a kind "AWS Credentials".
  2. Add "IAM Role to use" as the IAM role that needs to be assumed.
  3. Create a new Amazon EC2 configuration in "Configure Clouds". Use the credential created in step 2 in the "Amazon EC2 Credentials" field.
  4. Configure EC2 general instance configuration.
Thanks

On Friday, 18 December 2020 at 18:24:36 UTC+5:30 Paritosh Anand wrote:
Hi,

Lately, I have been trying to figure out how to configure EC2 cloud to launch slave nodes in another AWS account.

Seems the plugin is unable to successfully locate the AMI and security groups from the other account.

Why am I doing this ?
Recently our organisation got merged with another, and we are trying to unify the Jenkins platform to support CI for all the projects. 
We do use the EC2 plugin to dynamically launch nodes based on the workload. Hence, wish to extend the same for the sister organisation.

Any help will be much appreciated. :)  

Thanks.
Paritosh

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9797f13f-d0bd-4f77-bed3-39c03323d26an%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEUiy1588qvRyBTgi_0M3Pr9-ufU9XGsP8zuT_fnxbDyTVDe1w%40mail.gmail.com.