Download the PHP package fruux/ec2dns without Composer

On this page you can find all versions of the php package fruux/ec2dns. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ec2dns

ec2dns

ec2dns is a set of command line tools that makes it easy to resolve public hostnames of EC2 instances and ssh into them via their tag name.

Usage of ec2dns

ec2dns provides DNS resolution of ec2 tag names under the ".ec2" TLD. If a servers tag name is appserver-1, it can be resolved as appserver-1.ec2.

ec2dns allows working with ec2 tag names like with normal domain names as shown in the following examples.

ssh

scp

mysql

ec2dns tools

ec2dns also includes wrappers around ssh and scp (if you can't or don't want to set up the DNS feature on your machine), as well as a tool to lookup hostnames and a tool to update your /etc/hosts file.

You won't need these wrapper tools if you have set up the DNS feature as shown in the installation instructions below.

ec2host

Get a list of ec2 instances

Get the hostname of an ec2 instance by its name tag

combine ec2host with other commands by using backticks

ec2ssh

ssh into an instance via its name tag

ssh into an instance via its name tag and execute commands

ec2scp

copy a file from an ec2 instance onto your machine

ec2updatehostsfile

update /etc/hosts with your ec2 instances

Your machine is now able to resolve your ec2 instances by tags directly, so for example the following will just work

Prerequisites

Installation

Basic

DNS feature

These instructions are for OS X.

Updating

Contributing

Please submit all pull requests against the master branch. Code accompanied with phpunit tests is highly appreciated. Thanks!

Acknowledgements

ec2dns is inspired by ec2-ssh and powered by aws/aws-sdk-php.

Copyright and license

Copyright (c) fruux GmbH. All rights reserved.

fruux is a free service that takes care of your contacts, calendars and more so you don't have to (powered by CardDAV and CalDAV).

Check the license.


All versions of ec2dns with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
aws/aws-sdk-php Version ~2.8.0
hoa/dns Version ~3.0
hoa/socket Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fruux/ec2dns contains the following files

Loading the files please wait ....