Hi there.
I’m creating a start up company which serves as a SaaS product for security services. We’re planning on hosting the product on AWS EC2, and have done all of our testing so far on this. Unfortunately, I’m the sole dev, and have very little EC2/AWS knowledge.
Up until now, we’ve been developing the code in house, and then exporting the finished product into AWS’s free EC2 tier. This has been working great for the first round of user acceptance testing and tweaking, but we’re getting ready to move the product from ‘test’ to ‘production’, and now I need to decide which EC2 product to get.
Couple of things you should be aware of:
- All costs are coming out of my back pocket, so there isn’t a large amount of cash to play with, and until the company starts turning a profit, all costs are at a loss for me
- I’ve very little experience with AWS.
- My time is finite, so the more time I put into investigating options outside of the ones I’ve tested already, the less time I get to develop the codebase, and the longer the product gets to market.
My original plan was to buy a years reserved instance of EC2, backed with EBS storage to keep the cost down. We had roughly estimated the size of EC2 instance required (memory/cpu/HDD size) but have no idea how much performance the product will need when it’s under load, and just before I click the ‘buy’ button I’m having second thoughts about estimating the requirements wrong.
My new plan is to create a low cost (free tier perhaps) instance of the AMI we’re going to use, and to attach to the the EBS storage that I’m planning to use in production. I can then install all of the bits needed for the product to work, upload the application code I’m working on until the product is ready to launch, and then shut everything down (but keep the EBS volumes). When I come to performance testing, I can then fire up a on-demand EC2 instance, attach it to the EBS volumes I’ve created previously (including the root EBS volume) and test. If performance isn’t great I can keep changing on-demand instances until I get the correct performance, and I figured that if worst-case the EBS volume isn’t quick enough I can always delete it and try again with faster storage.
Cost-wise that’ll be slightly more expensive than my previous idea (EBS will have to persist for a while, and on-demand pricing of the EC2 instances) but it’ll give me flexibility to develop and test the product.
Does that sound sensible, or is there a better way to do this that I’m unaware of with my limited AWS knowledge?
Many thanks.
[Edit with updated information]
A few people asked for further information about the product - hopefully this will help.
The product/business is an I.T Security business that specializes in Social Engineering, specially Phishing. It allows companies to test their employees susceptibility to phishing attacks, and provides metrics to track various information produced from a phishing campaign. there are a number of existing businesses doing this already, mine will just be another one on the market. As I know someone will ask, Amazon have ok’d me running this on their infrastructure.
The product itself is built on a mix of MySQL and Java, utilizing Javascript and HTML5 on the front end to interact with the end user. To support the product, various open source tools (such as MTAs) are used, as well as commercial plugins. The entire platform runs on a single server currently, but I might move the DB over to a dedicated platform for it (such as Amazon RDS) in the near future.
The entire platform currently runs on Linux (although Windows may be an option in the future) and was developed on Amazon AMI Linux images, purely because this was the cheapest option at the time. It may be possible to move the product to another OS (such as Redhat) but any time spent changing tools and software takes me away from other development, so I’m keen not to migrate away from what I currently know unless there is an extremely good reason. I did have a go moving everything over to Microsoft’s Azure (as Bizmark gives me a load of free credits which will reduce costs) but a few problems it was decided in the end that migration and testing time on a new OS on a new platform wasn’t cost efficient against the AWS costs that were estimated. In the future I might change this, when I get from breathing room.
My background is Windows Sysadmin (from about 6 years ago) and Penetration Testing, with a smattering of development in there too. As such, I know the requirements of the product very well, but my skills in Linux administration, development best practice, and AWS are patchy. Up to this point I’ve managed to get everything tested and working, but as I’m nearer to launch I would rather not learn large amounts of new technology unless absolutely required.
The feedback so far has been great - and the general feeding is that for initial launch of the product I should run on-demand instances for the first few months to determine required performance. Once I have that roughly nailed a reserved instance would be ok, and if that gets maxed I should look at moving the DB to a dedicated host (or RDS) and bringing up a second instance of the application on another host, and putting it behind a elastic load balancer to scale up).
[/End Edit]
Related discussions: