Posts Tagged: RDS

Powerful Redmine in AWS

In this post I will show how to install Redmine on AWS using several useful AWS services (EC2, RDS, S3, SES, ElastiCache) and make it auto-scalable.

Historical Note (2014): This walkthrough originally targeted Ubuntu 14.04 LTS (PV), Ruby 2.x, and Redmine 2.5. Inline corrections below fix command typos, YAML indentation, Apache XML tags, and insecure defaults for anyone referencing the architecture today.

Redmine

Continue reading

RDS Instance Sizes, maximum concurrent connections

Historical default max_connections limits across first-generation Amazon RDS MySQL instance classes:

RDS Instance ClassDefault max_connections
db.t1.micro34
db.m1.small125
db.m1.medium296
db.m1.large623
db.m1.xlarge1,263
db.m2.xlarge1,441
db.m2.2xlarge2,900
db.m2.4xlarge5,816

In RDS Parameter Groups, the dynamic formula defaults to {DBInstanceClassMemory/12582880} for MySQL and LEAST({DBInstanceClassMemory/9531392}, 5000) for PostgreSQL. On modern instance families (such as db.t3 and Graviton db.t4g), pooling connections with Amazon RDS Proxy prevents connection exhaustion from serverless or autoscaling workloads.

Amazon Relational Database Service (RDS) database icon

Amazon Web Services: Free Tier

Amazon Web Services cloud platform logo

How do you get started with AWS for free?
Just go to https://aws.amazon.com/free/ and create your account.
A credit card is required, even for a free account.

Historical Context (2013): When this article was written, AWS Free Tier offered t1.micro instances with 613 MB of RAM. Modern AWS Free Tier accounts provide t2.micro / t3.micro instances (1 GB RAM) for 12 months plus selected Always Free allowances (such as DynamoDB and AWS Lambda).

What can you do with the free account?
It’s up to you! If you are building a light-traffic website, the Free Tier can handle it. 🙂

You can have up to two EC2 instances (1 Linux, 1 Windows) with 613 MB of RAM and up to 30 GB of EBS storage. You can use all 30 GB on a Linux instance, which is the best way to spend your “free” resources (Windows is memory-hungry).

You can have up to one RDS instance (PostgreSQL, MySQL, …) with 20 GB of database storage and 20 GB for backups.

You can use Amazon S3 with up to 5 GB of storage and up to 20k PUT and 20k GET requests.

You can have up to one Memcached node with 213 MB of RAM.

And a few other services (ELB, DynamoDB, SNS, CloudWatch, …).

Continue reading