You're viewing old version number 9. - Current version
Using Amazon Web Services
Logged into aws.amazon.com with my Amazon account, which I then used to create an AWS account.
Created an EC2 instance. I choose Ubuntu 14.04.
Instance is running in the US East (N. Virginia) region.
During the process, I had to create a key pair name. AWS created a private key, which I downloaded. It was a .pem file.
I moved the .pem file to another directory on my local Linux machine at home. From within this directory, I used ssh to connect to my EC2 account, using the command line instructions provided by AWS's web interface.
It's a fairly clean or empty Linux machine, as with my Digital Ocean Droplet account.
I chose to install Nginx first.
http://voidcanvas.com/setup-and-configure-nginx-in-aws-ec2-linuxubuntu-instance/
this starts in the home directory, which is /home/ubuntu
- sudo apt-get update
- sudo apt-get install nginx
- sudo service nginx start
- sudo mkdir www
- cd www
- sudo mkdir mysite
- cd mysite
- sudo vim index.html
- added test content to index.html
- cd
- sudo chmod -R 755 www
- cd /etc/nginx/sites-available
- ls
- sudo cp default mysite
- cd ..
- cd sites-enabled
- sudo ln -s /etc/nginx/sites-available/mysite mysite
- sudo service nginx restart
ec2-54-211-235-101.compute-1.amazonaws.com
Route53
bought: perchwire.com and boghop.com through AWS.
AWS Info
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html?icmpid=docs_ec2_console
https://aws.amazon.com/start-now/
http://docs.aws.amazon.com/gettingstarted/latest/swh/website-hosting-intro.html
From JR's : articles
199 words - 2017 chars
- 1 min read
created on
updated on
- #
source
- versions