You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Gowri LN <go...@gmail.com> on 2015/06/22 10:14:07 UTC
How to specify multiple security groups in blueprint ?
I want to specify multiple security groups through yaml. I tried with the
folllowing blueprint:
name: simple-vm
location:
jclouds:aws-ec2:
credential: ............
identity: ........
region: us-east-1
services:
- type: brooklyn.entity.basic.EmptySoftwareProcess
name: VM
provisioning.properties:
minRam: 1024mb
minCores: 2
minDisk: 10gb
securityGroups: xyz , abc
..........................
The above blueprint results in an error " security group 'xyz , abc' does
not exist in default VPC 'vpc-c12345' " . But both the security groups
belong to default vpc c12345 and if I use one of the security groups then
I don not face any issues .
Is it possible to use multiple security groups at once ?
Can anyone help me with this ?
Thanks in advance !
Re: How to specify multiple security groups in blueprint ?
Posted by Gowri LN <go...@gmail.com>.
It worked !
-Thanks
On Mon, Jun 22, 2015 at 1:52 PM, Thomas Bouron <
thomas.bouron@cloudsoftcorp.com> wrote:
> Hi There.
>
> With AWS, I used the combination of 'templateOptions' and
> 'securityGroupIds' to specify my security groups like so:
>
> name: simple-vm
> location:
> jclouds:aws-ec2:
> credential: ............
> identity: ........
> region: us-east-1
> services:
> - type: brooklyn.entity.basic.EmptySoftwareProcess
> name: VM
> provisioning.properties:
> minRam: 1024mb
> minCores: 2
> minDisk: 10gb
> templateOptions:
> securityGroupIds: [[abc, xyz]]
>
> This works for Brooklyn 0.7.0-M2.
>
> Hope it helps you.
>
> On Mon, 22 Jun 2015 at 09:14 Gowri LN <go...@gmail.com> wrote:
>
> > I want to specify multiple security groups through yaml. I tried with the
> > folllowing blueprint:
> >
> > name: simple-vm
> > location:
> > jclouds:aws-ec2:
> > credential: ............
> > identity: ........
> > region: us-east-1
> > services:
> > - type: brooklyn.entity.basic.EmptySoftwareProcess
> > name: VM
> > provisioning.properties:
> > minRam: 1024mb
> > minCores: 2
> > minDisk: 10gb
> > securityGroups: xyz , abc
> > ..........................
> >
> > The above blueprint results in an error " security group 'xyz , abc'
> does
> > not exist in default VPC 'vpc-c12345' " . But both the security groups
> > belong to default vpc c12345 and if I use one of the security groups
> then
> > I don not face any issues .
> >
> > Is it possible to use multiple security groups at once ?
> > Can anyone help me with this ?
> >
> > Thanks in advance !
> >
> --
> Thomas
>
> --
> Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
> Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
>
> This e-mail message is confidential and for use by the addressee only. If
> the message is received by anyone other than the addressee, please return
> the message to the sender by replying to it and then delete the message
> from your computer. Internet e-mails are not necessarily secure. Cloudsoft
> Corporation Limited does not accept responsibility for changes made to this
> message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the transmission of
> viruses, it is the responsibility of the recipient to ensure that the
> onward transmission, opening or use of this message and any attachments
> will not adversely affect its systems or data. No responsibility is
> accepted by Cloudsoft Corporation Limited in this regard and the recipient
> should carry out such virus and other checks as it considers appropriate.
>
Re: How to specify multiple security groups in blueprint ?
Posted by Thomas Bouron <th...@cloudsoftcorp.com>.
Hi There.
With AWS, I used the combination of 'templateOptions' and
'securityGroupIds' to specify my security groups like so:
name: simple-vm
location:
jclouds:aws-ec2:
credential: ............
identity: ........
region: us-east-1
services:
- type: brooklyn.entity.basic.EmptySoftwareProcess
name: VM
provisioning.properties:
minRam: 1024mb
minCores: 2
minDisk: 10gb
templateOptions:
securityGroupIds: [[abc, xyz]]
This works for Brooklyn 0.7.0-M2.
Hope it helps you.
On Mon, 22 Jun 2015 at 09:14 Gowri LN <go...@gmail.com> wrote:
> I want to specify multiple security groups through yaml. I tried with the
> folllowing blueprint:
>
> name: simple-vm
> location:
> jclouds:aws-ec2:
> credential: ............
> identity: ........
> region: us-east-1
> services:
> - type: brooklyn.entity.basic.EmptySoftwareProcess
> name: VM
> provisioning.properties:
> minRam: 1024mb
> minCores: 2
> minDisk: 10gb
> securityGroups: xyz , abc
> ..........................
>
> The above blueprint results in an error " security group 'xyz , abc' does
> not exist in default VPC 'vpc-c12345' " . But both the security groups
> belong to default vpc c12345 and if I use one of the security groups then
> I don not face any issues .
>
> Is it possible to use multiple security groups at once ?
> Can anyone help me with this ?
>
> Thanks in advance !
>
--
Thomas
--
Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
This e-mail message is confidential and for use by the addressee only. If
the message is received by anyone other than the addressee, please return
the message to the sender by replying to it and then delete the message
from your computer. Internet e-mails are not necessarily secure. Cloudsoft
Corporation Limited does not accept responsibility for changes made to this
message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by Cloudsoft Corporation Limited in this regard and the recipient
should carry out such virus and other checks as it considers appropriate.