AWS RDS CPU Utilization high - amazon-ec2

I am facing high CPU utilization issue on AWS RDS for MySQL. My development server feature: t2.medium (2CPU, 4GB RAM)
What could be the problem? Are there any ways to fix it? Kindly share your troubleshooting experiences.

Related

Is Heroku with Cloud SQL a good match?

is anyone using Heroku with Cloud SQL (either Postgres or MySQL)? How's the latency?
Cloud SQL and Heroku live in different datacenters. Is network speed an issue?
I've tried this and had terrible results. Latency was too high for my purposes (100ms) and I was unable to get it to a reasonable level. Heroku is on AWS us-east-1 metal (North Virginia), and I was using a Google cloud sql instance in us-central-1b (Iowa), so in my case this definitely contributed to the problem. As a test, I made a replica of my DB in Google's us-east4 region, which is closer to AWS us-east-1, and it seemed to be an improvement, but was still >50ms for me.

Not able to install Hadoop in Google Compute Engine

When I am trying to "Deploy Apache Hadoop" from google compute engine , i am getting a message as "Deployment would exceed CPU quota for us-central1. Limit: 8. Decrease usage, select a zone in another region, or request a quota increase." I tried with all the Zone. Its still not working.
If you are using the GCE Free trial, you are limited to 8 concurrent CPU cores. This is true for all regions and zones so trying in a different zone will not solve this problem.
To run a larger deployment, you need to upgrade to a paid account. Alternatively, you can use Google Cloud Dataproc or bdutil to deploy a Hadoop cluster and choose a few, smaller instance types such that you are not using more than 8 CPU cores.
You can see how many cores are in each machine type to help you decide how to structure your cluster.

AWS speed issue

We are facing speed issue on our CRM based website, hosted on AWS EC2 with m3.medium instance.
On this AMI, we have installed IIS 7.0 and MS SQL server(for local database).
And our region is US-West-2 (Oregon).
The site is functioning properly but speed is slow as compared to other hosting provider(Same site is hosted with BigRock with different domain).
There is noticeable speed difference between both website(BigRock and AWS) with same code but different domain.
Can someone please suggest what should we do to increase the speed of our site?
Since you have hosted your CRM based website in us-west-2, there will be latency issue which is obvious. If you are planning to serve Indian customers I suggest to host it in the ap-southeast-1 region. Also I guess bigrock data-centers are located in India itself. That's the reason latency will be less. Also considering integrating cloud-front or any CDN if you really want to accelerate the website. Since it's a CRM website you have a look at Elastic Memcache also.

Amazon EC2 IO operations

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

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.

Resources