Sunday, October 16, 2011

Route53 Alias record setup for Amazon Elastic Load Balancer (www and non-www)

I've setup an Amazon Route 53 service to help me out routing traffic from my domain (zone apex, top level domain) to my Amazon Elastic Load Balancer. The reason is that you can't assign a cname to the top level domain, only for sub-domains,so you can't forward traffic from your top level domain to the load balancer.

Friday, October 14, 2011

Access denied - uploading files via FTP on Windows Server 2008 IIS7

Today I've setup an Amazon EC2 Windows Server 2008 R2 + IIS + SQL Express AMI. After that, I've installed Microsoft FTP Server 7.5 for IIS 7.0 and configured it. I've assigned an ftp user by creating a ftp site via the Server Manager IIS panel that points to my main site (wwwroot folder). I've added an ftp user in the FTP Authorization rules and gave it a Read,Write permissions.

Quickest way to install ASP.NET 4 on Amazon EC2 Windows instance

I tried to figure out the fastest and most convenient way to install ASP.NET 4 on Amazon EC2 Windows Server 2008 instance. The only option I've found working for me is to go to Microsoft and download the Microsoft .NET Framework 4 (Web Installer).

Launching a Windows EC2 + IIS7 AMI to get everything ready quick

I had some troubles installing IIS7 on Amazon EC2 Windows instance. I mean, it worked, but I didn't want to be left with an instance that thrown some installation errors after the installation has finished. The alternative method is to launch an AMI that includes both Windows Server 2008 + IIS7 and SQL Server Express. It's an Amazon AMI that should give you a fresh start.

How to change security groups for Amazon EC2 Windows instance? [solved]

I'm having trouble changing the security groups from the default ones to new ones. I've set up an Amazon EC2 Windows Server 2008 instance. I applied one of my Security Groups when I initialized the instance. Now I want to change the security groups to another one, but I can't. The security group option is grayed out.

EC2 + S3 (CloudFront) + Xeround for my web application

Before launching my web application, I've decided to separate it into three groups: Amazon S3 (+CloudFront as CDN) for static files (images, JS, CSS), Amazon EC2 for the web pages and I've used Xeround Auto scale DB solution for my database (MySQL DB deployed on Amazon East).

IIS7 takes too much time to install on Amazon EC2 Windows 2008 server

Today I've decided to install IIS7 on Amazon EC2 Windows Small instance The problem is that while I'm writing these lines, the installation is in the "Initializing installation" process, and it's already 15 minutes since the installation of the IIS7 started. I wanted to know if it's normal or not?

Saturday, October 1, 2011

Scalable solutions for SQLServer, Is Simple DB a good alternative?

I've developed a web application usign ASP.net and SQL Server 2008. After a month in developing, I thought about converting to Amazon SimpleDB or even use Amazon RDS (MySQL). I plan to host my web app on Amazon AWs because it's cheaper than the alternative and I'm already familiar with the API. However, before modifying my code to support SimpleDB, I have decided to read a few articles about how SimpleDB compares to Relational Database.