AWS hosting on a FREE tier

PoisonAce

Regular Member
Joined
Sep 10, 2015
Messages
417
Reaction score
100
So I here walk through the various steps of setting up hosted sites on a free or more advanced, Amazon Virtual Machine instance. I use Wordpress as an example, there are other options.

1. Setup an amazon we services account cc/dc needed. Prepaid is fine, green dot or vanilla.
2.Go to your Amazon EC2.
3.Launch an instance on a free tier, I use windows 2008 or 2012 base. These aren't too slow. Choose 30gb HD space, which is free. Security Groups settings must keep the port 80 HTTP AND port 443 HTPPS Open. Then launch, it asks you to create a security key. Make one, download it and save the .pem file somewhere. Then when your virtual machine is launched in 3-4 minutes you can go to your EC2 AND decrypt the password. Go to the top and click on actions then select get windows password in the dropdown.
5. Sign in with remote desktop control. You need the public IP for instance. You get this in the instance section of the EC2.
6. Go to your Internet settings in server manager and select IE Enhance Security Configuration or ESC. Then make sure Administrator is off. This will allow the next steps to run smooth.
7.Download and install the latest version of Microsoft Web Platform Installer.
8.Download and install Visual C++ Redistributable for Visual Studio 2012 Update 4 or later.
9.In Microsoft Web Platform Installer click Wordpress and click add. Then install at the bottom.
10. On the Prerequisites page, select MySQL for the database to use. Enter the desired administrator password for your MySQL database in the Password and Re-type Password boxes, and then click Continue.
11.Click I Accept for the list of third-party application software, Microsoft products (including the IIS web server), and components. After the Web Platform Installer finishes installing the software, you are prompted to configure your new site.
12.On the Configure page, clear the default application name in the 'WordPress' application name: box and leave it blank, then leave the default information in the other boxes and click. Now click Yes to accept that the contents of the folder will be overwritten.
13.Configure Security Keys. Basically, adding long, random values here makes your site more secure.
For more information about security keys
http://codex.wordpress.org/Editing_wp-config.php#Security_Keys.
Visit https://api.wordpress.org/secret-key/1.1/salt/ to randomly generate a set of key values that you can copy and paste into the installation wizard. The following steps will show you how to modify these values in Notepad to work with a Windows installation. Copy all of the text in that page to your clipboard. Paste it into a Text editor, ie. here is notepad. Windows WordPress installations do not accept the dollar sign ($) in key and salt values, so they need to be replaced with another character (such as S). In the Notepad window, click Edit, then click Replace. In the Find what box, type $. In the Replace with box, type S. Click Replace All to replace all of the dollar signs with S characters. Paste the modified key and salt values from the Notepad window into their corresponding boxes in the installation wizard. For example, the AUTH_KEY value in the Notepad window should be pasted into the Authentication Key box in the wizard. Do not include the single quotes or other text surrounding the values, just the actual value as in the example shown below.

14.Your on your way to creating your site and forwarding your hosting to your name servers.
In the top left you'll click services. Drop down to Route 53. In route 53 you can create hosted zones. Simply add your instance public IP to the current DNS records by adding a Record Set. After you do this, add another Record Set as an Alias. Select Alias and for Alias target put your domain name. This may give you a problem when you click crate, what you must do is go to the very top of the new record set area. Put some characters in the name box which looks like a subdomain, this differentiated it from the other records for me and worked.



Enjoy! and remember you can always use a fast VMI if needed.





Sources;

http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/EC2Win_CreateWordPressBlog.html
 
What page speed can you achieve with AWS free hosting? Also where is the web server or it is kind of a CDN serving content from the closest data center?

Thank you :)
 
Awesome! This will save me a couple of bucks, thanks!
 
Another small tip you can buy aws $150 credits for $12 each and you can use a max of 4 per account and each of those are good for a year worth of the free tier, so all in all $55-60 you get 5 years worth of free hosting that can handle about 1k visitors a day
 
Poison Ace has delivered, that was fast! I got the free AWS set up already following a nice guide that was on the Massplanner site, but the rest of the configuration to actually host your site on it escaped me thus far. Gonna follow it soon as I get a chance :)

How does this setup compare to for example a namecheap shared hosting plan? Those are pretty cheap, but I don't know what to expect in terms of performance in either case.

Hey Nowrid Ashan, where can one purchase those credits? Is that some kind of Amazon deal or from some third party?

Is possible use the free AWS for running FollowLiker?

I know the answer to that is yes, I tried it briefly and it worked. I was using proxies though, not the VPS IP. Plus on the free tier you have limited data, so you'd have to see how much of your data plan Followliker is using and keep an eye on that.
 
Do you know how to make amazon free tier accounts? 
 
Do you know how to make amazon free tier accounts? 
Its standard, I don't believe it requires more than just going to the site. All accounts should open with a year of free hosting. And if you request multiple instances. That year is concrete time wise. Meaning 2 instances for a day running is 48 hours. and 2 instances running for 6 months will amount to your year.
What page speed can you achieve with AWS free hosting? Also where is the web server or it is kind of a CDN serving content from the closest data center?

Thank you :)
Page speed is better when you use good themes and are frugal with media. I have 3 images in my meta slider and its alright. Bring more traffic into the picture and to be honest idk.
I am kinda one to fix the problems when they arise, though that could waste a lot of time. To reinstate all this work in to another VMI that's faster wouldn't be fun...Though you can take a snapshot and reconfigure a new instance to the backup snapshot i believe. This is something I haven't got around to yet.
 
Seems like a lot of work. Also read the TOS as they will get you on bandwidth if you go over x amount. You also have to look at what is your time worth. You could have already picked up a VPS and have your program running and making money before you even got part way done with the list above.

Free is not always the best answer.
 
Seems like a lot of work. Also read the TOS as they will get you on bandwidth if you go over x amount. You also have to look at what is your time worth. You could have already picked up a VPS and have your program running and making money before you even got part way done with the list above.

Free is not always the best answer.

Oh with out a doubt... If you know your going to bank. Its a good feeling to have no investment.
Also I can use this when setting up eCommerce stores for clients and save the money.
 
Super noob here, is this VMI thing like a web proxy from Amazon? Or have to download a separate software?
 
Super noob here, is this VMI thing like a web proxy from Amazon? Or have to download a separate software?
Kinda sorta in a way shape or form. Its a Hosted virtual computer on a cloud network which is in some sense a proxy? You will download team viewer or remote desktop control. Remote desktop control you should find in accessories on any windows PC. Team viewer wasn't working for me... When your on the app. when you have an internet connection of course type in the IP and connect. Then bang. Its almost like your using a time machine... well closest thing to it I have ever experienced.
 
Prepaid is fine, green dot or vanilla.

Which vanilla website? I just searched 'vanilla card' and so many 'vanilla prepaid cards' on various sites showed up. Anyway does it support international users? Checked green dot and it wants valid SSN :(
 
Which vanilla website? I just searched 'vanilla card' and so many 'vanilla prepaid cards' on various sites showed up. Anyway does it support international users? Checked green dot and it wants valid SSN :(
ohhh.... hmm... you have to buy it from someone in the us that goes to buy it....Thats a good service. Do you know people who would want to buy? May be able to organize a few...
 
e4615a615332943.png


Is this it? Just input IP address in the "Computer" column right?
 
Honestly this simple tips can help to others but there is also other way to launch host your domain more easy it is free and i use it aws for a long time to host 3 website.. just launch ec2 use the search button and search wordpress and you can launch a free wordpress hosting and now just forward the ip to your domain and you have your free hosting..
 
Back
Top