How AWS Pricing Works
Learn more about the pay-as-you-go model that AWS and other cloud providers use and how you can save money in this article.
Join the DZone community and get the full member experience.Join For Free
Discover the AWS Cloud
Migrating to the cloud is an important step for any company because it gives them much more flexibility and agility in their processes, plus a large number of services to use, but it's important to say that in some cases this can become counterproductive. If you consider AWS Managed services, for example, it provides ongoing management and monitoring of your AWS Cloud resources and applications. A lot of times what happens is the cost of Amazon Web Services, increases with the passing months from the time after the migration. It doesn’t mean that AWS is expensive, it means that our resources are not being properly controlled. Get a complete FREE guide on How to reduce costs on AWS.
In this blog, I’ll show what would be the ideal expense for some types of environment, from something very basic to a real production environment using 3 or more AWS services.
How Does AWS Pricing Work?
Amazon services’ prices vary and depend on the service that you are using. These prices can be calculated by different methods, but the main one is for the time of usage, as Amazon (AWS) says. You pay for what you use. Hours are the main measure on this method, followed by the minutes and seconds of use of certain services.
In this case, I’m going to detail different services which will be located in the region of US East – Virginia. Is important to mention that prices vary depending on the location of our resources.
The services we are always going to see on our AWS bill will be the basic ones:
- EBS - $ 0.010 GB per hour
- S3 - $ 0.023 GB per month
In other words, servers and services that we are going to use to process all the information of our application.
- EC2 (Price depends of our server type, starting from 5 USD to over 150 USD x month)
- Load Balancer (15 USD x 750 hrs)
- Elastic IP
Amazon charges all the data that is transferred outside of their own network; everything that we want to move in and out of AWS will cost us. This is one of the main services that shows our bill and there are different costs:
- Inbound traffic - Free
- Outbound traffic - Starting with 0.09 per GB <10 TB
I should mention that the traffic inside Amazon (between instances, services or regions) is cheaper than the traffic handled outside of Amazon.
Basic Environment - (Website Hosting) $100 to $200 USD Monthly
Intermediate Environment - (High-Performance Website Hosting) $250 to $600 USD Monthly
Advanced Environment - (Highly Scalable and Available) $600 to $2500 USD Monthly
Of course, all these prices can vary depending on the type of the EC2 instance, the type of RDS (if it is multi-region), the traffic/load, the CloudFront caching and the required storage, etc. Do you like this architectures? Start reducing your billing.
Extra Tips for AWS Savings
- Use Spot Instances
- Use Reserved Instances
- Usefully managed services
- Use Dedicated instances for the required type of work
- Monitor Amazon CloudWatch cost
- Always consider the bandwidth
As you can see, determining a cost for any application can be a challenge if you ignore the cloud computing services. Every cost varies according to the type of app in the Cloud and the type of work that it manages. Here in ClickIT, we can help you optimize the AWS pricing and reduce your AWS billing, to prevent billing surprises.
Published at DZone with permission of Alfonso Valdes. See the original article here.
Opinions expressed by DZone contributors are their own.