I am facing an issue using AWS.
Firstly I have set up a Free Tier db.t2.micro with just 20GB storage.
I then created an elastic beanstalk EC2 instance and deployed a simple php script which inserts 1000 records into the database described above. It took around 10 seconds for this to complete.
I then wanted to look at reducing the amount of time it takes to complete this process. I increased the capacity of the RDS instance to a dbt2.medium and allocated 300GB SSD storage in order to increase the max iops.
Looking at the metrics when I run the script again I am still only getting a maximum of 100 iops. Its almost like something is throttling it and the time taken to complete the script is about the same.
Both the instances are in the same VPC. What would be causing this? and how would I go about trying to complete this in say 1 second?