I didn’t want this to sound like an ad for AWS, but I’ve been very happy with it and do want to share my experiences.
EC2
EC2 – Elastic Compute Cloud – is the main “server” part of Amazon Web Services. This is the module where you spin up servers, select the hardward you want it run on, the operating system (or variants), and assign virtual harddrives and other storage. It’s a lot of fun to work with. The documentation is fantastic, and includes several walkthroughs – “How to set up a linux server”, “How to set up a LAMP server”, “How to install WordPress”, etc. In fact, you’re reading this on the realworld application of those walkthroughs.
These servers don’t automatically have persistent data, so when they’re shutdown, it’s gone. See below…
My only complain has to do with regions. AWS servers are located in regions, based on their datacenters, and essentially you can only have one server running in the free tier (yes, technically it’s by usage hours and storage etc., but it’s calculated based on one server month). In the online management portal, you can only see one region at a time. SO, when I spun up a server in one region, then shifted to another a few weeks later, I forgot I already had one going. I couldn’t see it anywhere – there’s no true MASTER view, only a master view PER REGION. This means that when I surpassed my free tier usage, I couldn’t figure out how to stop accumulating charges hourly. Finally I figured it out, but it would be SO helpful if they had a master view. For what it’s worth, they comped me a month’s worth of usage.
S3
S3 is the storage you get. The free tiers gives you 30gb – not bad at all. That’s persistent storage, so just in case my server goes out, I store important stuf here. I also symlink stuff that needs to stay in a certain place on the server, so I can spin up & down without a problem. I just load the persistent storage virtual HDD, and symlink back over.
Elastic IP’s
Elastic IPs are GREAT, and the free tier lets you have one. Basically, the real IP address (and also the URL) of a server is created when the EC2 instance if created. SO if you terminate one, and start another, the IP address changes. This is not good for keeping the DNS update. With elastic IPs, you have one that’s permanent and assigned to you, and you point it at the server you want. SO the DNS has your permanent elastic IP, and you control what server that elastic IP points to.
Haven’t had any luck getting a SMTP server set up. I’m not sure if it has to do with Amazon’s anti-spam measures (a free server could get bad), but when I have time I’m going to spin up a new instance and see what happens. I applied to Amazon for them to relax restrictions re: mail, but I’m not sure if that applies to this server, or future ones, or even if that’s EC2 related at all (they do offer mass emailing services for money)
All-in-all, I’ve been very happy with Amazon Web Services. My only real complaint is the lack of a global overview in EC2.
Recent Comments