App-EC2Cssh
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
]
}
Both InstanceID and Filters are optional.
See [http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-DescribeInstances.html](http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-DescribeInstances.html) for all available
ways of filtering instances.
## SPLIT CONFIGURATION
Having a config file is fine, but what if you want to keep your credentials secret, and have
your EC2 sets of machine in a .ec2cssh.conf file per projects?
With ec2-cssh, this is possible by splitting the configuration in severl files.
For instance, you can have:
- .ec2cssh.conf in your project directory:
{
'ec2_config' => { region => 'project-specific-aws-region' },
'ec2_sets' => { 'projectspecificset' => ... },
}
- $HOME/.ec2cssh.conf:
{
'ec2_config' => { .. Your credentials },
'ec2_sets' => { 'asetilike' => ... }
}
- /etc/ec2cssh.conf:
{
ec2_sets => { 'asystemwideset' => .. }
command => '.. System wide Cssh command ..'
}
scripts/ec2-cssh view on Meta::CPAN
]
}
Both InstanceID and Filters are optional.
See L<http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-DescribeInstances.html> for all available
ways of filtering instances.
=head2 SPLIT CONFIGURATION
Having a config file is fine, but what if you want to keep your credentials secret, and have
your EC2 sets of machine in a .ec2cssh.conf file per projects?
With ec2-cssh, this is possible by splitting the configuration in severl files.
For instance, you can have:
=over
=item .ec2cssh.conf in your project directory:
{
'ec2_config' => { region => 'project-specific-aws-region' },
'ec2_sets' => { 'projectspecificset' => ... },
}
=item $HOME/.ec2cssh.conf:
{
'ec2_config' => { .. Your credentials },
'ec2_sets' => { 'asetilike' => ... }
}
=item /etc/ec2cssh.conf:
{
ec2_sets => { 'asystemwideset' => .. }
command => '.. System wide Cssh command ..'
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.072 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )