User Tools

Site Tools


creating_an_amazon_aws_ec2_instance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
creating_an_amazon_aws_ec2_instance [2017/07/23 19:22] – created walkeradmincreating_an_amazon_aws_ec2_instance [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Creating an Amazon AWS EC2 Instance ====== ====== Creating an Amazon AWS EC2 Instance ======
-<color darkorange>May 2017</color>+<color darkorange>Jun 2017</color>
 \\  \\ 
 \\  \\ 
Line 13: Line 13:
 \\  \\ 
 \\  \\ 
-{{ :aws_001.png?850 |}}+{{ :aws_001.jpg?850 |}}
 \\  \\ 
 The first mistake I made was not checking the region in which I was creating my AWS instance. So I created mine in the USA. Not that this really matters for serving a few webpages, but if speed is important, ensure you select a region closest to you.  The first mistake I made was not checking the region in which I was creating my AWS instance. So I created mine in the USA. Not that this really matters for serving a few webpages, but if speed is important, ensure you select a region closest to you. 
Line 24: Line 24:
 \\  \\ 
 \\  \\ 
-{{ :aws_002.png?850 |}}+{{ :aws_002.jpg?850 |}}
 \\  \\ 
 From the top left of the page, select Services, then select <color #ff7f27>EC2</color> from the Compute section. From the top left of the page, select Services, then select <color #ff7f27>EC2</color> from the Compute section.
Line 32: Line 32:
 \\  \\ 
 \\  \\ 
-{{ :aws_003.png?850 |}}+{{ :aws_003.jpg?850 |}}
 \\  \\ 
 Click on the <color #ff7f27>Launch Instance</color> button. Click on the <color #ff7f27>Launch Instance</color> button.
Line 40: Line 40:
 \\  \\ 
 \\  \\ 
-{{ :aws_004.png?850 |}}+{{ :aws_004.jpg?850 |}}
 \\  \\ 
 I am going to use the top option of <color #ff7f27>Amazon Linux AMI</color>. It's a Linux system similar to CentOS. There are many choices of OS here, and I have not tried many of them. My intention is to use this server for a bit of testing, and I don't want it to cost me anything, so I am unsure if picking say Windows will incur any costs (I would guess it does). As long as it has a 'Free tier Available' label you should be good to go. I am going to use the top option of <color #ff7f27>Amazon Linux AMI</color>. It's a Linux system similar to CentOS. There are many choices of OS here, and I have not tried many of them. My intention is to use this server for a bit of testing, and I don't want it to cost me anything, so I am unsure if picking say Windows will incur any costs (I would guess it does). As long as it has a 'Free tier Available' label you should be good to go.
Line 51: Line 51:
 \\  \\ 
 \\  \\ 
-{{ :aws_005.png?850 |}}+{{ :aws_005.jpg?850 |}}
 \\  \\ 
 <color #ed1c24>* DO NOT CLICK Configure and Launch *</color>   There are a lot of options here, but for those of use wanting a free server, there is only one, the <color #ff7f27>t2micro (Fee tier elegible)</color> so that makes our decision process pretty simple. <color #ed1c24>* DO NOT CLICK Configure and Launch *</color>   There are a lot of options here, but for those of use wanting a free server, there is only one, the <color #ff7f27>t2micro (Fee tier elegible)</color> so that makes our decision process pretty simple.
Line 62: Line 62:
 \\  \\ 
 \\  \\ 
-{{ :aws_006.png?850 |}}+{{ :aws_006.jpg?850 |}}
 \\  \\ 
-By default you get a storage area of 8GB, if this is not enough then you can increase it. There is an information box that states (at the time of writing) you can have up to 30GB free. Remember, if you pan to have more than one EC2,  you have to split that across them.+By default you get a storage area of 8GB, if this is not enough then you can increase it. There is an information box that states (at the time of writing) you can have up to 30GB free. Remember, if you plan to have more than one EC2,  you have to split that across them.
 \\  \\ 
 \\  \\ 
Line 73: Line 73:
 \\  \\ 
 \\  \\ 
-{{ :aws_007.png?850 |}}+{{ :aws_007.jpg?850 |}}
 \\  \\ 
 You don't have to do this, but if you are going to have a lot of instances, it does become necessay. Just add a name for this instance (I used Test Webserver.) You don't have to do this, but if you are going to have a lot of instances, it does become necessay. Just add a name for this instance (I used Test Webserver.)
Line 81: Line 81:
 \\  \\ 
 \\  \\ 
-{{ :aws_008.png?850 |}}+{{ :aws_008.jpg?850 |}}
 \\  \\ 
 You can look at security groups as a firewall. All ports are closed unless you open them. By default port 22 (SSH) is open, or you would have no access to your OS. As this is going to be a web server, I will also open Port 80.  You can look at security groups as a firewall. All ports are closed unless you open them. By default port 22 (SSH) is open, or you would have no access to your OS. As this is going to be a web server, I will also open Port 80. 
Line 95: Line 95:
 \\  \\ 
 \\  \\ 
-{{ :aws_009.png?850 |}}+{{ :aws_009.jpg?850 |}}
 \\  \\ 
 If you are happy, select Saunch in the bottom right hand corner of the page. If you are happy, select Saunch in the bottom right hand corner of the page.
Line 103: Line 103:
 \\  \\ 
 \\  \\ 
-{{ :aws_010.png?600 |}}+{{ :aws_010.jpg?600 |}}
 \\  \\ 
 Where you see <color #ff7f27>Choose an existing key pair</color>, you need to change this to <color #ff7f27>Create a new key pair</color>. Where you see <color #ff7f27>Choose an existing key pair</color>, you need to change this to <color #ff7f27>Create a new key pair</color>.
 \\  \\ 
 \\  \\ 
-{{ :aws_011.png?600 |}}+{{ :aws_011.jpg?600 |}}
 \\  \\ 
 Select a new for the new key pair, and click the <color #ff7f27>Download Key Pair</color> button. Select a new for the new key pair, and click the <color #ff7f27>Download Key Pair</color> button.
Line 119: Line 119:
 \\  \\ 
 \\  \\ 
-{{ :aws_013.png?850 |}}+{{ :aws_013.jpg?850 |}}
 \\  \\ 
 The next page confirms that your instance is launching. The next page confirms that your instance is launching.
Line 127: Line 127:
 \\  \\ 
 \\  \\ 
-{{ :aws_014.png?850 |}}+{{ :aws_014.jpg?850 |}}
 \\  \\ 
 On this page we can see the information about our instance. The part we will need initially is the IP Address. On this page we can see the information about our instance. The part we will need initially is the IP Address.
Line 139: Line 139:
 \\  \\ 
 \\  \\ 
-{{ :aws_15.png?850 |}}+{{ :aws_15.jpg?850 |}}
 \\  \\ 
 If you have neither of these, please read the entire guide. If you have neither of these, please read the entire guide.
Line 150: Line 150:
 \\  \\ 
 \\  \\ 
-{{ :ssh_001.png?600 |}}+{{ :ssh_001.jpg?600 |}}
 \\  \\ 
 At the top of the page, select <color #ff7f27>Session</color>. At the top of the page, select <color #ff7f27>Session</color>.
Line 158: Line 158:
 \\  \\ 
 \\  \\ 
-{{ :ssh_002.png?600 |}}+{{ :ssh_002.jpg?600 |}}
 \\  \\ 
 The SSH Page will open and we have to enter the following information. The SSH Page will open and we have to enter the following information.
 \\  \\ 
 \\  \\ 
-{{ :ssh_003.png?600 |}}+{{ :ssh_003.jpg?600 |}}
 \\  \\ 
 **Remote Host:** This is the IP Address of your EC2 Instance. **Remote Host:** This is the IP Address of your EC2 Instance.
Line 175: Line 175:
 \\  \\ 
 \\  \\ 
-{{ :ssh_004.png?600 |}}+{{ :ssh_004.jpg?600 |}}
 \\  \\ 
 You will have to enter a password. The default password is <color #ff7f27>ec2-user</color> (case sensitive) You will have to enter a password. The default password is <color #ff7f27>ec2-user</color> (case sensitive)
Line 183: Line 183:
 \\  \\ 
 \\  \\ 
-{{ :ssh_005.png?600 |}}+{{ :ssh_005.jpg?600 |}}
 \\  \\ 
 You can now enter standard Linux commands, that's it, you are now connected to your EC2 instance. You can now enter standard Linux commands, that's it, you are now connected to your EC2 instance.
Line 198: Line 198:
 \\  \\ 
 \\  \\ 
-{{ :websvr_001.png?850 |}}+{{ :websvr_001.jpg?850 |}}
 \\  \\ 
 You should see that there is nothing on this IP Address. You should see that there is nothing on this IP Address.
Line 221: Line 221:
 \\  \\ 
 \\  \\ 
-{{ :websvr_002.png?850 |}}+{{ :websvr_002.jpg?850 |}}
 \\  \\ 
 You should see an Apache test web page, this means your server is running and you can start to build and upload your test website. You should see an Apache test web page, this means your server is running and you can start to build and upload your test website.
 \\  \\ 
 \\  \\ 
creating_an_amazon_aws_ec2_instance.1500834141.txt.gz · Last modified: 2023/03/09 22:35 (external edit)