[cs615asa] How to identify myself when create an instance?

Yanqiao Zhan yzhan14 at stevens.edu
Thu Apr 16 15:55:39 EDT 2015


I use aws command-line utility, but I find without clarify the key-pair name, I can create the instance but can’t ssh it. 
I have checked the security group, the inbound and outbound ports are opened for any source.
I do it in linux-lab.

Yanqiao Zhan

> On Apr 16, 2015, at 12:12, Jan Schaumann <jschauma at stevens.edu> wrote:
> 
> Yanqiao Zhan <yzhan14 at stevens.edu> wrote:
> 
>> When I run the command like 'ec2-run-instances?, can I clarify the
>> private-key ( -K ) and certification ( -P )? If not, how can to
>> identify myself to EC2?
> 
> You probably want to use the 'aws' command-line utility instead of the
> 'ec2-*' tools.  For 'aws', you'd have a configuration file that contains
> your defaults; I believe that for the 'ec2-*' tools you'd have to set
> certain environment variables.
> 
> Your initial HW1 should have documented those settings.
> 
> -Jan
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa



More information about the cs615asa mailing list