Amazon EC2 IO operations - amazon-ec2

I have a question regarding EC2.
Let's say I have a pure EC2 instance with no EBS volumes attached. For small instance type I still have 160 GB of data (which is lost on error, etc).
The question is if I pay for IO operations to these 160GB drive?
thank you

No, you won't have to pay exclusively for I/O operation on EC2 machine.
You are just paid for the data-transfer to the world and EC2 (client/server) + EC2 instance on an hour (I hope you know all this), in-case if you don't take a look at this: http://aws.amazon.com/ec2/pricing/.
Also, there is a nice tool provided by Amazon AWS to calculate your spending on AWS - take a look at it here: http://aws.amazon.com/calculator/.

It does charge money for io request. here is from the site. It charged for me, I am not sure for you tho. I found the io the very expensive. I have a simple blog with normal traffic, postgresql backend. That cost me like 25 bucks every month only for io access. After I found out that, I switched.
Amazon EBS Standard volumes
$0.10 per GB-month of provisioned storage
$0.10 per 1 million I/O requests
Amazon EBS Provisioned IOPS volumes
$0.125 per GB-month of provisioned storage
$0.10 per provisioned IOPS-month
Amazon EBS Snapshots to Amazon S3
$0.095 per GB-month of data stored

Related

Heroku instances in an Amazon VPC - Possible?

My company uses AWS heavily and has several Amazon Direct Connect network links from our points of presence into Amazon. These reduce our latency and costs.
http://aws.amazon.com/directconnect/
We would like to be able to use Heroku more extensively with our internal applications, but the dynos would need to exist inside our Amazon VPCs in order for us to get the latency and cost benefits. I can't see a way to do this.
Is there any way for Heroku customers to run their dynos inside specific Amazon VPCs?

Where is the official documentation for Amazon EC2 rebooting instances for hardware changes?

I understand that the Amazon EC2 SLA says that EC2 guarantees a 99.95% uptime.
I've read in many places that systems built using EC2 should be designed to cope with individual instances being restarted e.g. ec2 rebooted my instance.
Where is the official Amazon documentation to say that instances may be restarted?
I do not believe Amazon publishes any documentation on rebooting EC2 instances for hardware changes. Instead, they will send customers a notice if there is going to be scheduled maintenance performed on the system. However, I think the issue here is more a matter of servers crashing unexpectedly. That, of course, they cannot announce beforehand. Also, don't forget that they calculate their uptime based upon 5 minute increments so you may have downtime that isn't counted towards their SLA because it was less than the five minutes and didn't get noticed.
Here is a link to the official Amazon EC2 SLA (I'm sure you've seen it). They don't give any indication that maintenance ever affects systems running in production:
http://aws.amazon.com/ec2-sla/
You can contrast this with Amazon RDS, which specifically states what maintenance is and when it occurs:
http://aws.amazon.com/rds/faqs/#12
I would imagine that they expect to never have downtime because of hardware upgrades. Since everything is virtual, they can move live instances to new hardware without taking them down.

Compare site traffic to Dedicated machine time usage

If I have a website, hosted with a standard hosting company, and I would like to move it to a Dedicated machine, maybe EC2, is there a way to compare my current traffic to usage of a cloud machine?
Hosting companies gives you plan measured in Bandwith/Space while EC2 in usage time.
So I'm looking for a way to predict machine usage time based on my current traffic data for costs evaluation.
Thanx!
I'm not sure you're understanding usage time correctly. For your website to exist on EC2, you'll need to create one or more instances depending on the architecture you use. This is the same as a dedicated hosting setup elsewhere except with cloud instances.
The difference lies with billing. Where a traditional hosting company will charge you monthly, EC2 charges you per instance hour, or every hour you have an instance running. Therefore, for hosting a website, you'll have the server running 24/7 which will equate to roughly 720 hrs a month charged at a few cents per hour.
The key thing to work out is how many/what size instances you'll need to run your site at the equivalent performance you're seeing now, and that's only something you'll figure out with testing.

Amazon AMI selection

I just found out about amazon EC2. I am wondering what it actually offers. I use to go with VPS servers and now I want to learn if EC2 give me the same options as a VPS with some host company.
Are there any limitations on what I can install?
Thanks
Cristian
Probably the main difference between EC2 and a conventional VPS hosting service is the pricing model. EC2 charges for CPU time (and other resources) by the hour, whereas many conventional services charge by the month (or greater). The best way to learn about EC2 would be to jump into the documentation, and then sign up for the free usage tier.
Within reason, there are no limitations on what you can install.

How many EC2 instances can be used within Amazon VPC?

Amazon's Virtual Private Cloud (Amazon VPC) allows me to open a VPN connection to the EC2 cluster.
It looks like the number of EC2 instances you can run within a virtual private cloud is 24 hosts - is that correct?
Update
The beta limitations mentioned in the initial answer have meanwhile been lifted, the new ones (which can be raised as outlined) are addressed by the respective FAQ How many Amazon EC2 instances can I use within a VPC?:
You can run any number of Amazon EC2 instances within a VPC, so long
as your VPC is appropriately sized to have an IP address assigned to
each instance. You are initially limited to launching 20 Amazon EC2
instances per VPC at any one time and a maximum VPC size of /16
(65,536 IPs). If you would like to exceed these limits, please
complete the following form.
Furthermore, the initial Number of VPCs per region is 5 and the initial Number of subnets per VPC is 20, see Appendix B: Limits for details regarding these and other limitations in place.
Initial Answer
You can currently have 1 VPC per AWS account with up to 20 subnets. These are the beta limitations, complete their form if you need to lift them.
There is also a limit of instances you can run with a single AWS account, but again -- you can get them to up this limit. AWS has all kinds of limits in place, also on EBS volumes, elastic IPs, etc.. They can all be upped.
Things Have Changed.
Q: How many instances can I run in Amazon EC2?
You are limited to running up to 20 On-Demand instances, purchasing 20
Reserved Instances, and requesting Spot Instances per your dynamic
Spot limit per region. New AWS accounts may start with limits that are
lower than the limits described here. Certain instance types are
further limited per region as follows...
Source:
http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2
I highly doubt it. My understanding is that VPC is just a VPN, where you can tunnel as much traffic as it can support through the pipe. Are you confusing hosts with subnets? There is a restrictions on the number of subnets available. There is also a restriction on the number of hosts (I think it's a max of 20 hosts), but that's a general EC2 concern and not specific to VPC. Note that both restrictions can be overturned if you send an email to Amazon.
It depends on the type of the instance. Check your limits using the following instruction: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html

Resources