Comments (6)
Are you using the fabfile directly? You should use ./bin/aws do [instance-name] [fabric options]
from ploy.
I use the command aws do dynamic_canvas show_in_browser
. show_in_browser just opens a webbrowser to the host. It is going to http://dynamic_canvas instead of the actual EC2 name. The code for do_cmd()
sets hoststr = argv[0]
which is the instance name from the config file. That is passed as the -H argument to fab.
Prior to the revision I cited, hoststr was set to the host
result of calling init_ssh_key()
which is the public_dns_name for the instance.
from ploy.
OK, I get it. The translation from instance name to public DNS name happens in HostConnectionCache in fabric_integration.py. This means that the host name in the fabfile is the instance name and the public DNS name is not available to the fabfile.
from ploy.
I guess the best fix then would be to expose the public and maybe private DNS name to the fabfile.
from ploy.
Yes. Ideally the host name passed to the fabfile would be the correct hostname.
from ploy.
The env contains server
which is the instance object which has all one needs, like the config etc.
from ploy.
Related Issues (20)
- Uploading personal public SSH key rather than using Amazon keypair HOT 1
- boto-2.0rc1 partly works with mr.awsome
- Creating an instance not clearly documented HOT 1
- More ssh login issues HOT 1
- problem starting a stopped instance HOT 3
- bin/assh ignores any additional options to ssh (except -l) HOT 1
- don't barf if user has no ssh config HOT 1
- assh does not support non-default config from commandline HOT 4
- Rename repository description HOT 1
- Add ansible to install_requires HOT 2
- [FreeBSD] the ploy command is looking for ploy.conf in the wrong place HOT 4
- [enhancement] Add support for plain jails HOT 6
- Upload tar.gz for sdist HOT 1
- Dead link to readthedocs HOT 1
- re-enable multiple masters safely HOT 1
- Look at monkeysphere
- Fingerprint type from public key HOT 6
- Kickstart installation mechanism HOT 1
- paramiko ssh doesn't support proxying encrypted ssh keys HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ploy.