@rachel Hi Rachel, I was able to get T2 to run last week and get into the notebooks. But when I try to get into it again today I keep hitting the limit errors.
aws: error: argument --group-id: expected one argument
setup_p2.sh: line 13: /home/vagrant/.ssh/aws-key.pem: Permission denied
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --subnet-id: expected one argument
An error occurred (AddressLimitExceeded) when calling the AllocateAddress operation: The maximum number of addresses has been reached.
Waiting for instance start…
I have gotten approval from AWS but it was after I created my user, do I need to do anything to switch it from t2 to p2?
After some research, I also followed instructions to Change EC2 Size. To aws ec2 modify-instance-attribute --instance-id $instanceId --instance-type t2.large
But I still have the limit error even after that.
This might also be helpful: When I checked to see if I have an instanceid for p2 or t2, I got an instance for t2 but not p2.
@jeremy
Thanks .
I did the steps.
I get error on bash setup_p2.sh
An error occurred (InvalidKeyPair.Duplicate) when calling the CreateKeyPair operation: The keypair ‘aws-key’ already exists.
@zoha.zargham that means you missed the step that deletes all your existing keys. Please try going through the steps again, and note that step in particular
@nichol I am connecting to aws via cygwin on Windows 7. I was fighting with the cygwin and windows conflicts, but below are some of the things I had to did to resolve them.
I have a rather silly question. After we run our setup script, created an instance. How come there is a folder nbs already there and we all have the same password dl_course… ? Is it because it’s all written in the setup script?
trying to install aws in cygwin, but apparently the there is already awscli installed within my anaconda and hence when I typed aws in cygwin I got this error message: C:\users\fgoza\anaconda3\python.exe: can’t open file ‘/cygdrive/c/Users/fgoza/Anaconda3/Scripts/aws’: [Errno 2] No such file or directory
I probably took the long way around here but I installed the ubuntu bash shell: http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ as @jeremy suggested to @nichol.bradford a few weeks back. When I still had trouble with pip install blowing-up I switch to sudo apt-get install which Jeremy also suggested but I missed the first time – life has never been better. Now, onto Identity and Access Management which by the way looks like it’s been updated since ~October.
Is there a way to delete your default VPCs? I keep getting an error that the maximum number of VPCs has been reached when running the setup_t2.sh script. I tried searching online but I have yet to find a viable solution.
Steve, your suggestion worked for me. I have no experience with Linux and it took an entire morning fiddling around with this to get the configuration to work on Windows 10 box. I tried installing Cygwin and executing the setup_t2.sh script within bash as indicated in the setup video, but; Cygwin did not find find the aws script. The Linux bash shell on windows however worked like a charm. I also had to manually fix the .ssh key directory. Thanks again!