Setup problems: AWS

Hi all,

I also have another bug confused me. When I run jupyter notebook on my t2.micro, I cannot link by the notebook by https://ip:8888 or https://dns:8888 on my local mac.

then change login method by
sudo ssh -i ~/.ssh/aws-key.pem -L 443:127.0.0.1:8888 ubuntu@ip

and I type https://localhost. I guess my local browser might link the notebook, since t2.micro logged the follow info:
[I 08:09:43.518 NotebookApp] 302 GET / (127.0.0.1) 0.53ms

and let me input password which I have set by openssl. However, the notebook page is waiting all the time and cannot by used after I type password.

Thatā€™s really confused me a long time. Can someone give me some guide?

thanks.

I have questions to ask. macOS python3.6
export PATH=~/.local/bin:$PATH source ~/.bash_profile aws --version
result:aws not found
thanks!

Hello :),
I think p2.xlarge instance is removed from the services provided in AWS. Which one should I select?

open the cygwin and move to directory /users/erik/
then type

chmod 700 .ssh

now permission denied error will go away. and i recommend you start from scratch i.e. delete all instances,elastic ips, vpc , rm .ssh/aws-key.pem etc.

this should work.

Hi! I am using Mac OS X, I was able to get through the set up fine following the youtube video.
However, I am failing to open the jupyter notebook on the browser. It says, ā€œThis site canā€™t be reachedā€.

How do I resolve this issue?

Thanks in advance!

Whatā€™s the IP address you are using, you can either get the IP Address again using the aws-alias script or you can go to aws.amazon.com and check out the IP Address that would be listed under the running instances.

You probably need to do a pip install aws or sudo-apt ?

p2ā€™s need to be requested specifically from Amazon by sending an email to AWS Support as per the annotation in the youtube video.

Thanks @sam_codes for the response.
Using the instance ip address, which looks likeā€¦ http://ec2-xx-xx-xxx-xxx.us-west-2.compute.amazonaws.com:8888/

Hi, perhaps start it all over if you havenā€™t been able to connect even once? If you had been able to connect previously then I would have thought that it had to do with more than one entry against Elastic IPā€™s or other stuff that is under Instances or EBS when you login to the console at AWS.

perhaps try using the direct IP address that would be listed when you see your instance (see the green highlighted section below)

It worked on restarting, thanks!

Great stuff and all the best !

Hey Rajat, hope itā€™s not some sort of a firewall issue? Are you accessing this from work/university etc or from your home?
You could perhaps try doing a tracert etc to figure out where exactly it failsā€¦

I filled out my upgrade request as instructed (p2.xlarge, fast.ai MOOC, etc.) but was denied by Amazon. Is the agreement no longer in place? Whatā€™s the best alternative, if Amazon is now a no-go?

Hi - am trying to download the scripts from github but am getting an error:

ERROR: cannot verify raw.githubusercontent.comā€™s certificate, issued by ā€˜CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=USā€™:
Unable to locally verify the issuerā€™s authority.
To connect to raw.githubusercontent.com insecurely, use `ā€“no-check-certificateā€™.

Anyone know how to fix this?

I would like to setup the t2 instance in the Ireland region.

ami-f8fd5998 is for the us region - is there a t2 ami for the Ireland region?

Thanks.

Sorry if I am in the wrong spot as I cannot find the right place to ask this question. As often happens to me in MOOCs, I canā€™t get past the installation. I used Cygwin to install awscli as instructed and then when typing $ aws, I get
$ aws
-bash: /cygdrive/c/Users/Edward Flaschner/AppData/Local/Programs/Python/Python36-32/Scripts/aws: c:\users\edward: bad interpreter: No such file or directory

I tried the wiki to fix the problem but no change. Can anybody please help?

Edwrd

Iā€™ve been having a weird setup problem. Iā€™ve gotten to the point where I am running the aws configure command in the bash console but I think somehow it has broken. I think the problem is that Iā€™m not able to actually configure the server.
So Iā€™ll type in the values to set it up like so


Everything looks normal except for the default region name: for some reason it says that the value it has right now (in the square braces) is what is typed in 2 lines above previously. I think that somehow the file that holds this data got screwed up and it wonā€™t allow me to change that. iā€™ve done this 10+ times and all the other data in the [] will update but that one one it still shows "AWS Access Key ID [***************5XWQ]: asdlfasdfasf: instead of like ā€œus-west-2ā€.

And i think this leads to my next problem which is that I when I try to connect to set up the server that same string of AWS Access Key ID shows up again. like this

Link to image because they only allow one image per upload :frowning:
https://drive.google.com/file/d/0BxuO-4diWY5qY25KdmJoUjNtdGc/view?usp=sharing

So I believe somehow my config file got screwed up and there are just random lines of input text all over my files so that I canā€™t login to connect to anything.

Iā€™ve tried uninstalling and reinstalling awscli and that didnā€™t seem to work. If anybody knows of any ideas of how to make this work or how I can reset this file/ these values I would love some help

Thanks
-Nick Karlovich

try this

http://wiki.fast.ai/index.php/Awscli_in_cygwin

and if the uninstall takes forever just skip it